{
  "match_info": {
    "home_team": "Rayo Vallecano",
    "away_team": "Athletic Club",
    "tournament": "LaLiga",
    "date": "20261010",
    "timezone": "America/New_York",
    "home_formation": "4-3-3",
    "away_formation": "4-2-3-1",
    "lineup_status": "unconfirmed_official",
    "lineup_source": "/matches/get-lineups",
    "lineup_confirmed": false,
    "lineup_confidence": 0.75
  },
  "prediction": {
    "most_likely_score": "1-0",
    "home_goals": 1,
    "away_goals": 0,
    "most_likely_score_probability": 0.128,
    "match_resolution": "regulation",
    "predicted_winner": "Rayo Vallecano",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.278,
      "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.128
      },
      {
        "score": "1-1",
        "probability": 0.1302
      },
      {
        "score": "0-0",
        "probability": 0.0975
      },
      {
        "score": "0-1",
        "probability": 0.0953
      },
      {
        "score": "2-1",
        "probability": 0.0864
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.0975,
      "0-1": 0.0953,
      "0-2": 0.0482,
      "0-3": 0.0161,
      "0-4": 0.004,
      "0-5": 0.0008,
      "1-0": 0.128,
      "1-1": 0.1302,
      "1-2": 0.0646,
      "1-3": 0.0215,
      "1-4": 0.0054,
      "1-5": 0.0011,
      "2-0": 0.0864,
      "2-1": 0.0864,
      "2-2": 0.0432,
      "2-3": 0.0144,
      "2-4": 0.0036,
      "2-5": 0.0007,
      "3-0": 0.0386,
      "3-1": 0.0386,
      "3-2": 0.0193,
      "3-3": 0.0064,
      "3-4": 0.0016,
      "4-0": 0.0129,
      "4-1": 0.0129,
      "4-2": 0.0065,
      "4-3": 0.0022,
      "4-4": 0.0005,
      "5-0": 0.0035,
      "5-1": 0.0035,
      "5-2": 0.0017,
      "5-3": 0.0006,
      "6-0": 0.0008,
      "6-1": 0.0008
    },
    "outcome": {
      "home_win": 0.4437,
      "draw": 0.278,
      "away_win": 0.2783
    },
    "markets": {
      "over_2_5_goals": 0.4143,
      "under_2_5_goals": 0.5857,
      "btts_yes": 0.4675,
      "btts_no": 0.5325,
      "home_clean_sheet": 0.3679,
      "away_clean_sheet": 0.2621
    },
    "home_ratings": {
      "DR": 6.74,
      "MCR": 6.89,
      "ATR": 6.93,
      "GK": 7.0
    },
    "away_ratings": {
      "DR": 6.86,
      "MCR": 6.91,
      "ATR": 6.5,
      "GK": 7.01
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Rayo Vallecano vs Athletic Club. Most likely scoreline: 1-0. Lambdas derived from 6 home and 5 away individual player duels.",
      "key_player": "Projected scorer(s): Sergio Camello",
      "tactical_analysis": "Tactical parity between 4-3-3 and 4-2-3-1. Match outcome driven primarily by individual player quality. Midfield is evenly contested — Isi Palazón vs Peio Canales will be the pivotal duel. Total antagonist xG — Home: 0.89, Away: 0.60. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Attacking Mid vs Single Holding Mid — Space Creator Duel."
    },
    "confidence": 0.71,
    "home_lambda": 1.339,
    "away_lambda": 1.0,
    "modal_scoreline": "1-1",
    "modal_scoreline_probability": 0.1302,
    "headline_policy": "decisive_score_substitution"
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.4437,
      "draw": 0.278,
      "away_win": 0.2783
    },
    "favorite": "Rayo Vallecano",
    "favorite_win_probability": 0.4437,
    "fair_spread": 0.339,
    "fair_total": 2.339,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Rayo Vallecano",
        "estimate": 1.339,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Athletic Club",
        "estimate": 1.0,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.4143,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.4675,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Rayo Vallecano",
        "estimate": 1.0,
        "probability": 0.3679,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Athletic Club",
        "estimate": 1.0,
        "probability": 0.2621,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Sergio Camello (Rayo Vallecano)",
        "estimate": 0.3505,
        "probability": 0.2957,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Iñaki Williams (Athletic Club)",
        "estimate": 0.3038,
        "probability": 0.262,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Adrià Pedrosa (Rayo Vallecano)",
        "estimate": 0.1697,
        "probability": 0.1561,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Iñigo Ruiz de Galarreta (Athletic Club)",
        "estimate": 0.1341,
        "probability": 0.1255,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "high",
      "expected_total_goals": 2.339,
      "expected_total_shots": 30,
      "expected_total_passes": 849,
      "expected_pressing_actions_per_90": 13.0,
      "possession_home_pct": 48.9,
      "possession_away_pct": 51.1,
      "notes": "possession projects near even"
    },
    "expected_game_script": {
      "favorite": "Rayo Vallecano",
      "favorite_win_probability": 0.4437,
      "script": "Rayo Vallecano is the fair winner side, but the baseline remains narrow: fair spread +0.34 goals and fair total 2.34.",
      "first_half": "Expect high tempo while both sides test the matchup thesis; shot baseline is about 15 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Athletic Club must keep the match inside one goal.",
      "late_game": "A Rayo Vallecano lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Rayo Vallecano chance creation leans on Sergio Camello against Aymeric Laporte, Yeray Álvarez in Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle; possession projects near even.",
    "expected_rotation_usage_behavior": [
      "Rayo Vallecano: starters carry the main goal usage through Sergio Camello; bench watchlist: Alemão, Pedro Díaz, Giorgi Tsitaishvili.",
      "Athletic Club: starters carry the main goal usage through the highest xG attackers; bench watchlist: Nico Williams, Mikel Jauregizar, Gorka Guruzeta.",
      "Assist usage should flow through Adrià Pedrosa; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Rayo Vallecano tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects high tempo, about 15 total first-half shots, and 1.17 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 Athletic Club 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 Rayo Vallecano.",
      "Athletic Club 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": {
    "Rayo Vallecano": {
      "formation": "4-3-3",
      "players": {
        "Emil Audero": {
          "player_id": 318603,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 25,
          "height": 190,
          "market_value": 2700000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.0895,
            "rating": 6.9985,
            "minutes": 90,
            "total_pass": 33,
            "accurate_pass": 21,
            "total_long_balls": 15,
            "accurate_long_balls": 4,
            "touches": 44,
            "clearances": 2,
            "ball_recovery": 8,
            "high_claims": 2,
            "punches": 0.9873,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 2,
            "possession_lost": 11.862,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 22,
            "accurate_own_half_passes": 19,
            "gk_engine_opponent_lambda": 1.0311,
            "shots_faced": 9.5,
            "expected_saves": 2.32,
            "high_pressure_saves": 0.8,
            "opponent_faced": "Iñaki Williams, Robert Navarro",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "formation_fallback",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 16,
                "key_pass": 1,
                "clearances": 2,
                "ball_recovery": 6,
                "saves": 2,
                "goals_prevented": -0.2107
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 28,
                "clearances": 1,
                "ball_recovery": 11,
                "saves": 3,
                "goals_prevented": 0.1487
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 20,
                "clearances": 2,
                "ball_recovery": 8,
                "saves": 7,
                "goals_prevented": -1.0454
              },
              "has_player_stats": true,
              "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": 1308,
            "combined_rank_score": 567.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 925.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9985,
            "source_file": "data/player_rankings.csv",
            "player_name": "Emil Audero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Matt Sutton",
                  "ranking": 1303
                },
                {
                  "player_name": "Pierre Kalulu",
                  "ranking": 1304
                },
                {
                  "player_name": "Mario Gila",
                  "ranking": 1305
                },
                {
                  "player_name": "Son Heung Min",
                  "ranking": 1306
                },
                {
                  "player_name": "Bazoumana Touré",
                  "ranking": 1307
                }
              ],
              "lower": [
                {
                  "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
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "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": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9873,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (G_service) evaluated 3 historical appearances across 3 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.9962,
                "goals_prevented": -0.0907,
                "rating": 6.9985,
                "minutes": 90.0,
                "total_pass": 33.103,
                "accurate_pass": 21.0884,
                "total_long_balls": 15.0641,
                "accurate_long_balls": 4.0496,
                "touches": 45.0019,
                "clearances": 1.6696,
                "ball_recovery": 8.2138,
                "high_claims": 1.9189,
                "punches": 1.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.4595,
                "sweeper_accurate": 0.4595,
                "saves_inside_box": 2.4043,
                "possession_lost": 12.0146,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.5248,
                "accurate_own_half_passes": 18.9806
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-09T10:02:40.828652+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 199,
                    "rows": 6796
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 0.3304,
                  "distribution_accuracy": 0.8638,
                  "sweeper_accuracy": 0.3304,
                  "goalkeeperValueNormalized": 0.1452,
                  "save_contribution": 3.4083,
                  "accurateKeeperSweeper": 0.4595
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.9961726665496826,
                    "model_output": 2.9962,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0415
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0394
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0368
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0362
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0362
                      }
                    ],
                    "decomposition": {
                      "base": 2.9286,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0349
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0279
                        },
                        {
                          "name": "saves",
                          "contribution": 0.0244
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0132
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0124
                        }
                      ],
                      "others": -0.0204,
                      "total": 2.9962,
                      "log_link": true,
                      "margin_base": 1.074537,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.011845
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.009376
                        },
                        {
                          "name": "saves",
                          "margin": 0.008116
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.004364
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.004113
                        }
                      ],
                      "others_margin": -0.006791
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.09065808355808258,
                    "model_output": -0.0907,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "punches",
                        "importance": 0.041
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0398
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0385
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0356
                      }
                    ],
                    "decomposition": {
                      "base": -0.0166,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0338
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0314
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0227
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0155
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.0147
                        }
                      ],
                      "others": -0.0014,
                      "total": -0.0907,
                      "log_link": false,
                      "margin_base": -0.016613,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.03382
                        },
                        {
                          "name": "commanding_index",
                          "margin": -0.031379
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.022728
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.01546
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": -0.014716
                        }
                      ],
                      "others_margin": -0.001398
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.998539924621582,
                    "model_output": 6.9985,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0429
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0371
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.036
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0359
                      }
                    ],
                    "decomposition": {
                      "base": 7.0091,
                      "items": [
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": 0.0328
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0213
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.02
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.02
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0166
                        }
                      ],
                      "others": -0.0055,
                      "total": 6.9985,
                      "log_link": false,
                      "margin_base": 7.009122,
                      "item_margins": [
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": 0.032768
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.021305
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.019967
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.019966
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.016642
                        }
                      ],
                      "others_margin": -0.005403
                    }
                  }
                ],
                "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.9873, quality 0.437)",
              "stats": {
                "saves": 2.9581,
                "goals_prevented": -0.0895,
                "rating": 6.9985,
                "minutes": 90.0,
                "total_pass": 32.6826,
                "accurate_pass": 20.8206,
                "total_long_balls": 14.8728,
                "accurate_long_balls": 3.9982,
                "touches": 44.4304,
                "clearances": 1.6484,
                "ball_recovery": 8.1095,
                "high_claims": 1.8945,
                "punches": 0.9873,
                "aerial_won": 0.0,
                "sweeper_actions": 0.4537,
                "sweeper_accurate": 0.4537,
                "saves_inside_box": 2.3738,
                "possession_lost": 11.862,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.2387,
                "accurate_own_half_passes": 18.7395
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9873,
                "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": {
                "saves": 2.9581,
                "goals_prevented": -0.0895,
                "rating": 6.9985,
                "minutes": 90.0,
                "total_pass": 32.6826,
                "accurate_pass": 20.8206,
                "total_long_balls": 14.8728,
                "accurate_long_balls": 3.9982,
                "touches": 44.4304,
                "clearances": 1.6484,
                "ball_recovery": 8.1095,
                "high_claims": 1.8945,
                "punches": 0.9873,
                "aerial_won": 0.0,
                "sweeper_actions": 0.4537,
                "sweeper_accurate": 0.4537,
                "saves_inside_box": 2.3738,
                "possession_lost": 11.862,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.2387,
                "accurate_own_half_passes": 18.7395
              },
              "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.9581,
                "goals_prevented": -0.0895,
                "rating": 6.9985,
                "minutes": 90.0,
                "total_pass": 32.6826,
                "accurate_pass": 20.8206,
                "total_long_balls": 14.8728,
                "accurate_long_balls": 3.9982,
                "touches": 44.4304,
                "clearances": 1.6484,
                "ball_recovery": 8.1095,
                "high_claims": 1.8945,
                "punches": 0.9873,
                "aerial_won": 0.0,
                "sweeper_actions": 0.4537,
                "sweeper_accurate": 0.4537,
                "saves_inside_box": 2.3738,
                "possession_lost": 11.862,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.2387,
                "accurate_own_half_passes": 18.7395,
                "gk_engine_opponent_lambda": 1.0311,
                "shots_faced": 9.8,
                "expected_saves": 2.4,
                "high_pressure_saves": 0.82,
                "opponent_faced": "Iñaki Williams, Robert Navarro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iñaki Williams, Robert Navarro",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.0311
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "saves": 2.9581,
                "goals_prevented": -0.0895,
                "rating": 6.9985,
                "minutes": 90.0,
                "total_pass": 32.6826,
                "accurate_pass": 20.8206,
                "total_long_balls": 14.8728,
                "accurate_long_balls": 3.9982,
                "touches": 44.4304,
                "clearances": 1.6484,
                "ball_recovery": 8.1095,
                "high_claims": 1.8945,
                "punches": 0.9873,
                "aerial_won": 0.0,
                "sweeper_actions": 0.4537,
                "sweeper_accurate": 0.4537,
                "saves_inside_box": 2.3738,
                "possession_lost": 11.862,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.2387,
                "accurate_own_half_passes": 18.7395,
                "gk_engine_opponent_lambda": 1.0311,
                "shots_faced": 9.5,
                "expected_saves": 2.32,
                "high_pressure_saves": 0.8,
                "opponent_faced": "Iñaki Williams, Robert Navarro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 9.8,
                  "after": 9.5
                },
                {
                  "stat": "expected_saves",
                  "before": 2.4,
                  "after": 2.32
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 0.82,
                  "after": 0.8
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "saves": 2.9581,
                "goals_prevented": -0.0895,
                "rating": 6.9985,
                "minutes": 90.0,
                "total_pass": 32.6826,
                "accurate_pass": 20.8206,
                "total_long_balls": 14.8728,
                "accurate_long_balls": 3.9982,
                "touches": 44.4304,
                "clearances": 1.6484,
                "ball_recovery": 8.1095,
                "high_claims": 1.8945,
                "punches": 0.9873,
                "aerial_won": 0.0,
                "sweeper_actions": 0.4537,
                "sweeper_accurate": 0.4537,
                "saves_inside_box": 2.3738,
                "possession_lost": 11.862,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.2387,
                "accurate_own_half_passes": 18.7395,
                "gk_engine_opponent_lambda": 1.0311,
                "shots_faced": 9.5,
                "expected_saves": 2.32,
                "high_pressure_saves": 0.8,
                "opponent_faced": "Iñaki Williams, Robert Navarro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1308,
                "fifa_rank": 925.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 2.9581,
                "goals_prevented": -0.0895,
                "rating": 6.9985,
                "minutes": 90.0,
                "total_pass": 32.6826,
                "accurate_pass": 20.8206,
                "total_long_balls": 14.8728,
                "accurate_long_balls": 3.9982,
                "touches": 44.4304,
                "clearances": 1.6484,
                "ball_recovery": 8.1095,
                "high_claims": 1.8945,
                "punches": 0.9873,
                "aerial_won": 0.0,
                "sweeper_actions": 0.4537,
                "sweeper_accurate": 0.4537,
                "saves_inside_box": 2.3738,
                "possession_lost": 11.862,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.2387,
                "accurate_own_half_passes": 18.7395,
                "gk_engine_opponent_lambda": 1.0311,
                "shots_faced": 9.5,
                "expected_saves": 2.32,
                "high_pressure_saves": 0.8,
                "opponent_faced": "Iñaki Williams, Robert Navarro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.4853,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "saves": 2.9581,
                "goals_prevented": -0.0895,
                "rating": 6.9985,
                "minutes": 90.0,
                "total_pass": 32.6826,
                "accurate_pass": 20.8206,
                "total_long_balls": 14.8728,
                "accurate_long_balls": 3.9982,
                "touches": 44.4304,
                "clearances": 1.6484,
                "ball_recovery": 8.1095,
                "high_claims": 1.8945,
                "punches": 0.9873,
                "aerial_won": 0.0,
                "sweeper_actions": 0.4537,
                "sweeper_accurate": 0.4537,
                "saves_inside_box": 2.3738,
                "possession_lost": 11.862,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.2387,
                "accurate_own_half_passes": 18.7395,
                "gk_engine_opponent_lambda": 1.0311,
                "shots_faced": 9.5,
                "expected_saves": 2.32,
                "high_pressure_saves": 0.8,
                "opponent_faced": "Iñaki Williams, Robert Navarro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 0.9695,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Andrei Rațiu": {
          "player_id": 965031,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 2,
          "height": 183,
          "market_value": 22000000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.7756,
            "minutes": 90,
            "total_pass": 38,
            "accurate_pass": 30,
            "duels_won": 6,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 16,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 17,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 71,
            "possession_lost": 17.8557,
            "dispossessed": 1.4668,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 3,
            "won_contest": 2,
            "ball_recovery": 5,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0928,
            "goals": 0,
            "assist_rate": 0.0784,
            "assists": 0,
            "expected_goals": 0.0787,
            "expected_assists": 0.0909,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.04,
            "ball_carries": 18,
            "total_progression": 109,
            "progressive_carries": 4,
            "key_pass": 1,
            "shots_off_target": 1,
            "tackles_in_zone": 2.1,
            "tackles_won_in_zone": 1.8,
            "interceptions_in_zone": 1.0,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.677,
            "opponent_faced": "Álex Berenguer",
            "pressing_zone": "Right Wing vs Left Back — Flank Battle",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0757,
            "projected_assists": 0,
            "assist_probability": 0.0869,
            "finishing_factor": 1.1753,
            "creation_factor": 0.9683,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0633,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 30,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0887,
                "expected_assists": 0.0354,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 28,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0389,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 36,
                "key_pass": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3136,
                "expected_assists": 0.0893,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 39,
                "accurate_pass": 28,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1167,
                "expected_assists": 0.0197,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 25,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0585,
                "expected_assists": 0.0021,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 26,
                "accurate_pass": 16,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 3,
                "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": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 8,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 2,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0187,
                "expected_assists": 0.0432,
                "total_shots": 1,
                "total_pass": 44,
                "accurate_pass": 36,
                "key_pass": 2,
                "tackles": 4,
                "tackles_won": 4,
                "clearances": 3,
                "duels_won": 7,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Valencia",
              "stats": {
                "minutes": 17,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0052,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 12,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083598,
              "match_date": "2026-05-11",
              "home_team": "Rayo Vallecano",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0467,
                "expected_assists": 0.0801,
                "total_shots": 1,
                "total_pass": 44,
                "accurate_pass": 37,
                "tackles": 4,
                "tackles_won": 4,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1414,
            "combined_rank_score": 585.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 410.0,
            "sofascore_rating": 6.9314,
            "sofascore_appearances": 35.0,
            "fifa_rank": 761.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7756,
            "source_file": "data/player_rankings.csv",
            "player_name": "Andrei Rațiu",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Aïssa Mandi",
                  "ranking": 1409
                },
                {
                  "player_name": "Anderson Talisca",
                  "ranking": 1410
                },
                {
                  "player_name": "Berat Djimsiti",
                  "ranking": 1411
                },
                {
                  "player_name": "Samuel Souprayen",
                  "ranking": 1412
                },
                {
                  "player_name": "Zeki Çelik",
                  "ranking": 1413
                }
              ],
              "lower": [
                {
                  "player_name": "Matteo Politano",
                  "ranking": 1415
                },
                {
                  "player_name": "Seong-jun Min",
                  "ranking": 1416
                },
                {
                  "player_name": "Martin Baturina",
                  "ranking": 1417
                },
                {
                  "player_name": "Emiliano Buendía",
                  "ranking": 1418
                },
                {
                  "player_name": "Santi Cazorla",
                  "ranking": 1419
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.77,
          "history_matches": 41,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 41,
            "data_confidence": 0.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0047,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 180.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.0,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (D_service) evaluated 41 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Rayo Vallecano, rel: 0.13, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.9215,
                "tackles": 1.9996,
                "tackles_won": 1.3395,
                "clearances": 2.4104,
                "aerial_won": 0.7554,
                "total_shots": 0.8475,
                "rating": 6.7756,
                "minutes": 89.66,
                "total_pass": 37.8742,
                "accurate_pass": 29.9707,
                "duels_won": 5.8963,
                "total_long_balls": 3.3627,
                "accurate_long_balls": 1.3789,
                "total_own_half_passes": 15.9102,
                "accurate_own_half_passes": 13.2795,
                "total_opp_half_passes": 21.9639,
                "accurate_opp_half_passes": 16.6911,
                "crosses_total": 3.1557,
                "crosses_accurate": 0.444,
                "touches": 70.5078,
                "possession_lost": 17.7722,
                "dispossessed": 1.4599,
                "duels_lost": 5.2312,
                "aerial_lost": 0.9616,
                "total_contest": 3.3884,
                "won_contest": 1.7573,
                "ball_recovery": 4.9329,
                "challenges_lost": 0.5685,
                "fouls": 0.6517,
                "fouls_drawn": 1.3794,
                "blocks": 0.2712,
                "goals": 0.0933,
                "goal_rate": 0.0933,
                "assists": 0.0787,
                "assist_rate": 0.0787,
                "expected_goals": 0.0712,
                "expected_assists": 0.0822,
                "shots_on_target": 0.2641,
                "big_chances_created": 0.1977,
                "xgot": 0.0361,
                "ball_carries": 18.2101,
                "total_progression": 108.2551,
                "progressive_carries": 3.8859,
                "key_pass": 1.0425,
                "shots_off_target": 0.5834
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:03:23.701438+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.0566,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Valencia",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-11",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.9362,
                  "aerialWon": 0.6756,
                  "totalClearance_p90": 2.7286,
                  "totalTackle": 1.6832,
                  "totalPass": 33.5752
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9214932322502136,
                    "model_output": 0.9215,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1174
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0308
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0293
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0221
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0207
                        }
                      ],
                      "others": 0.0083,
                      "total": 0.9215,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.128395
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.032087
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.031505
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.024497
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.022943
                        }
                      ],
                      "others_margin": 0.00899
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.999558925628662,
                    "model_output": 1.9996,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1921
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0503
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0486
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0482
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0472
                        }
                      ],
                      "others": 0.2193,
                      "total": 1.9996,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.129102
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.031241
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.029251
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.028219
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.026898
                        }
                      ],
                      "others_margin": 0.116126
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.3395150899887085,
                    "model_output": 1.3395,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1133
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0574
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0511
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0375
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0325
                        }
                      ],
                      "others": 0.1933,
                      "total": 1.3395,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.124541
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.057603
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.048653
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.034288
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.028799
                        }
                      ],
                      "others_margin": 0.155836
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.410383939743042,
                    "model_output": 2.4104,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.4623
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4074
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2645
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2174
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.1047
                        }
                      ],
                      "others": -0.3995,
                      "total": 2.4104,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.143811
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.127776
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.081084
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.07194
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.036574
                        }
                      ],
                      "others_margin": -0.153364
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7554108500480652,
                    "model_output": 0.7554,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.3341
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.136
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.1
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0753
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0537
                        }
                      ],
                      "others": -0.1995,
                      "total": 0.7554,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.276742
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.122048
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.088234
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.072025
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.054684
                        }
                      ],
                      "others_margin": -0.234409
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8475365042686462,
                    "model_output": 0.8475,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1462
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.066
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0391
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0341
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.03
                        }
                      ],
                      "others": 0.061,
                      "total": 0.8475,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.146229
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.066012
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.039102
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.034107
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.030014
                        }
                      ],
                      "others_margin": 0.060942
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.775623798370361,
                    "model_output": 6.7756,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0347
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0196
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0151
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0125
                        },
                        {
                          "name": "rating",
                          "contribution": 0.011
                        }
                      ],
                      "others": -0.033,
                      "total": 6.7756,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.03472
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.019608
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.015072
                        },
                        {
                          "name": "touches",
                          "margin": 0.012474
                        },
                        {
                          "name": "rating",
                          "margin": 0.011047
                        }
                      ],
                      "others_margin": -0.033072
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 41,
                  "role_matches": 37,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0047, quality 0.650)",
              "stats": {
                "interceptions": 0.9258,
                "tackles": 2.009,
                "tackles_won": 1.3458,
                "clearances": 2.4217,
                "aerial_won": 0.759,
                "total_shots": 0.8515,
                "rating": 6.7756,
                "minutes": 89.66,
                "total_pass": 38.0522,
                "accurate_pass": 30.1116,
                "duels_won": 5.924,
                "total_long_balls": 3.3785,
                "accurate_long_balls": 1.3854,
                "total_own_half_passes": 15.985,
                "accurate_own_half_passes": 13.3419,
                "total_opp_half_passes": 22.0671,
                "accurate_opp_half_passes": 16.7695,
                "crosses_total": 3.1705,
                "crosses_accurate": 0.4461,
                "touches": 70.8392,
                "possession_lost": 17.8557,
                "dispossessed": 1.4668,
                "duels_lost": 5.2558,
                "aerial_lost": 0.9661,
                "total_contest": 3.4043,
                "won_contest": 1.7656,
                "ball_recovery": 4.9561,
                "challenges_lost": 0.5712,
                "fouls": 0.6548,
                "fouls_drawn": 1.3859,
                "blocks": 0.2725,
                "goals": 0.0937,
                "goal_rate": 0.0937,
                "assists": 0.0791,
                "assist_rate": 0.0791,
                "expected_goals": 0.0715,
                "expected_assists": 0.0826,
                "shots_on_target": 0.2653,
                "big_chances_created": 0.1986,
                "xgot": 0.0363,
                "ball_carries": 18.2957,
                "total_progression": 108.7639,
                "progressive_carries": 3.9042,
                "key_pass": 1.0474,
                "shots_off_target": 0.5861
              },
              "params": {
                "market_value_eur": 22000000,
                "quality_factor": 0.6503,
                "boost_factor": 1.0047,
                "reference_quality": 0.505,
                "history_matches": 41,
                "history_shrink": 0.1087,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0094)",
              "stats": {
                "interceptions": 0.9218,
                "tackles": 2.009,
                "tackles_won": 1.3425,
                "clearances": 2.4217,
                "aerial_won": 0.759,
                "total_shots": 0.8529,
                "rating": 6.7756,
                "minutes": 89.66,
                "total_pass": 38.0522,
                "accurate_pass": 30.1116,
                "duels_won": 5.924,
                "total_long_balls": 3.3785,
                "accurate_long_balls": 1.3854,
                "total_own_half_passes": 15.985,
                "accurate_own_half_passes": 13.3419,
                "total_opp_half_passes": 22.0671,
                "accurate_opp_half_passes": 16.7695,
                "crosses_total": 3.1735,
                "crosses_accurate": 0.4461,
                "touches": 70.8392,
                "possession_lost": 17.8557,
                "dispossessed": 1.4668,
                "duels_lost": 5.2558,
                "aerial_lost": 0.9661,
                "total_contest": 3.4043,
                "won_contest": 1.7656,
                "ball_recovery": 4.9561,
                "challenges_lost": 0.5712,
                "fouls": 0.6486,
                "fouls_drawn": 1.3822,
                "blocks": 0.2725,
                "goals": 0.0928,
                "goal_rate": 0.0928,
                "assists": 0.0784,
                "assist_rate": 0.0784,
                "expected_goals": 0.0715,
                "expected_assists": 0.0826,
                "shots_on_target": 0.2628,
                "big_chances_created": 0.1986,
                "xgot": 0.0363,
                "ball_carries": 18.2957,
                "total_progression": 108.7639,
                "progressive_carries": 3.9042,
                "key_pass": 1.0474,
                "shots_off_target": 0.5861
              },
              "params": {
                "blend_weight": 0.0094,
                "history_matches": 41,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9962,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.6548,
                  "after": 0.6486
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9218,
                "tackles": 2.009,
                "tackles_won": 1.3425,
                "clearances": 2.4217,
                "aerial_won": 0.759,
                "total_shots": 0.8529,
                "rating": 6.7756,
                "minutes": 89.66,
                "total_pass": 38.0522,
                "accurate_pass": 30.1116,
                "duels_won": 5.924,
                "total_long_balls": 3.3785,
                "accurate_long_balls": 1.3854,
                "total_own_half_passes": 15.985,
                "accurate_own_half_passes": 13.3419,
                "total_opp_half_passes": 22.0671,
                "accurate_opp_half_passes": 16.7695,
                "crosses_total": 3.1735,
                "crosses_accurate": 0.4461,
                "touches": 70.8392,
                "possession_lost": 17.8557,
                "dispossessed": 1.4668,
                "duels_lost": 5.2558,
                "aerial_lost": 0.9661,
                "total_contest": 3.4043,
                "won_contest": 1.7656,
                "ball_recovery": 4.9561,
                "challenges_lost": 0.5712,
                "fouls": 0.6486,
                "fouls_drawn": 1.3822,
                "blocks": 0.2725,
                "goals": 0.0928,
                "goal_rate": 0.0928,
                "assists": 0.0784,
                "assist_rate": 0.0784,
                "expected_goals": 0.0715,
                "expected_assists": 0.0826,
                "shots_on_target": 0.2628,
                "big_chances_created": 0.1986,
                "xgot": 0.0363,
                "ball_carries": 18.2957,
                "total_progression": 108.7639,
                "progressive_carries": 3.9042,
                "key_pass": 1.0474,
                "shots_off_target": 0.5861
              },
              "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.9218,
                "tackles": 2.009,
                "tackles_won": 1.3425,
                "clearances": 2.4217,
                "aerial_won": 0.759,
                "total_shots": 0.8529,
                "rating": 6.7756,
                "minutes": 89.66,
                "total_pass": 38.0522,
                "accurate_pass": 30.1116,
                "duels_won": 5.924,
                "total_long_balls": 3.3785,
                "accurate_long_balls": 1.3854,
                "total_own_half_passes": 15.985,
                "accurate_own_half_passes": 13.3419,
                "total_opp_half_passes": 22.0671,
                "accurate_opp_half_passes": 16.7695,
                "crosses_total": 3.1735,
                "crosses_accurate": 0.4461,
                "touches": 70.8392,
                "possession_lost": 17.8557,
                "dispossessed": 1.4668,
                "duels_lost": 5.2558,
                "aerial_lost": 0.9661,
                "total_contest": 3.4043,
                "won_contest": 1.7656,
                "ball_recovery": 4.9561,
                "challenges_lost": 0.5712,
                "fouls": 0.6486,
                "fouls_drawn": 1.3822,
                "blocks": 0.2725,
                "goals": 0.0928,
                "goal_rate": 0.0928,
                "assists": 0.0784,
                "assist_rate": 0.0784,
                "expected_goals": 0.0715,
                "expected_assists": 0.0826,
                "shots_on_target": 0.2628,
                "big_chances_created": 0.1986,
                "xgot": 0.0363,
                "ball_carries": 18.2957,
                "total_progression": 108.7639,
                "progressive_carries": 3.9042,
                "key_pass": 1.0474,
                "shots_off_target": 0.5861,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.677,
                "opponent_faced": "Álex Berenguer",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Álex Berenguer",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "interceptions": 0.9218,
                "tackles": 2.009,
                "tackles_won": 1.3425,
                "clearances": 2.4217,
                "aerial_won": 0.759,
                "total_shots": 0.8529,
                "rating": 6.7756,
                "minutes": 89.66,
                "total_pass": 38.0522,
                "accurate_pass": 30.1116,
                "duels_won": 5.924,
                "total_long_balls": 3.3785,
                "accurate_long_balls": 1.3854,
                "total_own_half_passes": 15.985,
                "accurate_own_half_passes": 13.3419,
                "total_opp_half_passes": 22.0671,
                "accurate_opp_half_passes": 16.7695,
                "crosses_total": 3.1735,
                "crosses_accurate": 0.4461,
                "touches": 70.8392,
                "possession_lost": 17.8557,
                "dispossessed": 1.4668,
                "duels_lost": 5.2558,
                "aerial_lost": 0.9661,
                "total_contest": 3.4043,
                "won_contest": 1.7656,
                "ball_recovery": 4.9561,
                "challenges_lost": 0.5712,
                "fouls": 0.6486,
                "fouls_drawn": 1.3822,
                "blocks": 0.2725,
                "goal_rate": 0.0928,
                "goals": 0,
                "assist_rate": 0.0784,
                "assists": 0,
                "expected_goals": 0.0787,
                "expected_assists": 0.0909,
                "shots_on_target": 0.2628,
                "big_chances_created": 0.1986,
                "xgot": 0.04,
                "ball_carries": 18.2957,
                "total_progression": 108.7639,
                "progressive_carries": 3.9042,
                "key_pass": 1.0474,
                "shots_off_target": 0.5861,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.677,
                "opponent_faced": "Álex Berenguer",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1753,
                "creation_factor": 0.9683
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0715,
                  "after": 0.0787
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0826,
                  "after": 0.0909
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 9 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "interceptions": 0.9218,
                "tackles": 2.009,
                "tackles_won": 1.3425,
                "clearances": 2.4217,
                "aerial_won": 0.759,
                "total_shots": 0.8529,
                "rating": 6.7756,
                "minutes": 89.66,
                "total_pass": 38.0522,
                "accurate_pass": 30.1116,
                "duels_won": 5.924,
                "total_long_balls": 3.3785,
                "accurate_long_balls": 1.3854,
                "total_own_half_passes": 15.985,
                "accurate_own_half_passes": 13.3419,
                "total_opp_half_passes": 22.0671,
                "accurate_opp_half_passes": 16.7695,
                "crosses_total": 3.1735,
                "crosses_accurate": 0.4461,
                "touches": 70.8392,
                "possession_lost": 17.8557,
                "dispossessed": 1.4668,
                "duels_lost": 5.2558,
                "aerial_lost": 0.9661,
                "total_contest": 3.4043,
                "won_contest": 1.7656,
                "ball_recovery": 4.9561,
                "challenges_lost": 0.5712,
                "fouls": 0.6486,
                "fouls_drawn": 1.3822,
                "blocks": 0.2725,
                "goal_rate": 0.0928,
                "goals": 0,
                "assist_rate": 0.0784,
                "assists": 0,
                "expected_goals": 0.0787,
                "expected_assists": 0.0909,
                "shots_on_target": 0.2628,
                "big_chances_created": 0.1986,
                "xgot": 0.04,
                "ball_carries": 18.2957,
                "total_progression": 108.7639,
                "progressive_carries": 3.9042,
                "key_pass": 1.0474,
                "shots_off_target": 0.5861,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.677,
                "opponent_faced": "Álex Berenguer",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1753,
                "creation_factor": 0.9683,
                "fifa_overall": 80.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": 1414,
                "fifa_rank": 761.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.9218,
                "tackles": 2.009,
                "tackles_won": 1.3425,
                "clearances": 2.4217,
                "aerial_won": 0.759,
                "total_shots": 0.8529,
                "rating": 6.7756,
                "minutes": 89.66,
                "total_pass": 38.0522,
                "accurate_pass": 30.1116,
                "duels_won": 5.924,
                "total_long_balls": 3.3785,
                "accurate_long_balls": 1.3854,
                "total_own_half_passes": 15.985,
                "accurate_own_half_passes": 13.3419,
                "total_opp_half_passes": 22.0671,
                "accurate_opp_half_passes": 16.7695,
                "crosses_total": 3.1735,
                "crosses_accurate": 0.4461,
                "touches": 70.8392,
                "possession_lost": 17.8557,
                "dispossessed": 1.4668,
                "duels_lost": 5.2558,
                "aerial_lost": 0.9661,
                "total_contest": 3.4043,
                "won_contest": 1.7656,
                "ball_recovery": 4.9561,
                "challenges_lost": 0.5712,
                "fouls": 0.6486,
                "fouls_drawn": 1.3822,
                "blocks": 0.2725,
                "goal_rate": 0.0928,
                "goals": 0,
                "assist_rate": 0.0784,
                "assists": 0,
                "expected_goals": 0.0787,
                "expected_assists": 0.0909,
                "shots_on_target": 0.2628,
                "big_chances_created": 0.1986,
                "xgot": 0.04,
                "ball_carries": 18.2957,
                "total_progression": 108.7639,
                "progressive_carries": 3.9042,
                "key_pass": 1.0474,
                "shots_off_target": 0.5861,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.677,
                "opponent_faced": "Álex Berenguer",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0757,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1753,
                "creation_factor": 0.9683,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0757,
                "scorer_weight": 0.0925,
                "squad_weight_total": 1.4853,
                "weight_share": 0.0623,
                "finishing_factor": 1.1753,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "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.9218,
                "tackles": 2.009,
                "tackles_won": 1.3425,
                "clearances": 2.4217,
                "aerial_won": 0.759,
                "total_shots": 0.8529,
                "rating": 6.7756,
                "minutes": 89.66,
                "total_pass": 38.0522,
                "accurate_pass": 30.1116,
                "duels_won": 5.924,
                "total_long_balls": 3.3785,
                "accurate_long_balls": 1.3854,
                "total_own_half_passes": 15.985,
                "accurate_own_half_passes": 13.3419,
                "total_opp_half_passes": 22.0671,
                "accurate_opp_half_passes": 16.7695,
                "crosses_total": 3.1735,
                "crosses_accurate": 0.4461,
                "touches": 70.8392,
                "possession_lost": 17.8557,
                "dispossessed": 1.4668,
                "duels_lost": 5.2558,
                "aerial_lost": 0.9661,
                "total_contest": 3.4043,
                "won_contest": 1.7656,
                "ball_recovery": 4.9561,
                "challenges_lost": 0.5712,
                "fouls": 0.6486,
                "fouls_drawn": 1.3822,
                "blocks": 0.2725,
                "goal_rate": 0.0928,
                "goals": 0,
                "assist_rate": 0.0784,
                "assists": 0,
                "expected_goals": 0.0787,
                "expected_assists": 0.0909,
                "shots_on_target": 0.2628,
                "big_chances_created": 0.1986,
                "xgot": 0.04,
                "ball_carries": 18.2957,
                "total_progression": 108.7639,
                "progressive_carries": 3.9042,
                "key_pass": 1.0474,
                "shots_off_target": 0.5861,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.8,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.677,
                "opponent_faced": "Álex Berenguer",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0757,
                "projected_assists": 0,
                "assist_probability": 0.0869,
                "finishing_factor": 1.1753,
                "creation_factor": 0.9683,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0869,
                "provider_weight": 0.088,
                "squad_weight_total": 0.9695,
                "weight_share": 0.0908,
                "creation_factor": 0.9683,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Álvaro García": {
          "player_id": 345111,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 18,
          "height": 168,
          "market_value": 1500000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1267,
            "assist_rate": 0.145,
            "assists": 0,
            "expected_goals": 0.2094,
            "goal_rate": 0.2201,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 6.8438,
            "minutes": 81,
            "total_pass": 17,
            "accurate_pass": 12,
            "duels_won": 2,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 7,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 31,
            "possession_lost": 10.3277,
            "dispossessed": 0.3134,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "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.2364,
            "ball_carries": 7,
            "total_progression": 19,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9647,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.426,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Iñigo Ruiz de Galarreta",
            "opponent_faced": "Iñigo Ruiz de Galarreta",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1889,
            "projected_assists": 0,
            "assist_probability": 0.119,
            "finishing_factor": 1.1245,
            "creation_factor": 1.1811,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 87,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.139,
                "expected_assists": 0.0109,
                "total_shots": 5,
                "shots_off_target": 3,
                "total_pass": 18,
                "accurate_pass": 11,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 84,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.6265,
                "expected_assists": 0.0538,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0134,
                "expected_assists": 0.0707,
                "total_shots": 1,
                "total_pass": 21,
                "accurate_pass": 15,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 74,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0953,
                "expected_assists": 0.0053,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 7,
                "accurate_pass": 5,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.237,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 15,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 35,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0162,
                "expected_assists": 0.0008,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 8,
                "accurate_pass": 4,
                "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": 16421052,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 70,
                "rating": 6.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.998,
                "expected_assists": 0.1658,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 13,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083142,
              "match_date": "2026-04-12",
              "home_team": "Mallorca",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 77,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.5869,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 3,
                "clearances": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083697,
              "match_date": "2026-04-03",
              "home_team": "Rayo Vallecano",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Elche",
              "stats": {
                "minutes": 84,
                "rating": 6.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2851,
                "expected_assists": 0.275,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 26,
                "accurate_pass": 20,
                "key_pass": 3,
                "tackles": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1451,
            "combined_rank_score": 598.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 626.0,
            "sofascore_rating": 6.7625,
            "sofascore_appearances": 32.0,
            "fifa_rank": 571.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8438,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álvaro García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Shokhrukh Abdurakhmonov",
                  "ranking": 1446
                },
                {
                  "player_name": "Kuvonch Abraev",
                  "ranking": 1447
                },
                {
                  "player_name": "César Dutra",
                  "ranking": 1448
                },
                {
                  "player_name": "Samed Baždar",
                  "ranking": 1449
                },
                {
                  "player_name": "Curtis Jones",
                  "ranking": 1450
                }
              ],
              "lower": [
                {
                  "player_name": "Natan",
                  "ranking": 1452
                },
                {
                  "player_name": "Ayoze Pérez",
                  "ranking": 1453
                },
                {
                  "player_name": "Mike Penders",
                  "ranking": 1454
                },
                {
                  "player_name": "Jarrad Branthwaite",
                  "ranking": 1455
                },
                {
                  "player_name": "Leonardo Valencia",
                  "ranking": 1456
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.772,
          "history_matches": 39,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.772,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9977,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 195.0,
              "goals_per90": 0.4545454545454545,
              "assists_per90": 0.4545454545454545,
              "shots_per90": 0.92,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.1467
            },
            "rationale": "XGBoost regressor (M_service) evaluated 39 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Rayo Vallecano, rel: 0.15, gls/90: 0.4545454545454545, ast/90: 0.4545454545454545)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.0249,
                "expected_assists": 0.1154,
                "assists": 0.1424,
                "assist_rate": 0.1424,
                "expected_goals": 0.1976,
                "goals": 0.2267,
                "goal_rate": 0.2267,
                "shots_on_target": 0.5629,
                "total_shots": 1.5084,
                "rating": 6.8438,
                "minutes": 80.92,
                "total_pass": 17.2496,
                "accurate_pass": 11.6501,
                "duels_won": 2.3251,
                "total_long_balls": 1.6134,
                "accurate_long_balls": 0.809,
                "total_own_half_passes": 5.9707,
                "accurate_own_half_passes": 4.2664,
                "total_opp_half_passes": 11.2788,
                "accurate_opp_half_passes": 7.3836,
                "crosses_total": 2.6899,
                "crosses_accurate": 0.5383,
                "touches": 30.6317,
                "possession_lost": 10.3515,
                "dispossessed": 0.3141,
                "duels_lost": 3.1297,
                "aerial_won": 0.5528,
                "aerial_lost": 1.2061,
                "interceptions": 0.8899,
                "tackles_won": 0.6936,
                "tackles": 1.2351,
                "clearances": 1.0261,
                "total_contest": 0.775,
                "won_contest": 0.2449,
                "challenges_lost": 0.5266,
                "fouls": 0.5527,
                "fouls_drawn": 0.3036,
                "blocks": 0.089,
                "big_chances_created": 0.3686,
                "big_chances_missed": 0.1574,
                "xgot": 0.2232,
                "ball_carries": 7.2203,
                "total_progression": 19.2507,
                "progressive_carries": 1.006,
                "shots_off_target": 0.9455
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-09T10:04:11.914604+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.0667,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Mallorca",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-04-03",
                    "opponent": "Elche",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.7211,
                  "creative_index": 0.3674,
                  "expectedGoals": 0.2074,
                  "expectedAssists": 0.104,
                  "onTargetScoringAttempt": 0.5577
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.0249353647232056,
                    "model_output": 1.0249,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1199
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0841
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0601
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0514
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0378
                        }
                      ],
                      "others": -0.0188,
                      "total": 1.0249,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.126859
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.080277
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.056668
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.048727
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.035601
                        }
                      ],
                      "others_margin": -0.018148
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.115408755838871,
                    "model_output": 0.1154,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0126
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0109
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0064
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0036
                        },
                        {
                          "name": "goalAssist",
                          "contribution": 0.0037
                        }
                      ],
                      "others": -0.0076,
                      "total": 0.1154,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.136785
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.10489
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.056718
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.030587
                        },
                        {
                          "name": "goalAssist",
                          "margin": 0.030381
                        }
                      ],
                      "others_margin": -0.062588
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.1424151062965393,
                    "model_output": 0.1424,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0076
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0068
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0068
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0045
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0046
                        }
                      ],
                      "others": 0.0269,
                      "total": 0.1424,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.085244
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.070237
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.066238
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.041797
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.040389
                        }
                      ],
                      "others_margin": 0.209491
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.19763894379138947,
                    "model_output": 0.1976,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0308
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0228
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0191
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0136
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0104
                        }
                      ],
                      "others": 0.0065,
                      "total": 0.1976,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.282047
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.167636
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121124
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.078513
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.055793
                        }
                      ],
                      "others_margin": 0.033491
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.2267208844423294,
                    "model_output": 0.2267,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0408
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0247
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0198
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0185
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0135
                        }
                      ],
                      "others": 0.0388,
                      "total": 0.2267,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.349267
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.164297
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.114771
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.096181
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.069527
                        }
                      ],
                      "others_margin": 0.187389
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.562917947769165,
                    "model_output": 0.5629,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0997
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0639
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0624
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.045
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0197
                        }
                      ],
                      "others": -0.0518,
                      "total": 0.5629,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.268247
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.14049
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120378
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.07871
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.032516
                        }
                      ],
                      "others_margin": -0.087924
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.5083922147750854,
                    "model_output": 1.5084,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3692
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1673
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.059
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.059
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0407
                        }
                      ],
                      "others": -0.0593,
                      "total": 1.5084,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.369158
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.167272
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.059008
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.058991
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.040737
                        }
                      ],
                      "others_margin": -0.059256
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.843781471252441,
                    "model_output": 6.8438,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0486
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0283
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0153
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0092
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0087
                        }
                      ],
                      "others": -0.0006,
                      "total": 6.8438,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.048634
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.028329
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.015252
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.0092
                        },
                        {
                          "name": "rating",
                          "margin": -0.008671
                        }
                      ],
                      "others_margin": -0.000565
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 39,
                  "role_matches": 29,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9977, quality 0.437)",
              "stats": {
                "key_pass": 1.0226,
                "expected_assists": 0.1151,
                "assists": 0.1421,
                "assist_rate": 0.1421,
                "expected_goals": 0.1972,
                "goals": 0.2262,
                "goal_rate": 0.2262,
                "shots_on_target": 0.5616,
                "total_shots": 1.5049,
                "rating": 6.8438,
                "minutes": 80.92,
                "total_pass": 17.2099,
                "accurate_pass": 11.6233,
                "duels_won": 2.3198,
                "total_long_balls": 1.6097,
                "accurate_long_balls": 0.8071,
                "total_own_half_passes": 5.957,
                "accurate_own_half_passes": 4.2566,
                "total_opp_half_passes": 11.2529,
                "accurate_opp_half_passes": 7.3666,
                "crosses_total": 2.6837,
                "crosses_accurate": 0.5371,
                "touches": 30.5612,
                "possession_lost": 10.3277,
                "dispossessed": 0.3134,
                "duels_lost": 3.1225,
                "aerial_won": 0.5515,
                "aerial_lost": 1.2033,
                "interceptions": 0.8879,
                "tackles_won": 0.692,
                "tackles": 1.2323,
                "clearances": 1.0237,
                "total_contest": 0.7732,
                "won_contest": 0.2443,
                "challenges_lost": 0.5254,
                "fouls": 0.5514,
                "fouls_drawn": 0.3029,
                "blocks": 0.0888,
                "big_chances_created": 0.3678,
                "big_chances_missed": 0.157,
                "xgot": 0.2227,
                "ball_carries": 7.2037,
                "total_progression": 19.2064,
                "progressive_carries": 1.0037,
                "shots_off_target": 0.9433
              },
              "params": {
                "market_value_eur": 1500000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9977,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0108)",
              "stats": {
                "key_pass": 1.0226,
                "expected_assists": 0.1151,
                "assists": 0.145,
                "assist_rate": 0.145,
                "expected_goals": 0.1972,
                "goals": 0.2282,
                "goal_rate": 0.2282,
                "shots_on_target": 0.56,
                "total_shots": 1.4976,
                "rating": 6.8438,
                "minutes": 80.92,
                "total_pass": 17.2099,
                "accurate_pass": 11.6233,
                "duels_won": 2.3198,
                "total_long_balls": 1.6097,
                "accurate_long_balls": 0.8071,
                "total_own_half_passes": 5.957,
                "accurate_own_half_passes": 4.2566,
                "total_opp_half_passes": 11.2529,
                "accurate_opp_half_passes": 7.3666,
                "crosses_total": 2.6812,
                "crosses_accurate": 0.5371,
                "touches": 30.5612,
                "possession_lost": 10.3277,
                "dispossessed": 0.3134,
                "duels_lost": 3.1225,
                "aerial_won": 0.5515,
                "aerial_lost": 1.2033,
                "interceptions": 0.8871,
                "tackles_won": 0.6934,
                "tackles": 1.2323,
                "clearances": 1.0237,
                "total_contest": 0.7732,
                "won_contest": 0.2443,
                "challenges_lost": 0.5254,
                "fouls": 0.5587,
                "fouls_drawn": 0.2996,
                "blocks": 0.0888,
                "big_chances_created": 0.3678,
                "big_chances_missed": 0.157,
                "xgot": 0.2227,
                "ball_carries": 7.2037,
                "total_progression": 19.2064,
                "progressive_carries": 1.0037,
                "shots_off_target": 0.9433
              },
              "params": {
                "blend_weight": 0.0108,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8991,
                "prior_reliability": 0.1467,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.5514,
                  "after": 0.5587
                },
                {
                  "stat": "totalShots",
                  "before": 1.5049,
                  "after": 1.4976
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.0226,
                "expected_assists": 0.1151,
                "assists": 0.145,
                "assist_rate": 0.145,
                "expected_goals": 0.1972,
                "goals": 0.2282,
                "goal_rate": 0.2282,
                "shots_on_target": 0.56,
                "total_shots": 1.5033,
                "rating": 6.8438,
                "minutes": 80.92,
                "total_pass": 17.2099,
                "accurate_pass": 11.6233,
                "duels_won": 2.3198,
                "total_long_balls": 1.6097,
                "accurate_long_balls": 0.8071,
                "total_own_half_passes": 5.957,
                "accurate_own_half_passes": 4.2566,
                "total_opp_half_passes": 11.2529,
                "accurate_opp_half_passes": 7.3666,
                "crosses_total": 2.6812,
                "crosses_accurate": 0.5371,
                "touches": 30.5612,
                "possession_lost": 10.3277,
                "dispossessed": 0.3134,
                "duels_lost": 3.1225,
                "aerial_won": 0.5515,
                "aerial_lost": 1.2033,
                "interceptions": 0.8871,
                "tackles_won": 0.6934,
                "tackles": 1.2323,
                "clearances": 1.0237,
                "total_contest": 0.7732,
                "won_contest": 0.2443,
                "challenges_lost": 0.5254,
                "fouls": 0.5587,
                "fouls_drawn": 0.2996,
                "blocks": 0.0888,
                "big_chances_created": 0.3678,
                "big_chances_missed": 0.157,
                "xgot": 0.2227,
                "ball_carries": 7.2037,
                "total_progression": 19.2064,
                "progressive_carries": 1.0037,
                "shots_off_target": 0.9433
              },
              "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.0226,
                "expected_assists": 0.1151,
                "assists": 0.145,
                "assist_rate": 0.145,
                "expected_goals": 0.1902,
                "goals": 0.2201,
                "goal_rate": 0.2201,
                "shots_on_target": 0.5402,
                "total_shots": 1.4502,
                "rating": 6.8438,
                "minutes": 80.92,
                "total_pass": 17.2099,
                "accurate_pass": 11.6233,
                "duels_won": 2.3198,
                "total_long_balls": 1.6097,
                "accurate_long_balls": 0.8071,
                "total_own_half_passes": 5.957,
                "accurate_own_half_passes": 4.2566,
                "total_opp_half_passes": 11.2529,
                "accurate_opp_half_passes": 7.3666,
                "crosses_total": 2.6812,
                "crosses_accurate": 0.5371,
                "touches": 30.5612,
                "possession_lost": 10.3277,
                "dispossessed": 0.3134,
                "duels_lost": 3.1225,
                "aerial_won": 0.8,
                "aerial_lost": 1.2033,
                "interceptions": 0.8871,
                "tackles_won": 0.6934,
                "tackles": 1.2323,
                "clearances": 1.0237,
                "total_contest": 0.7732,
                "won_contest": 0.2443,
                "challenges_lost": 0.5254,
                "fouls": 0.5587,
                "fouls_drawn": 0.2996,
                "blocks": 0.0888,
                "big_chances_created": 0.3678,
                "big_chances_missed": 0.1515,
                "xgot": 0.2148,
                "ball_carries": 7.2037,
                "total_progression": 19.2064,
                "progressive_carries": 1.0037,
                "shots_off_target": 0.91,
                "duel_xg_multiplier": 0.9647,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.426,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iñigo Ruiz de Galarreta",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.426,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9647,
                  "skill_edge": 0.0,
                  "height_edge": -0.024,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.4374,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Iñigo Ruiz de Galarreta",
                      "market_value": 1800000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.1902
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.5515,
                  "after": 0.8
                },
                {
                  "stat": "totalShots",
                  "before": 1.5033,
                  "after": 1.4502
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.9433,
                  "after": 0.91
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.56,
                  "after": 0.5402
                },
                {
                  "stat": "goals",
                  "before": 0.2282,
                  "after": 0.2201
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.2227,
                  "after": 0.2148
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1972,
                  "after": 0.1902
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.157,
                  "after": 0.1515
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "key_pass": 1.0226,
                "expected_assists": 0.1267,
                "assist_rate": 0.145,
                "assists": 0,
                "expected_goals": 0.2094,
                "goal_rate": 0.2201,
                "goals": 0,
                "shots_on_target": 0.5402,
                "total_shots": 1.4502,
                "rating": 6.8438,
                "minutes": 80.92,
                "total_pass": 17.2099,
                "accurate_pass": 11.6233,
                "duels_won": 2.3198,
                "total_long_balls": 1.6097,
                "accurate_long_balls": 0.8071,
                "total_own_half_passes": 5.957,
                "accurate_own_half_passes": 4.2566,
                "total_opp_half_passes": 11.2529,
                "accurate_opp_half_passes": 7.3666,
                "crosses_total": 2.6812,
                "crosses_accurate": 0.5371,
                "touches": 30.5612,
                "possession_lost": 10.3277,
                "dispossessed": 0.3134,
                "duels_lost": 3.1225,
                "aerial_won": 0.8,
                "aerial_lost": 1.2033,
                "interceptions": 0.8871,
                "tackles_won": 0.6934,
                "tackles": 1.2323,
                "clearances": 1.0237,
                "total_contest": 0.7732,
                "won_contest": 0.2443,
                "challenges_lost": 0.5254,
                "fouls": 0.5587,
                "fouls_drawn": 0.2996,
                "blocks": 0.0888,
                "big_chances_created": 0.3678,
                "big_chances_missed": 0.1515,
                "xgot": 0.2364,
                "ball_carries": 7.2037,
                "total_progression": 19.2064,
                "progressive_carries": 1.0037,
                "shots_off_target": 0.91,
                "duel_xg_multiplier": 0.9647,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.426,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1245,
                "creation_factor": 1.1811
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1902,
                  "after": 0.2094
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1151,
                  "after": 0.1267
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 6 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "key_pass": 1.0226,
                "expected_assists": 0.1267,
                "assist_rate": 0.145,
                "assists": 0,
                "expected_goals": 0.2094,
                "goal_rate": 0.2201,
                "goals": 0,
                "shots_on_target": 0.5402,
                "total_shots": 1.4502,
                "rating": 6.8438,
                "minutes": 80.92,
                "total_pass": 17.2099,
                "accurate_pass": 11.6233,
                "duels_won": 2.3198,
                "total_long_balls": 1.6097,
                "accurate_long_balls": 0.8071,
                "total_own_half_passes": 5.957,
                "accurate_own_half_passes": 4.2566,
                "total_opp_half_passes": 11.2529,
                "accurate_opp_half_passes": 7.3666,
                "crosses_total": 2.6812,
                "crosses_accurate": 0.5371,
                "touches": 30.5612,
                "possession_lost": 10.3277,
                "dispossessed": 0.3134,
                "duels_lost": 3.1225,
                "aerial_won": 0.8,
                "aerial_lost": 1.2033,
                "interceptions": 0.8871,
                "tackles_won": 0.6934,
                "tackles": 1.2323,
                "clearances": 1.0237,
                "total_contest": 0.7732,
                "won_contest": 0.2443,
                "challenges_lost": 0.5254,
                "fouls": 0.5587,
                "fouls_drawn": 0.2996,
                "blocks": 0.0888,
                "big_chances_created": 0.3678,
                "big_chances_missed": 0.1515,
                "xgot": 0.2364,
                "ball_carries": 7.2037,
                "total_progression": 19.2064,
                "progressive_carries": 1.0037,
                "shots_off_target": 0.91,
                "duel_xg_multiplier": 0.9647,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.426,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1245,
                "creation_factor": 1.1811,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1451,
                "fifa_rank": 571.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.0226,
                "expected_assists": 0.1267,
                "assist_rate": 0.145,
                "assists": 0,
                "expected_goals": 0.2094,
                "goal_rate": 0.2201,
                "goals": 0,
                "shots_on_target": 0.5402,
                "total_shots": 1.4502,
                "rating": 6.8438,
                "minutes": 80.92,
                "total_pass": 17.2099,
                "accurate_pass": 11.6233,
                "duels_won": 2.3198,
                "total_long_balls": 1.6097,
                "accurate_long_balls": 0.8071,
                "total_own_half_passes": 5.957,
                "accurate_own_half_passes": 4.2566,
                "total_opp_half_passes": 11.2529,
                "accurate_opp_half_passes": 7.3666,
                "crosses_total": 2.6812,
                "crosses_accurate": 0.5371,
                "touches": 30.5612,
                "possession_lost": 10.3277,
                "dispossessed": 0.3134,
                "duels_lost": 3.1225,
                "aerial_won": 0.8,
                "aerial_lost": 1.2033,
                "interceptions": 0.8871,
                "tackles_won": 0.6934,
                "tackles": 1.2323,
                "clearances": 1.0237,
                "total_contest": 0.7732,
                "won_contest": 0.2443,
                "challenges_lost": 0.5254,
                "fouls": 0.5587,
                "fouls_drawn": 0.2996,
                "blocks": 0.0888,
                "big_chances_created": 0.3678,
                "big_chances_missed": 0.1515,
                "xgot": 0.2364,
                "ball_carries": 7.2037,
                "total_progression": 19.2064,
                "progressive_carries": 1.0037,
                "shots_off_target": 0.91,
                "duel_xg_multiplier": 0.9647,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.426,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1889,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1245,
                "creation_factor": 1.1811,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1889,
                "scorer_weight": 0.2355,
                "squad_weight_total": 1.4853,
                "weight_share": 0.1585,
                "finishing_factor": 1.1245,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.0226,
                "expected_assists": 0.1267,
                "assist_rate": 0.145,
                "assists": 0,
                "expected_goals": 0.2094,
                "goal_rate": 0.2201,
                "goals": 0,
                "shots_on_target": 0.5402,
                "total_shots": 1.4502,
                "rating": 6.8438,
                "minutes": 80.92,
                "total_pass": 17.2099,
                "accurate_pass": 11.6233,
                "duels_won": 2.3198,
                "total_long_balls": 1.6097,
                "accurate_long_balls": 0.8071,
                "total_own_half_passes": 5.957,
                "accurate_own_half_passes": 4.2566,
                "total_opp_half_passes": 11.2529,
                "accurate_opp_half_passes": 7.3666,
                "crosses_total": 2.6812,
                "crosses_accurate": 0.5371,
                "touches": 30.5612,
                "possession_lost": 10.3277,
                "dispossessed": 0.3134,
                "duels_lost": 3.1225,
                "aerial_won": 0.8,
                "aerial_lost": 1.2033,
                "interceptions": 0.8871,
                "tackles_won": 0.6934,
                "tackles": 1.2323,
                "clearances": 1.0237,
                "total_contest": 0.7732,
                "won_contest": 0.2443,
                "challenges_lost": 0.5254,
                "fouls": 0.5587,
                "fouls_drawn": 0.2996,
                "blocks": 0.0888,
                "big_chances_created": 0.3678,
                "big_chances_missed": 0.1515,
                "xgot": 0.2364,
                "ball_carries": 7.2037,
                "total_progression": 19.2064,
                "progressive_carries": 1.0037,
                "shots_off_target": 0.91,
                "duel_xg_multiplier": 0.9647,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.426,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1889,
                "projected_assists": 0,
                "assist_probability": 0.119,
                "finishing_factor": 1.1245,
                "creation_factor": 1.1811,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.119,
                "provider_weight": 0.1496,
                "squad_weight_total": 0.9695,
                "weight_share": 0.1544,
                "creation_factor": 1.1811,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Sergio Camello": {
          "player_id": 910024,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 177,
          "market_value": 3300000,
          "stats": {
            "expected_goals": 0.3505,
            "goal_rate": 0.4072,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.1173,
            "key_pass": 1,
            "rating": 7.113,
            "minutes": 73,
            "total_pass": 19,
            "accurate_pass": 15,
            "duels_won": 5,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 10,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 36,
            "possession_lost": 10.7159,
            "dispossessed": 1.4503,
            "duels_lost": 6,
            "aerial_lost": 2,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.101,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.553,
            "offsides": 0,
            "ball_carries": 11,
            "total_progression": 31,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9109,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Aymeric Laporte, Yeray Álvarez",
            "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.2957,
            "projected_assists": 0,
            "assist_probability": 0.1107,
            "finishing_factor": 1.241,
            "creation_factor": 0.9642,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 71,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2618,
                "expected_assists": 0.0354,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 22,
                "accurate_pass": 21,
                "tackles": 3,
                "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": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 76,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3012,
                "expected_assists": 0.3071,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 22,
                "accurate_pass": 18,
                "key_pass": 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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 75,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1601,
                "expected_assists": 0.0158,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 7,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 57,
                "rating": 9.4,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.8563,
                "expected_assists": 0.0889,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 3,
                "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": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 75,
                "rating": 8.0,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7722,
                "expected_assists": 0.0052,
                "total_shots": 4,
                "shots_on_target": 2,
                "total_pass": 20,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1773,
                "expected_assists": 0.0149,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 26,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0069,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 8,
                "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": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 52,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.3311,
                "expected_assists": 0.153,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 73,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3826,
                "expected_assists": 0.0107,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 25,
                "accurate_pass": 19,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 4,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 68,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2555,
                "expected_assists": 0.0199,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 13,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3542,
            "combined_rank_score": 1508.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 122.0,
            "sofascore_rating": 7.4,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2895.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.113,
            "source_file": "data/player_rankings.csv",
            "player_name": "Sergio Camello",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Chrislain Matsima",
                  "ranking": 3537
                },
                {
                  "player_name": "Yan Couto",
                  "ranking": 3538
                },
                {
                  "player_name": "Enes Ünal",
                  "ranking": 3539
                },
                {
                  "player_name": "Issa Diop",
                  "ranking": 3540
                },
                {
                  "player_name": "Senne Lynen",
                  "ranking": 3541
                }
              ],
              "lower": [
                {
                  "player_name": "Mio Backhaus",
                  "ranking": 3543
                },
                {
                  "player_name": "Jindřich Staněk",
                  "ranking": 3544
                },
                {
                  "player_name": "Janis Blaswich",
                  "ranking": 3545
                },
                {
                  "player_name": "Jobe Bellingham",
                  "ranking": 3546
                },
                {
                  "player_name": "Omar El Hilali",
                  "ranking": 3547
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.771,
          "history_matches": 29,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 29,
            "data_confidence": 0.771,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9972,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 191.0,
              "goals_per90": 1.4285714285714286,
              "assists_per90": 0.0,
              "shots_per90": 3.3,
              "shots_on_target_pct": 57.1,
              "prior_reliability": 0.14
            },
            "rationale": "XGBoost regressor (F_service) evaluated 29 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Rayo Vallecano, rel: 0.14, gls/90: 1.4285714285714286, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.3505,
                "goals": 0.4385,
                "goal_rate": 0.4385,
                "shots_on_target": 0.917,
                "total_shots": 2.4468,
                "expected_assists": 0.1069,
                "key_pass": 1.1592,
                "rating": 7.113,
                "minutes": 73.28,
                "total_pass": 19.2792,
                "accurate_pass": 15.4622,
                "duels_won": 4.5325,
                "total_long_balls": 1.1487,
                "accurate_long_balls": 0.5685,
                "total_opp_half_passes": 12.74,
                "accurate_opp_half_passes": 9.9005,
                "crosses_total": 0.2299,
                "crosses_accurate": 0.0,
                "touches": 35.7669,
                "possession_lost": 10.746,
                "dispossessed": 1.4544,
                "duels_lost": 5.6797,
                "aerial_lost": 1.5703,
                "total_contest": 2.3868,
                "won_contest": 1.1945,
                "ball_recovery": 3.4814,
                "challenges_lost": 0.3928,
                "fouls": 1.2145,
                "fouls_drawn": 1.7813,
                "assists": 0.1027,
                "assist_rate": 0.1027,
                "interceptions": 0.028,
                "tackles_won": 0.8077,
                "tackles": 1.3164,
                "clearances": 0.0742,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.4371,
                "xgot": 0.553,
                "offsides": 0.1636,
                "ball_carries": 11.0001,
                "total_progression": 31.0544,
                "progressive_carries": 1.5071,
                "shots_off_target": 1.5298
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:04:40.622139+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1514,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.1287,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.1094,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.093,
                    "rating": 9.4
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.079,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0672,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0571,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 52.0,
                    "is_starting": false,
                    "weight": 0.0485,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Villarreal",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0412,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-05-11",
                    "opponent": "Girona FC",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.0351,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.3192,
                  "totalOppositionHalfPasses": 11.4092,
                  "accurateOppositionHalfPasses": 8.7994,
                  "accuratePass": 13.7446,
                  "totalShots": 2.6327
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.35048580169677734,
                    "model_output": 0.3505,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0621
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0446
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0358
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0273
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0146
                        }
                      ],
                      "others": 0.0217,
                      "total": 0.3505,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.271506
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.157886
                        },
                        {
                          "name": "goals",
                          "margin": 0.110618
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.083221
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.045388
                        }
                      ],
                      "others_margin": 0.064066
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.438495010137558,
                    "model_output": 0.4385,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0686
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0503
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0369
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0302
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0175
                        }
                      ],
                      "others": 0.0313,
                      "total": 0.4385,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.290103
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.16934
                        },
                        {
                          "name": "goals",
                          "margin": 0.108201
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.080764
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.043982
                        }
                      ],
                      "others_margin": 0.074068
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.9170014262199402,
                    "model_output": 0.917,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.182
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.055
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0523
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0527
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0546
                        }
                      ],
                      "others": 0.0934,
                      "total": 0.917,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.291877
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.079604
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.075767
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.070934
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.068615
                        }
                      ],
                      "others_margin": 0.107559
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.4467809200286865,
                    "model_output": 2.4468,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5339
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2398
                        },
                        {
                          "name": "goals",
                          "contribution": 0.1456
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0807
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0648
                        }
                      ],
                      "others": 0.1329,
                      "total": 2.4468,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.533853
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.239809
                        },
                        {
                          "name": "goals",
                          "margin": 0.145605
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.08074
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.064815
                        }
                      ],
                      "others_margin": 0.132881
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10686581581830978,
                    "model_output": 0.1069,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0167
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0079
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0056
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0055
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0049
                        }
                      ],
                      "others": 0.002,
                      "total": 0.1069,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.231086
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.093564
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.060545
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.05688
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.047398
                        }
                      ],
                      "others_margin": 0.0188
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.1591978073120117,
                    "model_output": 1.1592,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2414
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0532
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0486
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0402
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0378
                        }
                      ],
                      "others": 0.1444,
                      "total": 1.1592,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.306142
                        },
                        {
                          "name": "rating",
                          "margin": 0.056456
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.048932
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.040316
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.038003
                        }
                      ],
                      "others_margin": 0.13307
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.113015174865723,
                    "model_output": 7.113,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0804
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0755
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0691
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0401
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0226
                        }
                      ],
                      "others": 0.0631,
                      "total": 7.113,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.080435
                        },
                        {
                          "name": "rating",
                          "margin": 0.07548
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.069146
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.040071
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.02256
                        }
                      ],
                      "others_margin": 0.063164
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 29,
                  "role_matches": 14,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9972, quality 0.441)",
              "stats": {
                "expected_goals": 0.3495,
                "goals": 0.4373,
                "goal_rate": 0.4373,
                "shots_on_target": 0.9144,
                "total_shots": 2.44,
                "expected_assists": 0.1066,
                "key_pass": 1.156,
                "rating": 7.113,
                "minutes": 73.28,
                "total_pass": 19.2252,
                "accurate_pass": 15.4189,
                "duels_won": 4.5198,
                "total_long_balls": 1.1455,
                "accurate_long_balls": 0.5669,
                "total_opp_half_passes": 12.7043,
                "accurate_opp_half_passes": 9.8728,
                "crosses_total": 0.2293,
                "crosses_accurate": 0.0,
                "touches": 35.6668,
                "possession_lost": 10.7159,
                "dispossessed": 1.4503,
                "duels_lost": 5.6638,
                "aerial_lost": 1.5659,
                "total_contest": 2.3801,
                "won_contest": 1.1912,
                "ball_recovery": 3.4717,
                "challenges_lost": 0.3917,
                "fouls": 1.2111,
                "fouls_drawn": 1.7763,
                "assists": 0.1024,
                "assist_rate": 0.1024,
                "interceptions": 0.0279,
                "tackles_won": 0.8054,
                "tackles": 1.3127,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.4359,
                "xgot": 0.5515,
                "offsides": 0.1631,
                "ball_carries": 10.9693,
                "total_progression": 30.9674,
                "progressive_carries": 1.5029,
                "shots_off_target": 1.5255
              },
              "params": {
                "market_value_eur": 3300000,
                "quality_factor": 0.4412,
                "boost_factor": 0.9972,
                "reference_quality": 0.505,
                "history_matches": 29,
                "history_shrink": 0.1471,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0134)",
              "stats": {
                "expected_goals": 0.3495,
                "goals": 0.447,
                "goal_rate": 0.447,
                "shots_on_target": 0.9226,
                "total_shots": 2.4433,
                "expected_assists": 0.1066,
                "key_pass": 1.156,
                "rating": 7.113,
                "minutes": 73.28,
                "total_pass": 19.2252,
                "accurate_pass": 15.4189,
                "duels_won": 4.5198,
                "total_long_balls": 1.1455,
                "accurate_long_balls": 0.5669,
                "total_opp_half_passes": 12.7043,
                "accurate_opp_half_passes": 9.8728,
                "crosses_total": 0.2366,
                "crosses_accurate": 0.0,
                "touches": 35.6668,
                "possession_lost": 10.7159,
                "dispossessed": 1.4503,
                "duels_lost": 5.6638,
                "aerial_lost": 1.5659,
                "total_contest": 2.3801,
                "won_contest": 1.1912,
                "ball_recovery": 3.4717,
                "challenges_lost": 0.3917,
                "fouls": 1.2053,
                "fouls_drawn": 1.7837,
                "assists": 0.101,
                "assist_rate": 0.101,
                "interceptions": 0.0275,
                "tackles_won": 0.7998,
                "tackles": 1.3127,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.4359,
                "xgot": 0.5515,
                "offsides": 0.1609,
                "ball_carries": 10.9693,
                "total_progression": 30.9674,
                "progressive_carries": 1.5029,
                "shots_off_target": 1.5255
              },
              "params": {
                "blend_weight": 0.0134,
                "history_matches": 29,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8142,
                "prior_reliability": 0.14,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "goals",
                  "before": 0.4373,
                  "after": 0.447
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.9144,
                  "after": 0.9226
                },
                {
                  "stat": "wasFouled",
                  "before": 1.7763,
                  "after": 1.7837
                },
                {
                  "stat": "totalCross",
                  "before": 0.2293,
                  "after": 0.2366
                },
                {
                  "stat": "fouls",
                  "before": 1.2111,
                  "after": 1.2053
                },
                {
                  "stat": "wonTackle",
                  "before": 0.8054,
                  "after": 0.7998
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3495,
                "goals": 0.447,
                "goal_rate": 0.447,
                "shots_on_target": 0.9226,
                "total_shots": 2.4481,
                "expected_assists": 0.1066,
                "key_pass": 1.156,
                "rating": 7.113,
                "minutes": 73.28,
                "total_pass": 19.2252,
                "accurate_pass": 15.4189,
                "duels_won": 4.5198,
                "total_long_balls": 1.1455,
                "accurate_long_balls": 0.5669,
                "total_opp_half_passes": 12.7043,
                "accurate_opp_half_passes": 9.8728,
                "crosses_total": 0.2366,
                "crosses_accurate": 0.0,
                "touches": 35.6668,
                "possession_lost": 10.7159,
                "dispossessed": 1.4503,
                "duels_lost": 5.6638,
                "aerial_lost": 1.5659,
                "total_contest": 2.3801,
                "won_contest": 1.1912,
                "ball_recovery": 3.4717,
                "challenges_lost": 0.3917,
                "fouls": 1.2053,
                "fouls_drawn": 1.7837,
                "assists": 0.101,
                "assist_rate": 0.101,
                "interceptions": 0.0275,
                "tackles_won": 0.7998,
                "tackles": 1.3127,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.4359,
                "xgot": 0.5515,
                "offsides": 0.1609,
                "ball_carries": 10.9693,
                "total_progression": 30.9674,
                "progressive_carries": 1.5029,
                "shots_off_target": 1.5255
              },
              "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.3184,
                "goals": 0.4072,
                "goal_rate": 0.4072,
                "shots_on_target": 0.8404,
                "total_shots": 2.23,
                "expected_assists": 0.1066,
                "key_pass": 1.156,
                "rating": 7.113,
                "minutes": 73.28,
                "total_pass": 19.2252,
                "accurate_pass": 15.4189,
                "duels_won": 4.5198,
                "total_long_balls": 1.1455,
                "accurate_long_balls": 0.5669,
                "total_opp_half_passes": 12.7043,
                "accurate_opp_half_passes": 9.8728,
                "crosses_total": 0.2366,
                "crosses_accurate": 0.0,
                "touches": 35.6668,
                "possession_lost": 10.7159,
                "dispossessed": 1.4503,
                "duels_lost": 5.6638,
                "aerial_lost": 1.5659,
                "total_contest": 2.3801,
                "won_contest": 1.1912,
                "ball_recovery": 3.4717,
                "challenges_lost": 0.3917,
                "fouls": 1.2053,
                "fouls_drawn": 1.7837,
                "assists": 0.101,
                "assist_rate": 0.101,
                "interceptions": 0.0275,
                "tackles_won": 0.7998,
                "tackles": 1.3127,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3971,
                "xgot": 0.5024,
                "offsides": 0.1609,
                "ball_carries": 10.9693,
                "total_progression": 30.9674,
                "progressive_carries": 1.5029,
                "shots_off_target": 1.3896,
                "duel_xg_multiplier": 0.9109,
                "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": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9109,
                  "skill_edge": -0.0206,
                  "height_edge": -0.04,
                  "attacker_skill": 0.4412,
                  "defender_skill": 0.4869,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Aymeric Laporte",
                      "market_value": 8400000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.5365
                    },
                    {
                      "player": "Yeray Álvarez",
                      "market_value": 930000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.3184
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.4481,
                  "after": 2.23
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.5255,
                  "after": 1.3896
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.9226,
                  "after": 0.8404
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.5515,
                  "after": 0.5024
                },
                {
                  "stat": "goals",
                  "before": 0.447,
                  "after": 0.4072
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.4359,
                  "after": 0.3971
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.3495,
                  "after": 0.3184
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.3505,
                "goal_rate": 0.4072,
                "goals": 0,
                "shots_on_target": 0.8404,
                "total_shots": 2.23,
                "expected_assists": 0.1173,
                "key_pass": 1.156,
                "rating": 7.113,
                "minutes": 73.28,
                "total_pass": 19.2252,
                "accurate_pass": 15.4189,
                "duels_won": 4.5198,
                "total_long_balls": 1.1455,
                "accurate_long_balls": 0.5669,
                "total_opp_half_passes": 12.7043,
                "accurate_opp_half_passes": 9.8728,
                "crosses_total": 0.2366,
                "crosses_accurate": 0.0,
                "touches": 35.6668,
                "possession_lost": 10.7159,
                "dispossessed": 1.4503,
                "duels_lost": 5.6638,
                "aerial_lost": 1.5659,
                "total_contest": 2.3801,
                "won_contest": 1.1912,
                "ball_recovery": 3.4717,
                "challenges_lost": 0.3917,
                "fouls": 1.2053,
                "fouls_drawn": 1.7837,
                "assist_rate": 0.101,
                "assists": 0,
                "interceptions": 0.0275,
                "tackles_won": 0.7998,
                "tackles": 1.3127,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3971,
                "xgot": 0.553,
                "offsides": 0.1609,
                "ball_carries": 10.9693,
                "total_progression": 30.9674,
                "progressive_carries": 1.5029,
                "shots_off_target": 1.3896,
                "duel_xg_multiplier": 0.9109,
                "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": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.241,
                "creation_factor": 0.9642
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3184,
                  "after": 0.3505
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1066,
                  "after": 0.1173
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 1 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.3505,
                "goal_rate": 0.4072,
                "goals": 0,
                "shots_on_target": 0.8404,
                "total_shots": 2.23,
                "expected_assists": 0.1173,
                "key_pass": 1.156,
                "rating": 7.113,
                "minutes": 73.28,
                "total_pass": 19.2252,
                "accurate_pass": 15.4189,
                "duels_won": 4.5198,
                "total_long_balls": 1.1455,
                "accurate_long_balls": 0.5669,
                "total_opp_half_passes": 12.7043,
                "accurate_opp_half_passes": 9.8728,
                "crosses_total": 0.2366,
                "crosses_accurate": 0.0,
                "touches": 35.6668,
                "possession_lost": 10.7159,
                "dispossessed": 1.4503,
                "duels_lost": 5.6638,
                "aerial_lost": 1.5659,
                "total_contest": 2.3801,
                "won_contest": 1.1912,
                "ball_recovery": 3.4717,
                "challenges_lost": 0.3917,
                "fouls": 1.2053,
                "fouls_drawn": 1.7837,
                "assist_rate": 0.101,
                "assists": 0,
                "interceptions": 0.0275,
                "tackles_won": 0.7998,
                "tackles": 1.3127,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3971,
                "xgot": 0.553,
                "offsides": 0.1609,
                "ball_carries": 10.9693,
                "total_progression": 30.9674,
                "progressive_carries": 1.5029,
                "shots_off_target": 1.3896,
                "duel_xg_multiplier": 0.9109,
                "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": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.241,
                "creation_factor": 0.9642,
                "fifa_overall": 74.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": 3542,
                "fifa_rank": 2895.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.3505,
                "goal_rate": 0.4072,
                "goals": 1,
                "shots_on_target": 0.8404,
                "total_shots": 2.23,
                "expected_assists": 0.1173,
                "key_pass": 1.156,
                "rating": 7.113,
                "minutes": 73.28,
                "total_pass": 19.2252,
                "accurate_pass": 15.4189,
                "duels_won": 4.5198,
                "total_long_balls": 1.1455,
                "accurate_long_balls": 0.5669,
                "total_opp_half_passes": 12.7043,
                "accurate_opp_half_passes": 9.8728,
                "crosses_total": 0.2366,
                "crosses_accurate": 0.0,
                "touches": 35.6668,
                "possession_lost": 10.7159,
                "dispossessed": 1.4503,
                "duels_lost": 5.6638,
                "aerial_lost": 1.5659,
                "total_contest": 2.3801,
                "won_contest": 1.1912,
                "ball_recovery": 3.4717,
                "challenges_lost": 0.3917,
                "fouls": 1.2053,
                "fouls_drawn": 1.7837,
                "assist_rate": 0.101,
                "assists": 0,
                "interceptions": 0.0275,
                "tackles_won": 0.7998,
                "tackles": 1.3127,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3971,
                "xgot": 0.553,
                "offsides": 0.1609,
                "ball_carries": 10.9693,
                "total_progression": 30.9674,
                "progressive_carries": 1.5029,
                "shots_off_target": 1.3896,
                "duel_xg_multiplier": 0.9109,
                "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": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.2957,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.241,
                "creation_factor": 0.9642,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.2957,
                "scorer_weight": 0.435,
                "squad_weight_total": 1.4853,
                "weight_share": 0.2929,
                "finishing_factor": 1.241,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "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.3505,
                "goal_rate": 0.4072,
                "goals": 1,
                "shots_on_target": 0.8404,
                "total_shots": 2.23,
                "expected_assists": 0.1173,
                "key_pass": 1.156,
                "rating": 7.113,
                "minutes": 73.28,
                "total_pass": 19.2252,
                "accurate_pass": 15.4189,
                "duels_won": 4.5198,
                "total_long_balls": 1.1455,
                "accurate_long_balls": 0.5669,
                "total_opp_half_passes": 12.7043,
                "accurate_opp_half_passes": 9.8728,
                "crosses_total": 0.2366,
                "crosses_accurate": 0.0,
                "touches": 35.6668,
                "possession_lost": 10.7159,
                "dispossessed": 1.4503,
                "duels_lost": 5.6638,
                "aerial_lost": 1.5659,
                "total_contest": 2.3801,
                "won_contest": 1.1912,
                "ball_recovery": 3.4717,
                "challenges_lost": 0.3917,
                "fouls": 1.2053,
                "fouls_drawn": 1.7837,
                "assist_rate": 0.101,
                "assists": 0,
                "interceptions": 0.0275,
                "tackles_won": 0.7998,
                "tackles": 1.3127,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3971,
                "xgot": 0.553,
                "offsides": 0.1609,
                "ball_carries": 10.9693,
                "total_progression": 30.9674,
                "progressive_carries": 1.5029,
                "shots_off_target": 1.3896,
                "duel_xg_multiplier": 0.9109,
                "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": "Aymeric Laporte, Yeray Álvarez",
                "opponent_faced": "Aymeric Laporte, Yeray Álvarez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.2957,
                "projected_assists": 0,
                "assist_probability": 0.1107,
                "finishing_factor": 1.241,
                "creation_factor": 0.9642,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1107,
                "provider_weight": 0.1131,
                "squad_weight_total": 0.9695,
                "weight_share": 0.1167,
                "creation_factor": 0.9642,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Pathé Ismaël Ciss": {
          "player_id": 913679,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 6,
          "height": 183,
          "market_value": 1600000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0331,
            "assist_rate": 0.0504,
            "assists": 0,
            "expected_goals": 0.0543,
            "goal_rate": 0.0498,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8754,
            "minutes": 89,
            "total_pass": 51,
            "accurate_pass": 46,
            "duels_won": 5,
            "total_long_balls": 6,
            "accurate_long_balls": 4,
            "total_own_half_passes": 31,
            "accurate_own_half_passes": 29,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 16,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 67,
            "possession_lost": 7.4179,
            "dispossessed": 0.4731,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 2,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 5,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0114,
            "ball_carries": 17,
            "total_progression": 56,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 1.0529,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.456,
            "pressing_faced": "LOW",
            "matchup_zone": "CDM vs CDM",
            "numerical_situation": "1v1",
            "opponent_defenders": "Iñigo Ruiz de Galarreta",
            "opponent_faced": "Iñigo Ruiz de Galarreta",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0529,
            "projected_assists": 0,
            "assist_probability": 0.0326,
            "finishing_factor": 1.005,
            "creation_factor": 1.25,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3321,
                "expected_assists": 0.0143,
                "total_shots": 2,
                "total_pass": 63,
                "accurate_pass": 54,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 3,
                "aerial_won": 4,
                "duels_won": 8,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0113,
                "total_shots": 0,
                "total_pass": 58,
                "accurate_pass": 52,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 4,
                "clearances": 7,
                "aerial_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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.025,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 52,
                "tackles": 1,
                "interceptions": 4,
                "clearances": 4,
                "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": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.057,
                "expected_assists": 0.0226,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 51,
                "accurate_pass": 47,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 8,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 29,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 7,
                "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": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0071,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 30,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 6,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0041,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 46,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 4,
                "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": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 29,
                "rating": 6.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0767,
                "expected_assists": 0.0207,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 15,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0045,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 51,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083639,
              "match_date": "2026-05-14",
              "home_team": "Valencia",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Valencia",
              "stats": {
                "minutes": 30,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0163,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 20,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 3,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 620,
            "combined_rank_score": 351.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 320.0,
            "sofascore_rating": 7.0207,
            "sofascore_appearances": 29.0,
            "fifa_rank": 382.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.8754,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pathé Ismaël Ciss",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mason Greenwood",
                  "ranking": 615
                },
                {
                  "player_name": "Péter Gulácsi",
                  "ranking": 616
                },
                {
                  "player_name": "Oliver Baumann",
                  "ranking": 617
                },
                {
                  "player_name": "Iñigo Martínez",
                  "ranking": 618
                },
                {
                  "player_name": "Omar Marmoush",
                  "ranking": 619
                }
              ],
              "lower": [
                {
                  "player_name": "Riccardo Orsolini",
                  "ranking": 621
                },
                {
                  "player_name": "Hyeon-yong Lee",
                  "ranking": 622
                },
                {
                  "player_name": "Lucas Alarcón",
                  "ranking": 623
                },
                {
                  "player_name": "Dilshod Saitov",
                  "ranking": 624
                },
                {
                  "player_name": "Evertton Araujo",
                  "ranking": 625
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 36,
          "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": 36,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9975,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 36 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.4311,
                "expected_assists": 0.0301,
                "assists": 0.0505,
                "assist_rate": 0.0505,
                "expected_goals": 0.047,
                "goals": 0.0474,
                "goal_rate": 0.0474,
                "shots_on_target": 0.1427,
                "total_shots": 0.5875,
                "rating": 6.8754,
                "minutes": 89.46,
                "total_pass": 51.3343,
                "accurate_pass": 45.6357,
                "duels_won": 4.7771,
                "total_long_balls": 5.6819,
                "accurate_long_balls": 3.9059,
                "total_own_half_passes": 31.3993,
                "accurate_own_half_passes": 29.2388,
                "total_opp_half_passes": 19.9351,
                "accurate_opp_half_passes": 16.3969,
                "crosses_total": 0.1632,
                "crosses_accurate": 0.0113,
                "touches": 67.1591,
                "possession_lost": 7.4365,
                "dispossessed": 0.4743,
                "duels_lost": 2.9597,
                "aerial_won": 1.8315,
                "aerial_lost": 0.9938,
                "interceptions": 2.0307,
                "tackles_won": 1.4764,
                "tackles": 1.7998,
                "clearances": 5.0355,
                "total_contest": 0.4484,
                "won_contest": 0.4242,
                "challenges_lost": 0.3665,
                "fouls": 1.2527,
                "fouls_drawn": 0.7217,
                "blocks": 0.7675,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0992,
                "xgot": 0.0099,
                "ball_carries": 17.2959,
                "total_progression": 56.3428,
                "progressive_carries": 0.4524,
                "shots_off_target": 0.4447
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-09T10:04:11.914604+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Valencia",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 7.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.5986,
                  "creative_index": 0.152,
                  "expectedGoals": 0.0839,
                  "expectedAssists": 0.0125,
                  "onTargetScoringAttempt": 0.0718
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.4311429560184479,
                    "model_output": 0.4311,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.1125
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0808
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0722
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0685
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0423
                        }
                      ],
                      "others": -0.2158,
                      "total": 0.4311,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.135731
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.110276
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.110015
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.104699
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.063388
                        }
                      ],
                      "others_margin": -0.405788
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.030141601338982582,
                    "model_output": 0.0301,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0207
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0149
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0081
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0052
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0145,
                      "total": 0.0301,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.276686
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.260554
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.177114
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.117557
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.059753
                        }
                      ],
                      "others_margin": -0.389251
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05051032081246376,
                    "model_output": 0.0505,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0103
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0068
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0062
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0052
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0166,
                      "total": 0.0505,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.128382
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.086686
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.078452
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.071042
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.045799
                        }
                      ],
                      "others_margin": -0.286183
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.046952780336141586,
                    "model_output": 0.047,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0144
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0106
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0098
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.009
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0045
                        }
                      ],
                      "others": -0.0187,
                      "total": 0.047,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.165156
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.142394
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.131743
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.120185
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.066914
                        }
                      ],
                      "others_margin": -0.335789
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04738803207874298,
                    "model_output": 0.0474,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0172
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.014
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0068
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0059
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0045
                        }
                      ],
                      "others": -0.0136,
                      "total": 0.0474,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.194279
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.190985
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.108685
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.094105
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.070761
                        }
                      ],
                      "others_margin": -0.252367
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.14274731278419495,
                    "model_output": 0.1427,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0739
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0531
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.026
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0204
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0062
                        }
                      ],
                      "others": -0.0537,
                      "total": 0.1427,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.259059
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.23884
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.123981
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.096125
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.031018
                        }
                      ],
                      "others_margin": -0.318579
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5874690413475037,
                    "model_output": 0.5875,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2341
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1202
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0579
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.04
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0271
                        }
                      ],
                      "others": -0.1641,
                      "total": 0.5875,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.234143
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120188
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.057852
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.039952
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.027119
                        }
                      ],
                      "others_margin": -0.164117
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.875436782836914,
                    "model_output": 6.8754,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0375
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0322
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.03
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0223
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0176
                        }
                      ],
                      "others": -0.0333,
                      "total": 6.8754,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.037472
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.032173
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.03003
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.022291
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.017586
                        }
                      ],
                      "others_margin": -0.033231
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 36,
                  "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.9975, quality 0.437)",
              "stats": {
                "key_pass": 0.4301,
                "expected_assists": 0.0301,
                "assists": 0.0504,
                "assist_rate": 0.0504,
                "expected_goals": 0.0468,
                "goals": 0.0473,
                "goal_rate": 0.0473,
                "shots_on_target": 0.1424,
                "total_shots": 0.586,
                "rating": 6.8754,
                "minutes": 89.46,
                "total_pass": 51.206,
                "accurate_pass": 45.5216,
                "duels_won": 4.7652,
                "total_long_balls": 5.6677,
                "accurate_long_balls": 3.8961,
                "total_own_half_passes": 31.3208,
                "accurate_own_half_passes": 29.1657,
                "total_opp_half_passes": 19.8853,
                "accurate_opp_half_passes": 16.3559,
                "crosses_total": 0.1628,
                "crosses_accurate": 0.0113,
                "touches": 66.9912,
                "possession_lost": 7.4179,
                "dispossessed": 0.4731,
                "duels_lost": 2.9523,
                "aerial_won": 1.8269,
                "aerial_lost": 0.9913,
                "interceptions": 2.0256,
                "tackles_won": 1.4727,
                "tackles": 1.7953,
                "clearances": 5.0229,
                "total_contest": 0.4473,
                "won_contest": 0.4231,
                "challenges_lost": 0.3656,
                "fouls": 1.2496,
                "fouls_drawn": 0.7199,
                "blocks": 0.7656,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.099,
                "xgot": 0.0099,
                "ball_carries": 17.2527,
                "total_progression": 56.2019,
                "progressive_carries": 0.4513,
                "shots_off_target": 0.4436
              },
              "params": {
                "market_value_eur": 1600000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9975,
                "reference_quality": 0.505,
                "history_matches": 36,
                "history_shrink": 0.122,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.4301,
                "expected_assists": 0.0301,
                "assists": 0.0504,
                "assist_rate": 0.0504,
                "expected_goals": 0.0468,
                "goals": 0.0473,
                "goal_rate": 0.0473,
                "shots_on_target": 0.1424,
                "total_shots": 0.586,
                "rating": 6.8754,
                "minutes": 89.46,
                "total_pass": 51.206,
                "accurate_pass": 45.5216,
                "duels_won": 4.7652,
                "total_long_balls": 5.6677,
                "accurate_long_balls": 3.8961,
                "total_own_half_passes": 31.3208,
                "accurate_own_half_passes": 29.1657,
                "total_opp_half_passes": 19.8853,
                "accurate_opp_half_passes": 16.3559,
                "crosses_total": 0.1628,
                "crosses_accurate": 0.0113,
                "touches": 66.9912,
                "possession_lost": 7.4179,
                "dispossessed": 0.4731,
                "duels_lost": 2.9523,
                "aerial_won": 1.8269,
                "aerial_lost": 0.9913,
                "interceptions": 2.0256,
                "tackles_won": 1.4727,
                "tackles": 1.7953,
                "clearances": 5.0229,
                "total_contest": 0.4473,
                "won_contest": 0.4231,
                "challenges_lost": 0.3656,
                "fouls": 1.2496,
                "fouls_drawn": 0.7199,
                "blocks": 0.7656,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.099,
                "xgot": 0.0099,
                "ball_carries": 17.2527,
                "total_progression": 56.2019,
                "progressive_carries": 0.4513,
                "shots_off_target": 0.4436
              },
              "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.4301,
                "expected_assists": 0.0301,
                "assists": 0.0504,
                "assist_rate": 0.0504,
                "expected_goals": 0.0493,
                "goals": 0.0498,
                "goal_rate": 0.0498,
                "shots_on_target": 0.1499,
                "total_shots": 0.617,
                "rating": 6.8754,
                "minutes": 89.46,
                "total_pass": 51.206,
                "accurate_pass": 45.5216,
                "duels_won": 4.7652,
                "total_long_balls": 5.6677,
                "accurate_long_balls": 3.8961,
                "total_own_half_passes": 31.3208,
                "accurate_own_half_passes": 29.1657,
                "total_opp_half_passes": 19.8853,
                "accurate_opp_half_passes": 16.3559,
                "crosses_total": 0.1628,
                "crosses_accurate": 0.0113,
                "touches": 66.9912,
                "possession_lost": 7.4179,
                "dispossessed": 0.4731,
                "duels_lost": 2.9523,
                "aerial_won": 1.1,
                "aerial_lost": 0.9913,
                "interceptions": 2.0256,
                "tackles_won": 1.4727,
                "tackles": 1.7953,
                "clearances": 5.0229,
                "total_contest": 0.4473,
                "won_contest": 0.4231,
                "challenges_lost": 0.3656,
                "fouls": 1.2496,
                "fouls_drawn": 0.7199,
                "blocks": 0.7656,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1042,
                "xgot": 0.0104,
                "ball_carries": 17.2527,
                "total_progression": 56.2019,
                "progressive_carries": 0.4513,
                "shots_off_target": 0.4671,
                "duel_xg_multiplier": 1.0529,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.456,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iñigo Ruiz de Galarreta",
                  "matchup_zone": "CDM vs CDM",
                  "duel_win_rate": 0.456,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0529,
                  "skill_edge": 0.0,
                  "height_edge": 0.036,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.4374,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Iñigo Ruiz de Galarreta",
                      "market_value": 1800000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.0493
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.8269,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 0.586,
                  "after": 0.617
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4436,
                  "after": 0.4671
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1424,
                  "after": 0.1499
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.099,
                  "after": 0.1042
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "key_pass": 0.4301,
                "expected_assists": 0.0331,
                "assist_rate": 0.0504,
                "assists": 0,
                "expected_goals": 0.0543,
                "goal_rate": 0.0498,
                "goals": 0,
                "shots_on_target": 0.1499,
                "total_shots": 0.617,
                "rating": 6.8754,
                "minutes": 89.46,
                "total_pass": 51.206,
                "accurate_pass": 45.5216,
                "duels_won": 4.7652,
                "total_long_balls": 5.6677,
                "accurate_long_balls": 3.8961,
                "total_own_half_passes": 31.3208,
                "accurate_own_half_passes": 29.1657,
                "total_opp_half_passes": 19.8853,
                "accurate_opp_half_passes": 16.3559,
                "crosses_total": 0.1628,
                "crosses_accurate": 0.0113,
                "touches": 66.9912,
                "possession_lost": 7.4179,
                "dispossessed": 0.4731,
                "duels_lost": 2.9523,
                "aerial_won": 1.1,
                "aerial_lost": 0.9913,
                "interceptions": 2.0256,
                "tackles_won": 1.4727,
                "tackles": 1.7953,
                "clearances": 5.0229,
                "total_contest": 0.4473,
                "won_contest": 0.4231,
                "challenges_lost": 0.3656,
                "fouls": 1.2496,
                "fouls_drawn": 0.7199,
                "blocks": 0.7656,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1042,
                "xgot": 0.0114,
                "ball_carries": 17.2527,
                "total_progression": 56.2019,
                "progressive_carries": 0.4513,
                "shots_off_target": 0.4671,
                "duel_xg_multiplier": 1.0529,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.456,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.005,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0493,
                  "after": 0.0543
                }
              ]
            },
            {
              "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.4301,
                "expected_assists": 0.0331,
                "assist_rate": 0.0504,
                "assists": 0,
                "expected_goals": 0.0543,
                "goal_rate": 0.0498,
                "goals": 0,
                "shots_on_target": 0.1499,
                "total_shots": 0.617,
                "rating": 6.8754,
                "minutes": 89.46,
                "total_pass": 51.206,
                "accurate_pass": 45.5216,
                "duels_won": 4.7652,
                "total_long_balls": 5.6677,
                "accurate_long_balls": 3.8961,
                "total_own_half_passes": 31.3208,
                "accurate_own_half_passes": 29.1657,
                "total_opp_half_passes": 19.8853,
                "accurate_opp_half_passes": 16.3559,
                "crosses_total": 0.1628,
                "crosses_accurate": 0.0113,
                "touches": 66.9912,
                "possession_lost": 7.4179,
                "dispossessed": 0.4731,
                "duels_lost": 2.9523,
                "aerial_won": 1.1,
                "aerial_lost": 0.9913,
                "interceptions": 2.0256,
                "tackles_won": 1.4727,
                "tackles": 1.7953,
                "clearances": 5.0229,
                "total_contest": 0.4473,
                "won_contest": 0.4231,
                "challenges_lost": 0.3656,
                "fouls": 1.2496,
                "fouls_drawn": 0.7199,
                "blocks": 0.7656,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1042,
                "xgot": 0.0114,
                "ball_carries": 17.2527,
                "total_progression": 56.2019,
                "progressive_carries": 0.4513,
                "shots_off_target": 0.4671,
                "duel_xg_multiplier": 1.0529,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.456,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.005,
                "creation_factor": 1.25,
                "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": 620,
                "fifa_rank": 382.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": {
                "key_pass": 0.4301,
                "expected_assists": 0.0331,
                "assist_rate": 0.0504,
                "assists": 0,
                "expected_goals": 0.0543,
                "goal_rate": 0.0498,
                "goals": 0,
                "shots_on_target": 0.1499,
                "total_shots": 0.617,
                "rating": 6.8754,
                "minutes": 89.46,
                "total_pass": 51.206,
                "accurate_pass": 45.5216,
                "duels_won": 4.7652,
                "total_long_balls": 5.6677,
                "accurate_long_balls": 3.8961,
                "total_own_half_passes": 31.3208,
                "accurate_own_half_passes": 29.1657,
                "total_opp_half_passes": 19.8853,
                "accurate_opp_half_passes": 16.3559,
                "crosses_total": 0.1628,
                "crosses_accurate": 0.0113,
                "touches": 66.9912,
                "possession_lost": 7.4179,
                "dispossessed": 0.4731,
                "duels_lost": 2.9523,
                "aerial_won": 1.1,
                "aerial_lost": 0.9913,
                "interceptions": 2.0256,
                "tackles_won": 1.4727,
                "tackles": 1.7953,
                "clearances": 5.0229,
                "total_contest": 0.4473,
                "won_contest": 0.4231,
                "challenges_lost": 0.3656,
                "fouls": 1.2496,
                "fouls_drawn": 0.7199,
                "blocks": 0.7656,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1042,
                "xgot": 0.0114,
                "ball_carries": 17.2527,
                "total_progression": 56.2019,
                "progressive_carries": 0.4513,
                "shots_off_target": 0.4671,
                "duel_xg_multiplier": 1.0529,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.456,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0529,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.005,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0529,
                "scorer_weight": 0.0546,
                "squad_weight_total": 1.4853,
                "weight_share": 0.0367,
                "finishing_factor": 1.005,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "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.4301,
                "expected_assists": 0.0331,
                "assist_rate": 0.0504,
                "assists": 0,
                "expected_goals": 0.0543,
                "goal_rate": 0.0498,
                "goals": 0,
                "shots_on_target": 0.1499,
                "total_shots": 0.617,
                "rating": 6.8754,
                "minutes": 89.46,
                "total_pass": 51.206,
                "accurate_pass": 45.5216,
                "duels_won": 4.7652,
                "total_long_balls": 5.6677,
                "accurate_long_balls": 3.8961,
                "total_own_half_passes": 31.3208,
                "accurate_own_half_passes": 29.1657,
                "total_opp_half_passes": 19.8853,
                "accurate_opp_half_passes": 16.3559,
                "crosses_total": 0.1628,
                "crosses_accurate": 0.0113,
                "touches": 66.9912,
                "possession_lost": 7.4179,
                "dispossessed": 0.4731,
                "duels_lost": 2.9523,
                "aerial_won": 1.1,
                "aerial_lost": 0.9913,
                "interceptions": 2.0256,
                "tackles_won": 1.4727,
                "tackles": 1.7953,
                "clearances": 5.0229,
                "total_contest": 0.4473,
                "won_contest": 0.4231,
                "challenges_lost": 0.3656,
                "fouls": 1.2496,
                "fouls_drawn": 0.7199,
                "blocks": 0.7656,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1042,
                "xgot": 0.0114,
                "ball_carries": 17.2527,
                "total_progression": 56.2019,
                "progressive_carries": 0.4513,
                "shots_off_target": 0.4671,
                "duel_xg_multiplier": 1.0529,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.456,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0529,
                "projected_assists": 0,
                "assist_probability": 0.0326,
                "finishing_factor": 1.005,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0326,
                "provider_weight": 0.0414,
                "squad_weight_total": 0.9695,
                "weight_share": 0.0427,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Isi Palazón": {
          "player_id": 899982,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 7,
          "height": 169,
          "market_value": 3000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1219,
            "assist_rate": 0.0952,
            "assists": 0,
            "expected_goals": 0.1612,
            "goal_rate": 0.146,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 2,
            "rating": 6.825,
            "minutes": 69,
            "total_pass": 23,
            "accurate_pass": 19,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 10,
            "accurate_own_half_passes": 9,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 10,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 38,
            "possession_lost": 10.2903,
            "dispossessed": 1.2827,
            "duels_lost": 5,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.092,
            "ball_carries": 10,
            "total_progression": 25,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9733,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.432,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Iñigo Ruiz de Galarreta",
            "opponent_faced": "Iñigo Ruiz de Galarreta",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1489,
            "projected_assists": 0,
            "assist_probability": 0.1148,
            "finishing_factor": 0.998,
            "creation_factor": 0.9035,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 17,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0435,
                "expected_assists": 0.004,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 4,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 64,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0079,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 11,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "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": 14083239,
              "match_date": "2026-04-26",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 68,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1087,
                "expected_assists": 0.0057,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 23,
                "accurate_pass": 19,
                "key_pass": 2,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083330,
              "match_date": "2026-04-23",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2945,
                "expected_assists": 0.261,
                "total_shots": 7,
                "shots_on_target": 3,
                "shots_off_target": 3,
                "total_pass": 26,
                "accurate_pass": 22,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083697,
              "match_date": "2026-04-03",
              "home_team": "Rayo Vallecano",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Elche",
              "stats": {
                "minutes": 66,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0194,
                "expected_assists": 0.0576,
                "total_shots": 1,
                "total_pass": 22,
                "accurate_pass": 18,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083662,
              "match_date": "2026-03-22",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2705,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 21,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 9,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083647,
              "match_date": "2026-03-16",
              "home_team": "Rayo Vallecano",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 25,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0612,
                "expected_assists": 0.0225,
                "total_shots": 2,
                "total_pass": 16,
                "accurate_pass": 11,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081804,
              "match_date": "2026-03-08",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 86,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0193,
                "expected_assists": 0.085,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 29,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 15534915,
              "match_date": "2026-03-04",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 25,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.014,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 17,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081790,
              "match_date": "2026-02-28",
              "home_team": "Rayo Vallecano",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 69,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0185,
                "expected_assists": 0.1887,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 15,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 7,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1652,
            "combined_rank_score": 826.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 671.0,
            "sofascore_rating": 6.7258,
            "sofascore_appearances": 31.0,
            "fifa_rank": 981.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.825,
            "source_file": "data/player_rankings.csv",
            "player_name": "Isi Palazón",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Josh Risdon",
                  "ranking": 1647
                },
                {
                  "player_name": "Georges Mikautadze",
                  "ranking": 1648
                },
                {
                  "player_name": "Trai Hume",
                  "ranking": 1649
                },
                {
                  "player_name": "Alfonso Pedraza",
                  "ranking": 1650
                },
                {
                  "player_name": "Lukáš Provod",
                  "ranking": 1651
                }
              ],
              "lower": [
                {
                  "player_name": "Walter Benítez",
                  "ranking": 1653
                },
                {
                  "player_name": "Khumoyun Sherbutaev",
                  "ranking": 1654
                },
                {
                  "player_name": "Kuvonchbek Khushvaktov",
                  "ranking": 1655
                },
                {
                  "player_name": "Florian Grillitsch",
                  "ranking": 1656
                },
                {
                  "player_name": "Zakaria Labyad",
                  "ranking": 1657
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 33,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 33,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9973,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 33 historical appearances across 8 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.1721,
                "expected_assists": 0.111,
                "assists": 0.0954,
                "assist_rate": 0.0954,
                "expected_goals": 0.1508,
                "goals": 0.1504,
                "goal_rate": 0.1504,
                "shots_on_target": 0.5129,
                "total_shots": 1.6161,
                "rating": 6.825,
                "minutes": 68.61,
                "total_pass": 23.0779,
                "accurate_pass": 18.9211,
                "duels_won": 3.9926,
                "total_long_balls": 2.0066,
                "accurate_long_balls": 1.0417,
                "total_own_half_passes": 9.7725,
                "accurate_own_half_passes": 8.5297,
                "total_opp_half_passes": 13.3054,
                "accurate_opp_half_passes": 10.3914,
                "crosses_total": 2.9214,
                "crosses_accurate": 0.7624,
                "touches": 38.4049,
                "possession_lost": 10.3182,
                "dispossessed": 1.2862,
                "duels_lost": 4.7774,
                "aerial_won": 0.8509,
                "aerial_lost": 0.9452,
                "interceptions": 0.0628,
                "tackles_won": 0.4499,
                "tackles": 1.2665,
                "clearances": 1.1391,
                "total_contest": 1.1779,
                "won_contest": 0.5093,
                "challenges_lost": 0.8614,
                "fouls": 1.0615,
                "fouls_drawn": 1.3678,
                "blocks": 0.1286,
                "big_chances_created": 0.2728,
                "big_chances_missed": 0.1771,
                "xgot": 0.0861,
                "ball_carries": 9.796,
                "total_progression": 25.3652,
                "progressive_carries": 1.2366,
                "shots_off_target": 1.1032
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-09T10:04:11.914604+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 17.0,
                    "is_starting": true,
                    "weight": 0.1507,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.1281,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Real Sociedad",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1089,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0926,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-04-03",
                    "opponent": "Elche",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0787,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0669,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-03-16",
                    "opponent": "Levante UD",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0568,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-03-08",
                    "opponent": "Sevilla",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.0483,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-03-04",
                    "opponent": "Real Oviedo",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0411,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-02-28",
                    "opponent": "Athletic Club",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.7391,
                  "creative_index": 0.4476,
                  "expectedGoals": 0.0986,
                  "expectedAssists": 0.0913,
                  "onTargetScoringAttempt": 0.4169
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.1720777750015259,
                    "model_output": 1.1721,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1196
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0861
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0476
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0316
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0282
                        }
                      ],
                      "others": 0.0292,
                      "total": 1.1721,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.126631
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.082133
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.042696
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.027343
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.024388
                        }
                      ],
                      "others_margin": 0.025179
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.11101233959197998,
                    "model_output": 0.111,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0143
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0094
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0061
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0035
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0028
                        }
                      ],
                      "others": 0.0017,
                      "total": 0.111,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.154346
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.089904
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.054185
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.030359
                        },
                        {
                          "name": "rating",
                          "margin": -0.025737
                        }
                      ],
                      "others_margin": 0.015594
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09541734308004379,
                    "model_output": 0.0954,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0077
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0058
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0057
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0039
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0035
                        }
                      ],
                      "others": -0.001,
                      "total": 0.0954,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.095297
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.071588
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.066335
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.042494
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.037064
                        }
                      ],
                      "others_margin": -0.009273
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.15084713697433472,
                    "model_output": 0.1508,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0159
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0114
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0089
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0087
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0057
                        }
                      ],
                      "others": 0.0172,
                      "total": 0.1508,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.155501
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.098287
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.070367
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.064281
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.041522
                        }
                      ],
                      "others_margin": 0.121516
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.15044042468070984,
                    "model_output": 0.1504,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0322
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0147
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0127
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0107
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0065
                        }
                      ],
                      "others": -0.0026,
                      "total": 0.1504,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.284633
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.107193
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.084528
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.070168
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.043449
                        }
                      ],
                      "others_margin": -0.017408
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5128821730613708,
                    "model_output": 0.5129,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0872
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.059
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0451
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0316
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0262
                        }
                      ],
                      "others": 0.003,
                      "total": 0.5129,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.238308
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.134061
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.091566
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.063211
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.052657
                        }
                      ],
                      "others_margin": 0.00595
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.6160327196121216,
                    "model_output": 1.616,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.4055
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1562
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0656
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0401
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0187
                        }
                      ],
                      "others": 0.0196,
                      "total": 1.616,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.405484
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.15623
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.065581
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.040119
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.018728
                        }
                      ],
                      "others_margin": 0.019664
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.8249831199646,
                    "model_output": 6.825,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0285
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0261
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0158
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0095
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0094
                        }
                      ],
                      "others": -0.0056,
                      "total": 6.825,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.028515
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.026056
                        },
                        {
                          "name": "rating",
                          "margin": -0.015751
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.009546
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.009394
                        }
                      ],
                      "others_margin": -0.005527
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 33,
                  "role_matches": 29,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9973, quality 0.437)",
              "stats": {
                "key_pass": 1.1689,
                "expected_assists": 0.1107,
                "assists": 0.0952,
                "assist_rate": 0.0952,
                "expected_goals": 0.1504,
                "goals": 0.15,
                "goal_rate": 0.15,
                "shots_on_target": 0.5115,
                "total_shots": 1.6117,
                "rating": 6.825,
                "minutes": 68.61,
                "total_pass": 23.0156,
                "accurate_pass": 18.87,
                "duels_won": 3.9818,
                "total_long_balls": 2.0012,
                "accurate_long_balls": 1.0389,
                "total_own_half_passes": 9.7461,
                "accurate_own_half_passes": 8.5067,
                "total_opp_half_passes": 13.2695,
                "accurate_opp_half_passes": 10.3633,
                "crosses_total": 2.9135,
                "crosses_accurate": 0.7603,
                "touches": 38.3012,
                "possession_lost": 10.2903,
                "dispossessed": 1.2827,
                "duels_lost": 4.7645,
                "aerial_won": 0.8486,
                "aerial_lost": 0.9426,
                "interceptions": 0.0626,
                "tackles_won": 0.4487,
                "tackles": 1.2631,
                "clearances": 1.136,
                "total_contest": 1.1747,
                "won_contest": 0.5079,
                "challenges_lost": 0.8591,
                "fouls": 1.0586,
                "fouls_drawn": 1.3641,
                "blocks": 0.1283,
                "big_chances_created": 0.2721,
                "big_chances_missed": 0.1766,
                "xgot": 0.0859,
                "ball_carries": 9.7696,
                "total_progression": 25.2967,
                "progressive_carries": 1.2333,
                "shots_off_target": 1.1002
              },
              "params": {
                "market_value_eur": 3000000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9973,
                "reference_quality": 0.505,
                "history_matches": 33,
                "history_shrink": 0.1316,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.1689,
                "expected_assists": 0.1107,
                "assists": 0.0952,
                "assist_rate": 0.0952,
                "expected_goals": 0.1504,
                "goals": 0.15,
                "goal_rate": 0.15,
                "shots_on_target": 0.5115,
                "total_shots": 1.6117,
                "rating": 6.825,
                "minutes": 68.61,
                "total_pass": 23.0156,
                "accurate_pass": 18.87,
                "duels_won": 3.9818,
                "total_long_balls": 2.0012,
                "accurate_long_balls": 1.0389,
                "total_own_half_passes": 9.7461,
                "accurate_own_half_passes": 8.5067,
                "total_opp_half_passes": 13.2695,
                "accurate_opp_half_passes": 10.3633,
                "crosses_total": 2.9135,
                "crosses_accurate": 0.7603,
                "touches": 38.3012,
                "possession_lost": 10.2903,
                "dispossessed": 1.2827,
                "duels_lost": 4.7645,
                "aerial_won": 0.8486,
                "aerial_lost": 0.9426,
                "interceptions": 0.0626,
                "tackles_won": 0.4487,
                "tackles": 1.2631,
                "clearances": 1.136,
                "total_contest": 1.1747,
                "won_contest": 0.5079,
                "challenges_lost": 0.8591,
                "fouls": 1.0586,
                "fouls_drawn": 1.3641,
                "blocks": 0.1283,
                "big_chances_created": 0.2721,
                "big_chances_missed": 0.1766,
                "xgot": 0.0859,
                "ball_carries": 9.7696,
                "total_progression": 25.2967,
                "progressive_carries": 1.2333,
                "shots_off_target": 1.1002
              },
              "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.1689,
                "expected_assists": 0.1107,
                "assists": 0.0952,
                "assist_rate": 0.0952,
                "expected_goals": 0.1464,
                "goals": 0.146,
                "goal_rate": 0.146,
                "shots_on_target": 0.4978,
                "total_shots": 1.5687,
                "rating": 6.825,
                "minutes": 68.61,
                "total_pass": 23.0156,
                "accurate_pass": 18.87,
                "duels_won": 3.9818,
                "total_long_balls": 2.0012,
                "accurate_long_balls": 1.0389,
                "total_own_half_passes": 9.7461,
                "accurate_own_half_passes": 8.5067,
                "total_opp_half_passes": 13.2695,
                "accurate_opp_half_passes": 10.3633,
                "crosses_total": 2.9135,
                "crosses_accurate": 0.7603,
                "touches": 38.3012,
                "possession_lost": 10.2903,
                "dispossessed": 1.2827,
                "duels_lost": 4.7645,
                "aerial_won": 0.8,
                "aerial_lost": 0.9426,
                "interceptions": 0.0626,
                "tackles_won": 0.4487,
                "tackles": 1.2631,
                "clearances": 1.136,
                "total_contest": 1.1747,
                "won_contest": 0.5079,
                "challenges_lost": 0.8591,
                "fouls": 1.0586,
                "fouls_drawn": 1.3641,
                "blocks": 0.1283,
                "big_chances_created": 0.2721,
                "big_chances_missed": 0.1719,
                "xgot": 0.0836,
                "ball_carries": 9.7696,
                "total_progression": 25.2967,
                "progressive_carries": 1.2333,
                "shots_off_target": 1.0708,
                "duel_xg_multiplier": 0.9733,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.432,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iñigo Ruiz de Galarreta",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.432,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9733,
                  "skill_edge": 0.0019,
                  "height_edge": -0.02,
                  "attacker_skill": 0.4416,
                  "defender_skill": 0.4374,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Iñigo Ruiz de Galarreta",
                      "market_value": 1800000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.1464
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.8486,
                  "after": 0.8
                },
                {
                  "stat": "totalShots",
                  "before": 1.6117,
                  "after": 1.5687
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.1002,
                  "after": 1.0708
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5115,
                  "after": 0.4978
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "key_pass": 1.1689,
                "expected_assists": 0.1219,
                "assist_rate": 0.0952,
                "assists": 0,
                "expected_goals": 0.1612,
                "goal_rate": 0.146,
                "goals": 0,
                "shots_on_target": 0.4978,
                "total_shots": 1.5687,
                "rating": 6.825,
                "minutes": 68.61,
                "total_pass": 23.0156,
                "accurate_pass": 18.87,
                "duels_won": 3.9818,
                "total_long_balls": 2.0012,
                "accurate_long_balls": 1.0389,
                "total_own_half_passes": 9.7461,
                "accurate_own_half_passes": 8.5067,
                "total_opp_half_passes": 13.2695,
                "accurate_opp_half_passes": 10.3633,
                "crosses_total": 2.9135,
                "crosses_accurate": 0.7603,
                "touches": 38.3012,
                "possession_lost": 10.2903,
                "dispossessed": 1.2827,
                "duels_lost": 4.7645,
                "aerial_won": 0.8,
                "aerial_lost": 0.9426,
                "interceptions": 0.0626,
                "tackles_won": 0.4487,
                "tackles": 1.2631,
                "clearances": 1.136,
                "total_contest": 1.1747,
                "won_contest": 0.5079,
                "challenges_lost": 0.8591,
                "fouls": 1.0586,
                "fouls_drawn": 1.3641,
                "blocks": 0.1283,
                "big_chances_created": 0.2721,
                "big_chances_missed": 0.1719,
                "xgot": 0.092,
                "ball_carries": 9.7696,
                "total_progression": 25.2967,
                "progressive_carries": 1.2333,
                "shots_off_target": 1.0708,
                "duel_xg_multiplier": 0.9733,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.432,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.998,
                "creation_factor": 0.9035
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1464,
                  "after": 0.1612
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1107,
                  "after": 0.1219
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 8 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "key_pass": 1.1689,
                "expected_assists": 0.1219,
                "assist_rate": 0.0952,
                "assists": 0,
                "expected_goals": 0.1612,
                "goal_rate": 0.146,
                "goals": 0,
                "shots_on_target": 0.4978,
                "total_shots": 1.5687,
                "rating": 6.825,
                "minutes": 68.61,
                "total_pass": 23.0156,
                "accurate_pass": 18.87,
                "duels_won": 3.9818,
                "total_long_balls": 2.0012,
                "accurate_long_balls": 1.0389,
                "total_own_half_passes": 9.7461,
                "accurate_own_half_passes": 8.5067,
                "total_opp_half_passes": 13.2695,
                "accurate_opp_half_passes": 10.3633,
                "crosses_total": 2.9135,
                "crosses_accurate": 0.7603,
                "touches": 38.3012,
                "possession_lost": 10.2903,
                "dispossessed": 1.2827,
                "duels_lost": 4.7645,
                "aerial_won": 0.8,
                "aerial_lost": 0.9426,
                "interceptions": 0.0626,
                "tackles_won": 0.4487,
                "tackles": 1.2631,
                "clearances": 1.136,
                "total_contest": 1.1747,
                "won_contest": 0.5079,
                "challenges_lost": 0.8591,
                "fouls": 1.0586,
                "fouls_drawn": 1.3641,
                "blocks": 0.1283,
                "big_chances_created": 0.2721,
                "big_chances_missed": 0.1719,
                "xgot": 0.092,
                "ball_carries": 9.7696,
                "total_progression": 25.2967,
                "progressive_carries": 1.2333,
                "shots_off_target": 1.0708,
                "duel_xg_multiplier": 0.9733,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.432,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.998,
                "creation_factor": 0.9035,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1652,
                "fifa_rank": 981.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.1689,
                "expected_assists": 0.1219,
                "assist_rate": 0.0952,
                "assists": 0,
                "expected_goals": 0.1612,
                "goal_rate": 0.146,
                "goals": 0,
                "shots_on_target": 0.4978,
                "total_shots": 1.5687,
                "rating": 6.825,
                "minutes": 68.61,
                "total_pass": 23.0156,
                "accurate_pass": 18.87,
                "duels_won": 3.9818,
                "total_long_balls": 2.0012,
                "accurate_long_balls": 1.0389,
                "total_own_half_passes": 9.7461,
                "accurate_own_half_passes": 8.5067,
                "total_opp_half_passes": 13.2695,
                "accurate_opp_half_passes": 10.3633,
                "crosses_total": 2.9135,
                "crosses_accurate": 0.7603,
                "touches": 38.3012,
                "possession_lost": 10.2903,
                "dispossessed": 1.2827,
                "duels_lost": 4.7645,
                "aerial_won": 0.8,
                "aerial_lost": 0.9426,
                "interceptions": 0.0626,
                "tackles_won": 0.4487,
                "tackles": 1.2631,
                "clearances": 1.136,
                "total_contest": 1.1747,
                "won_contest": 0.5079,
                "challenges_lost": 0.8591,
                "fouls": 1.0586,
                "fouls_drawn": 1.3641,
                "blocks": 0.1283,
                "big_chances_created": 0.2721,
                "big_chances_missed": 0.1719,
                "xgot": 0.092,
                "ball_carries": 9.7696,
                "total_progression": 25.2967,
                "progressive_carries": 1.2333,
                "shots_off_target": 1.0708,
                "duel_xg_multiplier": 0.9733,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.432,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1489,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.998,
                "creation_factor": 0.9035,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1489,
                "scorer_weight": 0.1609,
                "squad_weight_total": 1.4853,
                "weight_share": 0.1083,
                "finishing_factor": 0.998,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.1689,
                "expected_assists": 0.1219,
                "assist_rate": 0.0952,
                "assists": 0,
                "expected_goals": 0.1612,
                "goal_rate": 0.146,
                "goals": 0,
                "shots_on_target": 0.4978,
                "total_shots": 1.5687,
                "rating": 6.825,
                "minutes": 68.61,
                "total_pass": 23.0156,
                "accurate_pass": 18.87,
                "duels_won": 3.9818,
                "total_long_balls": 2.0012,
                "accurate_long_balls": 1.0389,
                "total_own_half_passes": 9.7461,
                "accurate_own_half_passes": 8.5067,
                "total_opp_half_passes": 13.2695,
                "accurate_opp_half_passes": 10.3633,
                "crosses_total": 2.9135,
                "crosses_accurate": 0.7603,
                "touches": 38.3012,
                "possession_lost": 10.2903,
                "dispossessed": 1.2827,
                "duels_lost": 4.7645,
                "aerial_won": 0.8,
                "aerial_lost": 0.9426,
                "interceptions": 0.0626,
                "tackles_won": 0.4487,
                "tackles": 1.2631,
                "clearances": 1.136,
                "total_contest": 1.1747,
                "won_contest": 0.5079,
                "challenges_lost": 0.8591,
                "fouls": 1.0586,
                "fouls_drawn": 1.3641,
                "blocks": 0.1283,
                "big_chances_created": 0.2721,
                "big_chances_missed": 0.1719,
                "xgot": 0.092,
                "ball_carries": 9.7696,
                "total_progression": 25.2967,
                "progressive_carries": 1.2333,
                "shots_off_target": 1.0708,
                "duel_xg_multiplier": 0.9733,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.432,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1489,
                "projected_assists": 0,
                "assist_probability": 0.1148,
                "finishing_factor": 0.998,
                "creation_factor": 0.9035,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1148,
                "provider_weight": 0.1101,
                "squad_weight_total": 0.9695,
                "weight_share": 0.1136,
                "creation_factor": 0.9035,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Unai López": {
          "player_id": 588566,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 169,
          "market_value": 2600000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.1484,
            "assist_rate": 0.1051,
            "assists": 0,
            "expected_goals": 0.0648,
            "goal_rate": 0.0611,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.027,
            "minutes": 80,
            "total_pass": 54,
            "accurate_pass": 46,
            "duels_won": 4,
            "total_long_balls": 8,
            "accurate_long_balls": 4,
            "total_own_half_passes": 25,
            "accurate_own_half_passes": 23,
            "total_opp_half_passes": 29,
            "accurate_opp_half_passes": 23,
            "crosses_total": 5,
            "crosses_accurate": 1,
            "touches": 68,
            "possession_lost": 12.4211,
            "dispossessed": 0.5723,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0225,
            "ball_carries": 19,
            "total_progression": 39,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9706,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.43,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Iñigo Ruiz de Galarreta",
            "opponent_faced": "Iñigo Ruiz de Galarreta",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0627,
            "projected_assists": 0,
            "assist_probability": 0.1379,
            "finishing_factor": 1.0202,
            "creation_factor": 0.8393,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 87,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0111,
                "expected_assists": 0.1998,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 75,
                "accurate_pass": 63,
                "key_pass": 3,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 61,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1235,
                "expected_assists": 0.1178,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 54,
                "accurate_pass": 48,
                "key_pass": 1,
                "tackles": 1,
                "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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 75,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0293,
                "expected_assists": 0.0223,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 58,
                "accurate_pass": 51,
                "key_pass": 1,
                "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": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.0699,
                "expected_assists": 0.4677,
                "total_shots": 1,
                "total_pass": 63,
                "accurate_pass": 52,
                "key_pass": 5,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 75,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.1372,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0258,
                "expected_assists": 0.1907,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 48,
                "accurate_pass": 41,
                "key_pass": 5,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 78,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0046,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 25,
                "tackles": 2,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 4,
                "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": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 82,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1297,
                "total_shots": 0,
                "total_pass": 61,
                "accurate_pass": 53,
                "key_pass": 3,
                "tackles": 3,
                "tackles_won": 2,
                "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": "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": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Valencia",
              "stats": {
                "minutes": 23,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0053,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 16,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 88,
                "rating": 6.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0402,
                "expected_assists": 0.0302,
                "total_shots": 1,
                "total_pass": 53,
                "accurate_pass": 48,
                "key_pass": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 3158,
            "combined_rank_score": 1124.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 292.0,
            "sofascore_rating": 7.05,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1956.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.027,
            "source_file": "data/player_rankings.csv",
            "player_name": "Unai López",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Tammy Abraham",
                  "ranking": 3153
                },
                {
                  "player_name": "Rafa Marín",
                  "ranking": 3154
                },
                {
                  "player_name": "Jake O'Brien",
                  "ranking": 3155
                },
                {
                  "player_name": "Robin Hranáč",
                  "ranking": 3156
                },
                {
                  "player_name": "Jhon Durán",
                  "ranking": 3157
                }
              ],
              "lower": [
                {
                  "player_name": "Clément Lenglet",
                  "ranking": 3159
                },
                {
                  "player_name": "Albion Rrahmani",
                  "ranking": 3160
                },
                {
                  "player_name": "Leon Bailey",
                  "ranking": 3161
                },
                {
                  "player_name": "Jack Clarke",
                  "ranking": 3162
                },
                {
                  "player_name": "Vitor Reis",
                  "ranking": 3163
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.777,
          "history_matches": 35,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 35,
            "data_confidence": 0.777,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9975,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 241.0,
              "goals_per90": 0.0,
              "assists_per90": 0.3703703703703703,
              "shots_per90": 0.37,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.18
            },
            "rationale": "XGBoost regressor (M_service) evaluated 35 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Rayo Vallecano, rel: 0.18, gls/90: 0.0, ast/90: 0.3703703703703703)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.6351,
                "expected_assists": 0.1351,
                "assists": 0.102,
                "assist_rate": 0.102,
                "expected_goals": 0.0609,
                "goals": 0.064,
                "goal_rate": 0.064,
                "shots_on_target": 0.2753,
                "total_shots": 0.9018,
                "rating": 7.027,
                "minutes": 79.88,
                "total_pass": 54.0211,
                "accurate_pass": 46.4524,
                "duels_won": 3.5465,
                "total_long_balls": 7.5558,
                "accurate_long_balls": 3.808,
                "total_own_half_passes": 24.5787,
                "accurate_own_half_passes": 23.2223,
                "total_opp_half_passes": 29.4424,
                "accurate_opp_half_passes": 23.2301,
                "crosses_total": 4.7229,
                "crosses_accurate": 1.2032,
                "touches": 68.039,
                "possession_lost": 12.4522,
                "dispossessed": 0.5737,
                "duels_lost": 3.9991,
                "aerial_won": 0.4423,
                "aerial_lost": 0.8451,
                "interceptions": 0.6393,
                "tackles_won": 1.2173,
                "tackles": 1.8418,
                "clearances": 0.8317,
                "total_contest": 0.7847,
                "won_contest": 0.4952,
                "challenges_lost": 0.9865,
                "fouls": 1.3199,
                "fouls_drawn": 0.7672,
                "blocks": 0.3971,
                "big_chances_created": 0.3632,
                "big_chances_missed": 0.0,
                "xgot": 0.0211,
                "ball_carries": 19.0517,
                "total_progression": 39.1488,
                "progressive_carries": 0.4671,
                "shots_off_target": 0.6264
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-09T10:04:11.914604+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.1505,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Villarreal",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Valencia",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-11",
                    "opponent": "Girona FC",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.7469,
                  "creative_index": 0.8843,
                  "expectedGoals": 0.0373,
                  "expectedAssists": 0.13,
                  "onTargetScoringAttempt": 0.094
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.6351048946380615,
                    "model_output": 1.6351,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.2148
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1647
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.1181
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1142
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0772
                        }
                      ],
                      "others": 0.0599,
                      "total": 1.6351,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.217009
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.139403
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.089196
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.079298
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.050269
                        }
                      ],
                      "others_margin": 0.037347
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.13511739671230316,
                    "model_output": 0.1351,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0137
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0138
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0088
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.005
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0051
                        }
                      ],
                      "others": 0.0205,
                      "total": 0.1351,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.148522
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.129504
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.081246
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.046423
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.045238
                        }
                      ],
                      "others_margin": 0.165995
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.10202017426490784,
                    "model_output": 0.102,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": 0.0139
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0119
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0113
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.012
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0076
                        }
                      ],
                      "others": -0.0161,
                      "total": 0.102,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": 0.150894
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.128259
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.122307
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.115052
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.066356
                        }
                      ],
                      "others_margin": -0.146529
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06085675209760666,
                    "model_output": 0.0609,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0132
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0128
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0081
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0055
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0147,
                      "total": 0.0609,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.150711
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.146225
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.09046
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.065994
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.061995
                        }
                      ],
                      "others_margin": -0.21638
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06401296705007553,
                    "model_output": 0.064,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0122
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0101
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0081
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0066
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0038
                        }
                      ],
                      "others": -0.009,
                      "total": 0.064,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.133692
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.126186
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.101714
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.082545
                        },
                        {
                          "name": "goals",
                          "margin": -0.050781
                        }
                      ],
                      "others_margin": -0.130766
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.27533379197120667,
                    "model_output": 0.2753,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0438
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0437
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0113
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0084
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0083
                        }
                      ],
                      "others": -0.0376,
                      "total": 0.2753,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.126835
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.126513
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.035598
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.026479
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.026127
                        }
                      ],
                      "others_margin": -0.127806
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9017652869224548,
                    "model_output": 0.9018,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1353
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0802
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0558
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0332
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0322
                        }
                      ],
                      "others": -0.087,
                      "total": 0.9018,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.135298
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.08018
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.055831
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.033218
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.03217
                        }
                      ],
                      "others_margin": -0.086937
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.027013778686523,
                    "model_output": 7.027,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1097
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0357
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0212
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0192
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0148
                        }
                      ],
                      "others": 0.0159,
                      "total": 7.027,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.109661
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.03568
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.021236
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.01919
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.014773
                        }
                      ],
                      "others_margin": 0.015983
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 35,
                  "role_matches": 26,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9975, quality 0.437)",
              "stats": {
                "key_pass": 1.631,
                "expected_assists": 0.1348,
                "assists": 0.1018,
                "assist_rate": 0.1018,
                "expected_goals": 0.0607,
                "goals": 0.0639,
                "goal_rate": 0.0639,
                "shots_on_target": 0.2746,
                "total_shots": 0.8995,
                "rating": 7.027,
                "minutes": 79.88,
                "total_pass": 53.886,
                "accurate_pass": 46.3363,
                "duels_won": 3.5376,
                "total_long_balls": 7.5369,
                "accurate_long_balls": 3.7985,
                "total_own_half_passes": 24.5173,
                "accurate_own_half_passes": 23.1642,
                "total_opp_half_passes": 29.3688,
                "accurate_opp_half_passes": 23.172,
                "crosses_total": 4.7111,
                "crosses_accurate": 1.2002,
                "touches": 67.8689,
                "possession_lost": 12.4211,
                "dispossessed": 0.5723,
                "duels_lost": 3.9891,
                "aerial_won": 0.4412,
                "aerial_lost": 0.843,
                "interceptions": 0.6377,
                "tackles_won": 1.2143,
                "tackles": 1.8372,
                "clearances": 0.8296,
                "total_contest": 0.7827,
                "won_contest": 0.494,
                "challenges_lost": 0.984,
                "fouls": 1.3166,
                "fouls_drawn": 0.7653,
                "blocks": 0.3961,
                "big_chances_created": 0.3623,
                "big_chances_missed": 0.0,
                "xgot": 0.021,
                "ball_carries": 19.0041,
                "total_progression": 39.0509,
                "progressive_carries": 0.4659,
                "shots_off_target": 0.6248
              },
              "params": {
                "market_value_eur": 2600000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9975,
                "reference_quality": 0.505,
                "history_matches": 35,
                "history_shrink": 0.125,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0146)",
              "stats": {
                "key_pass": 1.631,
                "expected_assists": 0.1348,
                "assists": 0.1051,
                "assist_rate": 0.1051,
                "expected_goals": 0.0607,
                "goals": 0.063,
                "goal_rate": 0.063,
                "shots_on_target": 0.2754,
                "total_shots": 0.8911,
                "rating": 7.027,
                "minutes": 79.88,
                "total_pass": 53.886,
                "accurate_pass": 46.3363,
                "duels_won": 3.5376,
                "total_long_balls": 7.5369,
                "accurate_long_balls": 3.7985,
                "total_own_half_passes": 24.5173,
                "accurate_own_half_passes": 23.1642,
                "total_opp_half_passes": 29.3688,
                "accurate_opp_half_passes": 23.172,
                "crosses_total": 4.7095,
                "crosses_accurate": 1.2002,
                "touches": 67.8689,
                "possession_lost": 12.4211,
                "dispossessed": 0.5723,
                "duels_lost": 3.9891,
                "aerial_won": 0.4412,
                "aerial_lost": 0.843,
                "interceptions": 0.638,
                "tackles_won": 1.2206,
                "tackles": 1.8372,
                "clearances": 0.8296,
                "total_contest": 0.7827,
                "won_contest": 0.494,
                "challenges_lost": 0.984,
                "fouls": 1.3214,
                "fouls_drawn": 0.7637,
                "blocks": 0.3961,
                "big_chances_created": 0.3623,
                "big_chances_missed": 0.0,
                "xgot": 0.021,
                "ball_carries": 19.0041,
                "total_progression": 39.0509,
                "progressive_carries": 0.4659,
                "shots_off_target": 0.6248
              },
              "params": {
                "blend_weight": 0.0146,
                "history_matches": 35,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8876,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.8995,
                  "after": 0.8911
                },
                {
                  "stat": "wonTackle",
                  "before": 1.2143,
                  "after": 1.2206
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.631,
                "expected_assists": 0.1348,
                "assists": 0.1051,
                "assist_rate": 0.1051,
                "expected_goals": 0.0607,
                "goals": 0.063,
                "goal_rate": 0.063,
                "shots_on_target": 0.2754,
                "total_shots": 0.9002,
                "rating": 7.027,
                "minutes": 79.88,
                "total_pass": 53.886,
                "accurate_pass": 46.3363,
                "duels_won": 3.5376,
                "total_long_balls": 7.5369,
                "accurate_long_balls": 3.7985,
                "total_own_half_passes": 24.5173,
                "accurate_own_half_passes": 23.1642,
                "total_opp_half_passes": 29.3688,
                "accurate_opp_half_passes": 23.172,
                "crosses_total": 4.7095,
                "crosses_accurate": 1.2002,
                "touches": 67.8689,
                "possession_lost": 12.4211,
                "dispossessed": 0.5723,
                "duels_lost": 3.9891,
                "aerial_won": 0.4412,
                "aerial_lost": 0.843,
                "interceptions": 0.638,
                "tackles_won": 1.2206,
                "tackles": 1.8372,
                "clearances": 0.8296,
                "total_contest": 0.7827,
                "won_contest": 0.494,
                "challenges_lost": 0.984,
                "fouls": 1.3214,
                "fouls_drawn": 0.7637,
                "blocks": 0.3961,
                "big_chances_created": 0.3623,
                "big_chances_missed": 0.0,
                "xgot": 0.021,
                "ball_carries": 19.0041,
                "total_progression": 39.0509,
                "progressive_carries": 0.4659,
                "shots_off_target": 0.6248
              },
              "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.631,
                "expected_assists": 0.1348,
                "assists": 0.1051,
                "assist_rate": 0.1051,
                "expected_goals": 0.0589,
                "goals": 0.0611,
                "goal_rate": 0.0611,
                "shots_on_target": 0.2673,
                "total_shots": 0.8737,
                "rating": 7.027,
                "minutes": 79.88,
                "total_pass": 53.886,
                "accurate_pass": 46.3363,
                "duels_won": 3.5376,
                "total_long_balls": 7.5369,
                "accurate_long_balls": 3.7985,
                "total_own_half_passes": 24.5173,
                "accurate_own_half_passes": 23.1642,
                "total_opp_half_passes": 29.3688,
                "accurate_opp_half_passes": 23.172,
                "crosses_total": 4.7095,
                "crosses_accurate": 1.2002,
                "touches": 67.8689,
                "possession_lost": 12.4211,
                "dispossessed": 0.5723,
                "duels_lost": 3.9891,
                "aerial_won": 0.8,
                "aerial_lost": 0.843,
                "interceptions": 0.638,
                "tackles_won": 1.2206,
                "tackles": 1.8372,
                "clearances": 0.8296,
                "total_contest": 0.7827,
                "won_contest": 0.494,
                "challenges_lost": 0.984,
                "fouls": 1.3214,
                "fouls_drawn": 0.7637,
                "blocks": 0.3961,
                "big_chances_created": 0.3623,
                "big_chances_missed": 0.0,
                "xgot": 0.0204,
                "ball_carries": 19.0041,
                "total_progression": 39.0509,
                "progressive_carries": 0.4659,
                "shots_off_target": 0.6064,
                "duel_xg_multiplier": 0.9706,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.43,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iñigo Ruiz de Galarreta",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.43,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9706,
                  "skill_edge": 0.0,
                  "height_edge": -0.02,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.4374,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Iñigo Ruiz de Galarreta",
                      "market_value": 1800000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.0589
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.4412,
                  "after": 0.8
                },
                {
                  "stat": "totalShots",
                  "before": 0.9002,
                  "after": 0.8737
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.6248,
                  "after": 0.6064
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2754,
                  "after": 0.2673
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "key_pass": 1.631,
                "expected_assists": 0.1484,
                "assist_rate": 0.1051,
                "assists": 0,
                "expected_goals": 0.0648,
                "goal_rate": 0.0611,
                "goals": 0,
                "shots_on_target": 0.2673,
                "total_shots": 0.8737,
                "rating": 7.027,
                "minutes": 79.88,
                "total_pass": 53.886,
                "accurate_pass": 46.3363,
                "duels_won": 3.5376,
                "total_long_balls": 7.5369,
                "accurate_long_balls": 3.7985,
                "total_own_half_passes": 24.5173,
                "accurate_own_half_passes": 23.1642,
                "total_opp_half_passes": 29.3688,
                "accurate_opp_half_passes": 23.172,
                "crosses_total": 4.7095,
                "crosses_accurate": 1.2002,
                "touches": 67.8689,
                "possession_lost": 12.4211,
                "dispossessed": 0.5723,
                "duels_lost": 3.9891,
                "aerial_won": 0.8,
                "aerial_lost": 0.843,
                "interceptions": 0.638,
                "tackles_won": 1.2206,
                "tackles": 1.8372,
                "clearances": 0.8296,
                "total_contest": 0.7827,
                "won_contest": 0.494,
                "challenges_lost": 0.984,
                "fouls": 1.3214,
                "fouls_drawn": 0.7637,
                "blocks": 0.3961,
                "big_chances_created": 0.3623,
                "big_chances_missed": 0.0,
                "xgot": 0.0225,
                "ball_carries": 19.0041,
                "total_progression": 39.0509,
                "progressive_carries": 0.4659,
                "shots_off_target": 0.6064,
                "duel_xg_multiplier": 0.9706,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.43,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0202,
                "creation_factor": 0.8393
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0589,
                  "after": 0.0648
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1348,
                  "after": 0.1484
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 2 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "key_pass": 1.631,
                "expected_assists": 0.1484,
                "assist_rate": 0.1051,
                "assists": 0,
                "expected_goals": 0.0648,
                "goal_rate": 0.0611,
                "goals": 0,
                "shots_on_target": 0.2673,
                "total_shots": 0.8737,
                "rating": 7.027,
                "minutes": 79.88,
                "total_pass": 53.886,
                "accurate_pass": 46.3363,
                "duels_won": 3.5376,
                "total_long_balls": 7.5369,
                "accurate_long_balls": 3.7985,
                "total_own_half_passes": 24.5173,
                "accurate_own_half_passes": 23.1642,
                "total_opp_half_passes": 29.3688,
                "accurate_opp_half_passes": 23.172,
                "crosses_total": 4.7095,
                "crosses_accurate": 1.2002,
                "touches": 67.8689,
                "possession_lost": 12.4211,
                "dispossessed": 0.5723,
                "duels_lost": 3.9891,
                "aerial_won": 0.8,
                "aerial_lost": 0.843,
                "interceptions": 0.638,
                "tackles_won": 1.2206,
                "tackles": 1.8372,
                "clearances": 0.8296,
                "total_contest": 0.7827,
                "won_contest": 0.494,
                "challenges_lost": 0.984,
                "fouls": 1.3214,
                "fouls_drawn": 0.7637,
                "blocks": 0.3961,
                "big_chances_created": 0.3623,
                "big_chances_missed": 0.0,
                "xgot": 0.0225,
                "ball_carries": 19.0041,
                "total_progression": 39.0509,
                "progressive_carries": 0.4659,
                "shots_off_target": 0.6064,
                "duel_xg_multiplier": 0.9706,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.43,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0202,
                "creation_factor": 0.8393,
                "fifa_overall": 76.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": 3158,
                "fifa_rank": 1956.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.631,
                "expected_assists": 0.1484,
                "assist_rate": 0.1051,
                "assists": 0,
                "expected_goals": 0.0648,
                "goal_rate": 0.0611,
                "goals": 0,
                "shots_on_target": 0.2673,
                "total_shots": 0.8737,
                "rating": 7.027,
                "minutes": 79.88,
                "total_pass": 53.886,
                "accurate_pass": 46.3363,
                "duels_won": 3.5376,
                "total_long_balls": 7.5369,
                "accurate_long_balls": 3.7985,
                "total_own_half_passes": 24.5173,
                "accurate_own_half_passes": 23.1642,
                "total_opp_half_passes": 29.3688,
                "accurate_opp_half_passes": 23.172,
                "crosses_total": 4.7095,
                "crosses_accurate": 1.2002,
                "touches": 67.8689,
                "possession_lost": 12.4211,
                "dispossessed": 0.5723,
                "duels_lost": 3.9891,
                "aerial_won": 0.8,
                "aerial_lost": 0.843,
                "interceptions": 0.638,
                "tackles_won": 1.2206,
                "tackles": 1.8372,
                "clearances": 0.8296,
                "total_contest": 0.7827,
                "won_contest": 0.494,
                "challenges_lost": 0.984,
                "fouls": 1.3214,
                "fouls_drawn": 0.7637,
                "blocks": 0.3961,
                "big_chances_created": 0.3623,
                "big_chances_missed": 0.0,
                "xgot": 0.0225,
                "ball_carries": 19.0041,
                "total_progression": 39.0509,
                "progressive_carries": 0.4659,
                "shots_off_target": 0.6064,
                "duel_xg_multiplier": 0.9706,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.43,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0627,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0202,
                "creation_factor": 0.8393,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0627,
                "scorer_weight": 0.0661,
                "squad_weight_total": 1.4853,
                "weight_share": 0.0445,
                "finishing_factor": 1.0202,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.631,
                "expected_assists": 0.1484,
                "assist_rate": 0.1051,
                "assists": 0,
                "expected_goals": 0.0648,
                "goal_rate": 0.0611,
                "goals": 0,
                "shots_on_target": 0.2673,
                "total_shots": 0.8737,
                "rating": 7.027,
                "minutes": 79.88,
                "total_pass": 53.886,
                "accurate_pass": 46.3363,
                "duels_won": 3.5376,
                "total_long_balls": 7.5369,
                "accurate_long_balls": 3.7985,
                "total_own_half_passes": 24.5173,
                "accurate_own_half_passes": 23.1642,
                "total_opp_half_passes": 29.3688,
                "accurate_opp_half_passes": 23.172,
                "crosses_total": 4.7095,
                "crosses_accurate": 1.2002,
                "touches": 67.8689,
                "possession_lost": 12.4211,
                "dispossessed": 0.5723,
                "duels_lost": 3.9891,
                "aerial_won": 0.8,
                "aerial_lost": 0.843,
                "interceptions": 0.638,
                "tackles_won": 1.2206,
                "tackles": 1.8372,
                "clearances": 0.8296,
                "total_contest": 0.7827,
                "won_contest": 0.494,
                "challenges_lost": 0.984,
                "fouls": 1.3214,
                "fouls_drawn": 0.7637,
                "blocks": 0.3961,
                "big_chances_created": 0.3623,
                "big_chances_missed": 0.0,
                "xgot": 0.0225,
                "ball_carries": 19.0041,
                "total_progression": 39.0509,
                "progressive_carries": 0.4659,
                "shots_off_target": 0.6064,
                "duel_xg_multiplier": 0.9706,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.43,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iñigo Ruiz de Galarreta",
                "opponent_faced": "Iñigo Ruiz de Galarreta",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0627,
                "projected_assists": 0,
                "assist_probability": 0.1379,
                "finishing_factor": 1.0202,
                "creation_factor": 0.8393,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1379,
                "provider_weight": 0.1246,
                "squad_weight_total": 0.9695,
                "weight_share": 0.1285,
                "creation_factor": 0.8393,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Adrià Pedrosa": {
          "player_id": 928672,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 17,
          "height": 176,
          "market_value": 2700000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.5931,
            "minutes": 85,
            "total_pass": 30,
            "accurate_pass": 25,
            "duels_won": 5,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 12,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 55,
            "possession_lost": 12.1848,
            "dispossessed": 0.5545,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.1476,
            "goals": 0,
            "assist_rate": 0.1737,
            "assists": 1,
            "expected_goals": 0.0294,
            "expected_assists": 0.1697,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0397,
            "ball_carries": 11,
            "total_progression": 29,
            "progressive_carries": 1,
            "key_pass": 2,
            "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.0,
            "defensive_success_rate": 0.497,
            "opponent_faced": "Robert Navarro",
            "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.029,
            "projected_assists": 1,
            "assist_probability": 0.1561,
            "finishing_factor": 1.25,
            "creation_factor": 1.0955,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.1875,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 32,
                "key_pass": 2,
                "tackles": 6,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 11,
                "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": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0847,
                "expected_assists": 0.0158,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 23,
                "tackles": 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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 85,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.5769,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 25,
                "key_pass": 4,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 75,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0601,
                "expected_assists": 0.0309,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 14,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 58,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1055,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 16,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083743,
              "match_date": "2026-05-23",
              "home_team": "Girona FC",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 15,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "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": 14083671,
              "match_date": "2026-05-17",
              "home_team": "Elche",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Getafe",
              "stats": {
                "minutes": 24,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 4,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083608,
              "match_date": "2026-05-12",
              "home_team": "Real Betis",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 9,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0221,
                "expected_assists": 0.0018,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 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": 14083401,
              "match_date": "2026-05-03",
              "home_team": "Celta Vigo",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 69,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0212,
                "expected_assists": 0.1428,
                "total_shots": 1,
                "total_pass": 26,
                "accurate_pass": 22,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083252,
              "match_date": "2026-04-26",
              "home_team": "Real Oviedo",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 82,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0489,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 17,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3912,
            "combined_rank_score": 1894.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 896.0,
            "sofascore_rating": 6.5269,
            "sofascore_appearances": 27.0,
            "fifa_rank": 2892.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.5931,
            "source_file": "data/player_rankings.csv",
            "player_name": "Adrià Pedrosa",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Pietro Terracciano",
                  "ranking": 3907
                },
                {
                  "player_name": "Hugo Rodallega",
                  "ranking": 3908
                },
                {
                  "player_name": "Marc-Oliver Kempf",
                  "ranking": 3909
                },
                {
                  "player_name": "Lorenzo Amatucci",
                  "ranking": 3910
                },
                {
                  "player_name": "Juan Iturbe",
                  "ranking": 3911
                }
              ],
              "lower": [
                {
                  "player_name": "Pedraza",
                  "ranking": 3913
                },
                {
                  "player_name": "Erick Sánchez",
                  "ranking": 3914
                },
                {
                  "player_name": "Keinan Davis",
                  "ranking": 3915
                },
                {
                  "player_name": "Jens Odgaard",
                  "ranking": 3916
                },
                {
                  "player_name": "Nicolò Zaniolo",
                  "ranking": 3917
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.757,
          "history_matches": 32,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 32,
            "data_confidence": 0.757,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9973,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "minutes": 59.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0467
            },
            "rationale": "XGBoost regressor (D_service) evaluated 32 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Rayo Vallecano, 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.8567,
                "tackles": 2.0774,
                "tackles_won": 1.2203,
                "clearances": 2.6196,
                "aerial_won": 0.6678,
                "total_shots": 0.6255,
                "rating": 6.5931,
                "minutes": 85.07,
                "total_pass": 30.0359,
                "accurate_pass": 24.7929,
                "duels_won": 4.7256,
                "total_long_balls": 3.4786,
                "accurate_long_balls": 1.1739,
                "total_own_half_passes": 14.4079,
                "accurate_own_half_passes": 12.9849,
                "total_opp_half_passes": 15.628,
                "accurate_opp_half_passes": 11.808,
                "crosses_total": 3.3694,
                "crosses_accurate": 0.7476,
                "touches": 54.7026,
                "possession_lost": 12.2178,
                "dispossessed": 0.556,
                "duels_lost": 4.7914,
                "aerial_lost": 0.4145,
                "total_contest": 1.6518,
                "won_contest": 0.6074,
                "ball_recovery": 2.5471,
                "challenges_lost": 1.3676,
                "fouls": 1.409,
                "fouls_drawn": 0.9962,
                "blocks": 0.0477,
                "goals": 0.1486,
                "goal_rate": 0.1486,
                "assists": 0.1749,
                "assist_rate": 0.1749,
                "expected_goals": 0.0268,
                "expected_assists": 0.1546,
                "shots_on_target": 0.3121,
                "big_chances_created": 0.4674,
                "xgot": 0.0362,
                "ball_carries": 11.3037,
                "total_progression": 28.7063,
                "progressive_carries": 1.2738,
                "key_pass": 1.5134,
                "shots_off_target": 0.3134
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:03:23.701438+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1508,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1282,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.109,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0926,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 58.0,
                    "is_starting": false,
                    "weight": 0.0787,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Girona FC",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0669,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Getafe",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0569,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Real Betis",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0484,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Celta Vigo",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Real Oviedo",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.8966,
                  "aerialWon": 0.4717,
                  "totalClearance_p90": 3.2772,
                  "totalTackle": 1.8641,
                  "totalPass": 20.6375
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.856731653213501,
                    "model_output": 0.8567,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1179
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1132
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0234
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0233
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0112
                        }
                      ],
                      "others": 0.0058,
                      "total": 0.8567,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.128859
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.123352
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.026791
                        },
                        {
                          "name": "touches",
                          "margin": -0.026717
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.013041
                        }
                      ],
                      "others_margin": 0.006829
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.0773696899414062,
                    "model_output": 2.0774,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2171
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1194
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0828
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0799
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.073
                        }
                      ],
                      "others": 0.1113,
                      "total": 2.0774,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.144747
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.071476
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.046746
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.043135
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.037855
                        }
                      ],
                      "others_margin": 0.055055
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.220328688621521,
                    "model_output": 1.2203,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1279
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0694
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0568
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.042
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0401
                        }
                      ],
                      "others": 0.1137,
                      "total": 1.2203,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.139531
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.068298
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.052624
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.038589
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.036939
                        }
                      ],
                      "others_margin": 0.09773
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.6195971965789795,
                    "model_output": 2.6196,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.5611
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4103
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2422
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1207
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0644
                        }
                      ],
                      "others": -0.2537,
                      "total": 2.6196,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.177429
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.132757
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.076225
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.040251
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.022153
                        }
                      ],
                      "others_margin": -0.092462
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6678081750869751,
                    "model_output": 0.6678,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4313
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1202
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0908
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0718
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0479
                        }
                      ],
                      "others": -0.1926,
                      "total": 0.6678,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.374101
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.11909
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.088645
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.076131
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.054125
                        }
                      ],
                      "others_margin": -0.253396
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6254802346229553,
                    "model_output": 0.6255,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0684
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0404
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0284
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0126
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0115
                        }
                      ],
                      "others": -0.0069,
                      "total": 0.6255,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.068429
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.040425
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.028366
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.012619
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.011468
                        }
                      ],
                      "others_margin": -0.006959
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.593052864074707,
                    "model_output": 6.5931,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0368
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0198
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.019
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0169
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0119
                        }
                      ],
                      "others": -0.0876,
                      "total": 6.5931,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.036784
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.019831
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.019045
                        },
                        {
                          "name": "touches",
                          "margin": -0.016853
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.011949
                        }
                      ],
                      "others_margin": -0.087616
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 32,
                  "role_matches": 12,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9973, quality 0.437)",
              "stats": {
                "interceptions": 0.8544,
                "tackles": 2.0718,
                "tackles_won": 1.217,
                "clearances": 2.6125,
                "aerial_won": 0.666,
                "total_shots": 0.6239,
                "rating": 6.5931,
                "minutes": 85.07,
                "total_pass": 29.9548,
                "accurate_pass": 24.726,
                "duels_won": 4.7128,
                "total_long_balls": 3.4692,
                "accurate_long_balls": 1.1707,
                "total_own_half_passes": 14.369,
                "accurate_own_half_passes": 12.9498,
                "total_opp_half_passes": 15.5858,
                "accurate_opp_half_passes": 11.7761,
                "crosses_total": 3.3603,
                "crosses_accurate": 0.7456,
                "touches": 54.5549,
                "possession_lost": 12.1848,
                "dispossessed": 0.5545,
                "duels_lost": 4.7785,
                "aerial_lost": 0.4134,
                "total_contest": 1.6473,
                "won_contest": 0.6058,
                "ball_recovery": 2.5402,
                "challenges_lost": 1.3639,
                "fouls": 1.4052,
                "fouls_drawn": 0.9935,
                "blocks": 0.0476,
                "goals": 0.1482,
                "goal_rate": 0.1482,
                "assists": 0.1744,
                "assist_rate": 0.1744,
                "expected_goals": 0.0267,
                "expected_assists": 0.1542,
                "shots_on_target": 0.3113,
                "big_chances_created": 0.4661,
                "xgot": 0.0361,
                "ball_carries": 11.2732,
                "total_progression": 28.6288,
                "progressive_carries": 1.2704,
                "key_pass": 1.5093,
                "shots_off_target": 0.3126
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9973,
                "reference_quality": 0.505,
                "history_matches": 32,
                "history_shrink": 0.1351,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0041)",
              "stats": {
                "interceptions": 0.8509,
                "tackles": 2.0718,
                "tackles_won": 1.2175,
                "clearances": 2.6125,
                "aerial_won": 0.666,
                "total_shots": 0.6213,
                "rating": 6.5931,
                "minutes": 85.07,
                "total_pass": 29.9548,
                "accurate_pass": 24.726,
                "duels_won": 4.7128,
                "total_long_balls": 3.4692,
                "accurate_long_balls": 1.1707,
                "total_own_half_passes": 14.369,
                "accurate_own_half_passes": 12.9498,
                "total_opp_half_passes": 15.5858,
                "accurate_opp_half_passes": 11.7761,
                "crosses_total": 3.3576,
                "crosses_accurate": 0.7456,
                "touches": 54.5549,
                "possession_lost": 12.1848,
                "dispossessed": 0.5545,
                "duels_lost": 4.7785,
                "aerial_lost": 0.4134,
                "total_contest": 1.6473,
                "won_contest": 0.6058,
                "ball_recovery": 2.5402,
                "challenges_lost": 1.3639,
                "fouls": 1.4105,
                "fouls_drawn": 0.995,
                "blocks": 0.0476,
                "goals": 0.1476,
                "goal_rate": 0.1476,
                "assists": 0.1737,
                "assist_rate": 0.1737,
                "expected_goals": 0.0267,
                "expected_assists": 0.1542,
                "shots_on_target": 0.31,
                "big_chances_created": 0.4661,
                "xgot": 0.0361,
                "ball_carries": 11.2732,
                "total_progression": 28.6288,
                "progressive_carries": 1.2704,
                "key_pass": 1.5093,
                "shots_off_target": 0.3126
              },
              "params": {
                "blend_weight": 0.0041,
                "history_matches": 32,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9452,
                "prior_reliability": 0.0467,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 1.4052,
                  "after": 1.4105
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.8509,
                "tackles": 2.0718,
                "tackles_won": 1.2175,
                "clearances": 2.6125,
                "aerial_won": 0.666,
                "total_shots": 0.6226,
                "rating": 6.5931,
                "minutes": 85.07,
                "total_pass": 29.9548,
                "accurate_pass": 24.726,
                "duels_won": 4.7128,
                "total_long_balls": 3.4692,
                "accurate_long_balls": 1.1707,
                "total_own_half_passes": 14.369,
                "accurate_own_half_passes": 12.9498,
                "total_opp_half_passes": 15.5858,
                "accurate_opp_half_passes": 11.7761,
                "crosses_total": 3.3576,
                "crosses_accurate": 0.7456,
                "touches": 54.5549,
                "possession_lost": 12.1848,
                "dispossessed": 0.5545,
                "duels_lost": 4.7785,
                "aerial_lost": 0.4134,
                "total_contest": 1.6473,
                "won_contest": 0.6058,
                "ball_recovery": 2.5402,
                "challenges_lost": 1.3639,
                "fouls": 1.4105,
                "fouls_drawn": 0.995,
                "blocks": 0.0476,
                "goals": 0.1476,
                "goal_rate": 0.1476,
                "assists": 0.1737,
                "assist_rate": 0.1737,
                "expected_goals": 0.0267,
                "expected_assists": 0.1542,
                "shots_on_target": 0.31,
                "big_chances_created": 0.4661,
                "xgot": 0.0361,
                "ball_carries": 11.2732,
                "total_progression": 28.6288,
                "progressive_carries": 1.2704,
                "key_pass": 1.5093,
                "shots_off_target": 0.3126
              },
              "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.8509,
                "tackles": 2.0718,
                "tackles_won": 1.2175,
                "clearances": 2.6125,
                "aerial_won": 0.666,
                "total_shots": 0.6226,
                "rating": 6.5931,
                "minutes": 85.07,
                "total_pass": 29.9548,
                "accurate_pass": 24.726,
                "duels_won": 4.7128,
                "total_long_balls": 3.4692,
                "accurate_long_balls": 1.1707,
                "total_own_half_passes": 14.369,
                "accurate_own_half_passes": 12.9498,
                "total_opp_half_passes": 15.5858,
                "accurate_opp_half_passes": 11.7761,
                "crosses_total": 3.3576,
                "crosses_accurate": 0.7456,
                "touches": 54.5549,
                "possession_lost": 12.1848,
                "dispossessed": 0.5545,
                "duels_lost": 4.7785,
                "aerial_lost": 0.4134,
                "total_contest": 1.6473,
                "won_contest": 0.6058,
                "ball_recovery": 2.5402,
                "challenges_lost": 1.3639,
                "fouls": 1.4105,
                "fouls_drawn": 0.995,
                "blocks": 0.0476,
                "goals": 0.1476,
                "goal_rate": 0.1476,
                "assists": 0.1737,
                "assist_rate": 0.1737,
                "expected_goals": 0.0267,
                "expected_assists": 0.1542,
                "shots_on_target": 0.31,
                "big_chances_created": 0.4661,
                "xgot": 0.0361,
                "ball_carries": 11.2732,
                "total_progression": 28.6288,
                "progressive_carries": 1.2704,
                "key_pass": 1.5093,
                "shots_off_target": 0.3126,
                "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.0,
                "defensive_success_rate": 0.497,
                "opponent_faced": "Robert Navarro",
                "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": "Robert Navarro",
                  "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.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "interceptions": 0.8509,
                "tackles": 2.0718,
                "tackles_won": 1.2175,
                "clearances": 2.6125,
                "aerial_won": 0.666,
                "total_shots": 0.6226,
                "rating": 6.5931,
                "minutes": 85.07,
                "total_pass": 29.9548,
                "accurate_pass": 24.726,
                "duels_won": 4.7128,
                "total_long_balls": 3.4692,
                "accurate_long_balls": 1.1707,
                "total_own_half_passes": 14.369,
                "accurate_own_half_passes": 12.9498,
                "total_opp_half_passes": 15.5858,
                "accurate_opp_half_passes": 11.7761,
                "crosses_total": 3.3576,
                "crosses_accurate": 0.7456,
                "touches": 54.5549,
                "possession_lost": 12.1848,
                "dispossessed": 0.5545,
                "duels_lost": 4.7785,
                "aerial_lost": 0.4134,
                "total_contest": 1.6473,
                "won_contest": 0.6058,
                "ball_recovery": 2.5402,
                "challenges_lost": 1.3639,
                "fouls": 1.4105,
                "fouls_drawn": 0.995,
                "blocks": 0.0476,
                "goal_rate": 0.1476,
                "goals": 0,
                "assist_rate": 0.1737,
                "assists": 0,
                "expected_goals": 0.0294,
                "expected_assists": 0.1697,
                "shots_on_target": 0.31,
                "big_chances_created": 0.4661,
                "xgot": 0.0397,
                "ball_carries": 11.2732,
                "total_progression": 28.6288,
                "progressive_carries": 1.2704,
                "key_pass": 1.5093,
                "shots_off_target": 0.3126,
                "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.0,
                "defensive_success_rate": 0.497,
                "opponent_faced": "Robert Navarro",
                "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": 1.25,
                "creation_factor": 1.0955
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1542,
                  "after": 0.1697
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "interceptions": 0.8509,
                "tackles": 2.0718,
                "tackles_won": 1.2175,
                "clearances": 2.6125,
                "aerial_won": 0.666,
                "total_shots": 0.6226,
                "rating": 6.5931,
                "minutes": 85.07,
                "total_pass": 29.9548,
                "accurate_pass": 24.726,
                "duels_won": 4.7128,
                "total_long_balls": 3.4692,
                "accurate_long_balls": 1.1707,
                "total_own_half_passes": 14.369,
                "accurate_own_half_passes": 12.9498,
                "total_opp_half_passes": 15.5858,
                "accurate_opp_half_passes": 11.7761,
                "crosses_total": 3.3576,
                "crosses_accurate": 0.7456,
                "touches": 54.5549,
                "possession_lost": 12.1848,
                "dispossessed": 0.5545,
                "duels_lost": 4.7785,
                "aerial_lost": 0.4134,
                "total_contest": 1.6473,
                "won_contest": 0.6058,
                "ball_recovery": 2.5402,
                "challenges_lost": 1.3639,
                "fouls": 1.4105,
                "fouls_drawn": 0.995,
                "blocks": 0.0476,
                "goal_rate": 0.1476,
                "goals": 0,
                "assist_rate": 0.1737,
                "assists": 0,
                "expected_goals": 0.0294,
                "expected_assists": 0.1697,
                "shots_on_target": 0.31,
                "big_chances_created": 0.4661,
                "xgot": 0.0397,
                "ball_carries": 11.2732,
                "total_progression": 28.6288,
                "progressive_carries": 1.2704,
                "key_pass": 1.5093,
                "shots_off_target": 0.3126,
                "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.0,
                "defensive_success_rate": 0.497,
                "opponent_faced": "Robert Navarro",
                "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": 1.25,
                "creation_factor": 1.0955,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3912,
                "fifa_rank": 2892.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.8509,
                "tackles": 2.0718,
                "tackles_won": 1.2175,
                "clearances": 2.6125,
                "aerial_won": 0.666,
                "total_shots": 0.6226,
                "rating": 6.5931,
                "minutes": 85.07,
                "total_pass": 29.9548,
                "accurate_pass": 24.726,
                "duels_won": 4.7128,
                "total_long_balls": 3.4692,
                "accurate_long_balls": 1.1707,
                "total_own_half_passes": 14.369,
                "accurate_own_half_passes": 12.9498,
                "total_opp_half_passes": 15.5858,
                "accurate_opp_half_passes": 11.7761,
                "crosses_total": 3.3576,
                "crosses_accurate": 0.7456,
                "touches": 54.5549,
                "possession_lost": 12.1848,
                "dispossessed": 0.5545,
                "duels_lost": 4.7785,
                "aerial_lost": 0.4134,
                "total_contest": 1.6473,
                "won_contest": 0.6058,
                "ball_recovery": 2.5402,
                "challenges_lost": 1.3639,
                "fouls": 1.4105,
                "fouls_drawn": 0.995,
                "blocks": 0.0476,
                "goal_rate": 0.1476,
                "goals": 0,
                "assist_rate": 0.1737,
                "assists": 0,
                "expected_goals": 0.0294,
                "expected_assists": 0.1697,
                "shots_on_target": 0.31,
                "big_chances_created": 0.4661,
                "xgot": 0.0397,
                "ball_carries": 11.2732,
                "total_progression": 28.6288,
                "progressive_carries": 1.2704,
                "key_pass": 1.5093,
                "shots_off_target": 0.3126,
                "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.0,
                "defensive_success_rate": 0.497,
                "opponent_faced": "Robert Navarro",
                "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.029,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.0955,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.029,
                "scorer_weight": 0.0367,
                "squad_weight_total": 1.4853,
                "weight_share": 0.0247,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "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.8509,
                "tackles": 2.0718,
                "tackles_won": 1.2175,
                "clearances": 2.6125,
                "aerial_won": 0.666,
                "total_shots": 0.6226,
                "rating": 6.5931,
                "minutes": 85.07,
                "total_pass": 29.9548,
                "accurate_pass": 24.726,
                "duels_won": 4.7128,
                "total_long_balls": 3.4692,
                "accurate_long_balls": 1.1707,
                "total_own_half_passes": 14.369,
                "accurate_own_half_passes": 12.9498,
                "total_opp_half_passes": 15.5858,
                "accurate_opp_half_passes": 11.7761,
                "crosses_total": 3.3576,
                "crosses_accurate": 0.7456,
                "touches": 54.5549,
                "possession_lost": 12.1848,
                "dispossessed": 0.5545,
                "duels_lost": 4.7785,
                "aerial_lost": 0.4134,
                "total_contest": 1.6473,
                "won_contest": 0.6058,
                "ball_recovery": 2.5402,
                "challenges_lost": 1.3639,
                "fouls": 1.4105,
                "fouls_drawn": 0.995,
                "blocks": 0.0476,
                "goal_rate": 0.1476,
                "goals": 0,
                "assist_rate": 0.1737,
                "assists": 1,
                "expected_goals": 0.0294,
                "expected_assists": 0.1697,
                "shots_on_target": 0.31,
                "big_chances_created": 0.4661,
                "xgot": 0.0397,
                "ball_carries": 11.2732,
                "total_progression": 28.6288,
                "progressive_carries": 1.2704,
                "key_pass": 1.5093,
                "shots_off_target": 0.3126,
                "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.0,
                "defensive_success_rate": 0.497,
                "opponent_faced": "Robert Navarro",
                "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.029,
                "projected_assists": 1,
                "assist_probability": 0.1561,
                "finishing_factor": 1.25,
                "creation_factor": 1.0955,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.1561,
                "provider_weight": 0.1859,
                "squad_weight_total": 0.9695,
                "weight_share": 0.1918,
                "creation_factor": 1.0955,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Mujaid Sadick": {
          "player_id": 935309,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 15,
          "height": 185,
          "market_value": 4700000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.7582,
            "minutes": 83,
            "total_pass": 39,
            "accurate_pass": 36,
            "duels_won": 1,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 31,
            "accurate_own_half_passes": 31,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 47,
            "possession_lost": 2.9094,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0031,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 11,
            "total_progression": 26,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "opponent_faced": "Peio Canales",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0031,
            "finishing_factor": 1.0,
            "creation_factor": 0.947,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0051,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 43,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 61,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 55,
                "accurate_pass": 52,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 10,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 256,
            "combined_rank_score": 196.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 202.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7582,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mujaid Sadick",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "David Raum",
                  "ranking": 251
                },
                {
                  "player_name": "Bryan Carvallo",
                  "ranking": 252
                },
                {
                  "player_name": "Alexis Mac Allister",
                  "ranking": 253
                },
                {
                  "player_name": "Maximilian Mittelstädt",
                  "ranking": 254
                },
                {
                  "player_name": "Seong-Jin Kang",
                  "ranking": 255
                }
              ],
              "lower": [
                {
                  "player_name": "Tijjani Reijnders",
                  "ranking": 257
                },
                {
                  "player_name": "Nicolás Vargas",
                  "ranking": 258
                },
                {
                  "player_name": "James Nicholas Delianov",
                  "ranking": 259
                },
                {
                  "player_name": "Scott McTominay",
                  "ranking": 260
                },
                {
                  "player_name": "Yann Sommer",
                  "ranking": 261
                }
              ]
            }
          },
          "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": 0.9913,
            "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": 0.9761,
                "tackles": 1.1231,
                "tackles_won": 0.6302,
                "clearances": 5.4257,
                "aerial_won": 1.5769,
                "total_shots": 0.3306,
                "rating": 6.7582,
                "minutes": 83.34,
                "total_pass": 39.6404,
                "accurate_pass": 36.7055,
                "duels_won": 1.3304,
                "total_long_balls": 2.8766,
                "accurate_long_balls": 0.7191,
                "total_own_half_passes": 31.2672,
                "accurate_own_half_passes": 30.8785,
                "total_opp_half_passes": 8.3732,
                "accurate_opp_half_passes": 5.827,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 47.4431,
                "possession_lost": 2.9349,
                "dispossessed": 0.0,
                "duels_lost": 0.9913,
                "aerial_lost": 0.6608,
                "total_contest": 0.3304,
                "won_contest": 0.3304,
                "ball_recovery": 2.3887,
                "challenges_lost": 0.3304,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "blocks": 0.6608,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0028,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.1914,
                "total_progression": 26.3002,
                "progressive_carries": 0.2809,
                "key_pass": 0.0,
                "shots_off_target": 0.3306
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:03:23.701438+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.9349,
                  "aerialWon": 1.0,
                  "totalClearance_p90": 5.9675,
                  "totalTackle": 0.0,
                  "totalPass": 39.6404
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9761092066764832,
                    "model_output": 0.9761,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1101
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0338
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0292
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0241
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0232
                        }
                      ],
                      "others": 0.0032,
                      "total": 0.9761,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.120789
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.034331
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.029576
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.02447
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.023606
                        }
                      ],
                      "others_margin": 0.003412
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.123125672340393,
                    "model_output": 1.1231,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.174
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.164
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.078
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0515
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0342
                        }
                      ],
                      "others": -0.0971,
                      "total": 1.1231,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.133345
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.126107
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.058053
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.040254
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.027619
                        }
                      ],
                      "others_margin": -0.082809
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6301695108413696,
                    "model_output": 0.6302,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0956
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0891
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0699
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.037
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.032
                        }
                      ],
                      "others": -0.0788,
                      "total": 0.6302,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.118665
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.111052
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.0861
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.048724
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.044159
                        }
                      ],
                      "others_margin": -0.117756
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.425708770751953,
                    "model_output": 5.4257,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4516
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.4232
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.4266
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2771
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.2066
                        }
                      ],
                      "others": 0.1892,
                      "total": 5.4257,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.122962
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.102953
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.094041
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.056675
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.040259
                        }
                      ],
                      "others_margin": 0.035474
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.5768646001815796,
                    "model_output": 1.5769,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.2146
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.153
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1294
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0883
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0816
                        }
                      ],
                      "others": -0.0428,
                      "total": 1.5769,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.168734
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12313
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.093519
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.059128
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.051692
                        }
                      ],
                      "others_margin": -0.02685
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.33058568835258484,
                    "model_output": 0.3306,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0912
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0467
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0382
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0219
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0183
                        }
                      ],
                      "others": -0.0542,
                      "total": 0.3306,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.091184
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.046742
                        },
                        {
                          "name": "rating",
                          "margin": -0.038158
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.021933
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.018289
                        }
                      ],
                      "others_margin": -0.054302
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.758192539215088,
                    "model_output": 6.7582,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.0232
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0226
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0205
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0128
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0122
                        }
                      ],
                      "others": 0.018,
                      "total": 6.7582,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.023226
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.022633
                        },
                        {
                          "name": "rating",
                          "margin": -0.020549
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.012799
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": -0.012184
                        }
                      ],
                      "others_margin": 0.018
                    }
                  }
                ],
                "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 0.9913, quality 0.458)",
              "stats": {
                "interceptions": 0.9676,
                "tackles": 1.1134,
                "tackles_won": 0.6247,
                "clearances": 5.3785,
                "aerial_won": 1.5631,
                "total_shots": 0.3277,
                "rating": 6.7582,
                "minutes": 83.34,
                "total_pass": 39.2955,
                "accurate_pass": 36.3862,
                "duels_won": 1.3188,
                "total_long_balls": 2.8516,
                "accurate_long_balls": 0.7128,
                "total_own_half_passes": 30.9952,
                "accurate_own_half_passes": 30.6099,
                "total_opp_half_passes": 8.3004,
                "accurate_opp_half_passes": 5.7763,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 47.0303,
                "possession_lost": 2.9094,
                "dispossessed": 0.0,
                "duels_lost": 0.9827,
                "aerial_lost": 0.6551,
                "total_contest": 0.3275,
                "won_contest": 0.3275,
                "ball_recovery": 2.3679,
                "challenges_lost": 0.3275,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "blocks": 0.6551,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0028,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.094,
                "total_progression": 26.0714,
                "progressive_carries": 0.2785,
                "key_pass": 0.0,
                "shots_off_target": 0.3277
              },
              "params": {
                "market_value_eur": 4700000,
                "quality_factor": 0.4585,
                "boost_factor": 0.9913,
                "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": 0.9676,
                "tackles": 1.1134,
                "tackles_won": 0.6247,
                "clearances": 5.3785,
                "aerial_won": 1.5631,
                "total_shots": 0.3277,
                "rating": 6.7582,
                "minutes": 83.34,
                "total_pass": 39.2955,
                "accurate_pass": 36.3862,
                "duels_won": 1.3188,
                "total_long_balls": 2.8516,
                "accurate_long_balls": 0.7128,
                "total_own_half_passes": 30.9952,
                "accurate_own_half_passes": 30.6099,
                "total_opp_half_passes": 8.3004,
                "accurate_opp_half_passes": 5.7763,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 47.0303,
                "possession_lost": 2.9094,
                "dispossessed": 0.0,
                "duels_lost": 0.9827,
                "aerial_lost": 0.6551,
                "total_contest": 0.3275,
                "won_contest": 0.3275,
                "ball_recovery": 2.3679,
                "challenges_lost": 0.3275,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "blocks": 0.6551,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0028,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.094,
                "total_progression": 26.0714,
                "progressive_carries": 0.2785,
                "key_pass": 0.0,
                "shots_off_target": 0.3277
              },
              "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.9676,
                "tackles": 1.1134,
                "tackles_won": 0.6247,
                "clearances": 5.3785,
                "aerial_won": 1.5631,
                "total_shots": 0.3277,
                "rating": 6.7582,
                "minutes": 83.34,
                "total_pass": 39.2955,
                "accurate_pass": 36.3862,
                "duels_won": 1.3188,
                "total_long_balls": 2.8516,
                "accurate_long_balls": 0.7128,
                "total_own_half_passes": 30.9952,
                "accurate_own_half_passes": 30.6099,
                "total_opp_half_passes": 8.3004,
                "accurate_opp_half_passes": 5.7763,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 47.0303,
                "possession_lost": 2.9094,
                "dispossessed": 0.0,
                "duels_lost": 0.9827,
                "aerial_lost": 0.6551,
                "total_contest": 0.3275,
                "won_contest": 0.3275,
                "ball_recovery": 2.3679,
                "challenges_lost": 0.3275,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "blocks": 0.6551,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0028,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.094,
                "total_progression": 26.0714,
                "progressive_carries": 0.2785,
                "key_pass": 0.0,
                "shots_off_target": 0.3277,
                "opponent_faced": "Peio Canales",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Peio Canales",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "interceptions": 0.9676,
                "tackles": 1.1134,
                "tackles_won": 0.6247,
                "clearances": 5.3785,
                "aerial_won": 1.5631,
                "total_shots": 0.3277,
                "rating": 6.7582,
                "minutes": 83.34,
                "total_pass": 39.2955,
                "accurate_pass": 36.3862,
                "duels_won": 1.3188,
                "total_long_balls": 2.8516,
                "accurate_long_balls": 0.7128,
                "total_own_half_passes": 30.9952,
                "accurate_own_half_passes": 30.6099,
                "total_opp_half_passes": 8.3004,
                "accurate_opp_half_passes": 5.7763,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 47.0303,
                "possession_lost": 2.9094,
                "dispossessed": 0.0,
                "duels_lost": 0.9827,
                "aerial_lost": 0.6551,
                "total_contest": 0.3275,
                "won_contest": 0.3275,
                "ball_recovery": 2.3679,
                "challenges_lost": 0.3275,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "blocks": 0.6551,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0031,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.094,
                "total_progression": 26.0714,
                "progressive_carries": 0.2785,
                "key_pass": 0.0,
                "shots_off_target": 0.3277,
                "opponent_faced": "Peio Canales",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.947
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 84.0; not used by the projection)",
              "stats": {
                "interceptions": 0.9676,
                "tackles": 1.1134,
                "tackles_won": 0.6247,
                "clearances": 5.3785,
                "aerial_won": 1.5631,
                "total_shots": 0.3277,
                "rating": 6.7582,
                "minutes": 83.34,
                "total_pass": 39.2955,
                "accurate_pass": 36.3862,
                "duels_won": 1.3188,
                "total_long_balls": 2.8516,
                "accurate_long_balls": 0.7128,
                "total_own_half_passes": 30.9952,
                "accurate_own_half_passes": 30.6099,
                "total_opp_half_passes": 8.3004,
                "accurate_opp_half_passes": 5.7763,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 47.0303,
                "possession_lost": 2.9094,
                "dispossessed": 0.0,
                "duels_lost": 0.9827,
                "aerial_lost": 0.6551,
                "total_contest": 0.3275,
                "won_contest": 0.3275,
                "ball_recovery": 2.3679,
                "challenges_lost": 0.3275,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "blocks": 0.6551,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0031,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.094,
                "total_progression": 26.0714,
                "progressive_carries": 0.2785,
                "key_pass": 0.0,
                "shots_off_target": 0.3277,
                "opponent_faced": "Peio Canales",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.947,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 256,
                "fifa_rank": 202.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.9676,
                "tackles": 1.1134,
                "tackles_won": 0.6247,
                "clearances": 5.3785,
                "aerial_won": 1.5631,
                "total_shots": 0.3277,
                "rating": 6.7582,
                "minutes": 83.34,
                "total_pass": 39.2955,
                "accurate_pass": 36.3862,
                "duels_won": 1.3188,
                "total_long_balls": 2.8516,
                "accurate_long_balls": 0.7128,
                "total_own_half_passes": 30.9952,
                "accurate_own_half_passes": 30.6099,
                "total_opp_half_passes": 8.3004,
                "accurate_opp_half_passes": 5.7763,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 47.0303,
                "possession_lost": 2.9094,
                "dispossessed": 0.0,
                "duels_lost": 0.9827,
                "aerial_lost": 0.6551,
                "total_contest": 0.3275,
                "won_contest": 0.3275,
                "ball_recovery": 2.3679,
                "challenges_lost": 0.3275,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "blocks": 0.6551,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0031,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.094,
                "total_progression": 26.0714,
                "progressive_carries": 0.2785,
                "key_pass": 0.0,
                "shots_off_target": 0.3277,
                "opponent_faced": "Peio Canales",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.947,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.4853,
                "weight_share": 0.0007,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "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.9676,
                "tackles": 1.1134,
                "tackles_won": 0.6247,
                "clearances": 5.3785,
                "aerial_won": 1.5631,
                "total_shots": 0.3277,
                "rating": 6.7582,
                "minutes": 83.34,
                "total_pass": 39.2955,
                "accurate_pass": 36.3862,
                "duels_won": 1.3188,
                "total_long_balls": 2.8516,
                "accurate_long_balls": 0.7128,
                "total_own_half_passes": 30.9952,
                "accurate_own_half_passes": 30.6099,
                "total_opp_half_passes": 8.3004,
                "accurate_opp_half_passes": 5.7763,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 47.0303,
                "possession_lost": 2.9094,
                "dispossessed": 0.0,
                "duels_lost": 0.9827,
                "aerial_lost": 0.6551,
                "total_contest": 0.3275,
                "won_contest": 0.3275,
                "ball_recovery": 2.3679,
                "challenges_lost": 0.3275,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "blocks": 0.6551,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0031,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.094,
                "total_progression": 26.0714,
                "progressive_carries": 0.2785,
                "key_pass": 0.0,
                "shots_off_target": 0.3277,
                "opponent_faced": "Peio Canales",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0031,
                "finishing_factor": 1.0,
                "creation_factor": 0.947,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0031,
                "provider_weight": 0.0029,
                "squad_weight_total": 0.9695,
                "weight_share": 0.003,
                "creation_factor": 0.947,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Florian Lejeune": {
          "player_id": 88528,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 24,
          "height": 190,
          "market_value": 1700000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 6,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.8252,
            "minutes": 90,
            "total_pass": 55,
            "accurate_pass": 47,
            "duels_won": 4,
            "total_long_balls": 8,
            "accurate_long_balls": 3,
            "total_own_half_passes": 35,
            "accurate_own_half_passes": 33,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 14,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 71,
            "possession_lost": 8.4384,
            "dispossessed": 0.0386,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0653,
            "goals": 0,
            "assist_rate": 0.0129,
            "assists": 0,
            "expected_goals": 0.0826,
            "expected_assists": 0.0118,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0729,
            "ball_carries": 19,
            "total_progression": 71,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 1,
            "opponent_faced": "Iñaki Williams",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0793,
            "projected_assists": 0,
            "assist_probability": 0.0117,
            "finishing_factor": 0.9224,
            "creation_factor": 1.0362,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1573,
                "expected_assists": 0.0041,
                "total_shots": 3,
                "total_pass": 63,
                "accurate_pass": 58,
                "tackles": 2,
                "interceptions": 2,
                "clearances": 10,
                "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": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0514,
                "expected_assists": 0.0015,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 47,
                "accurate_pass": 41,
                "interceptions": 2,
                "clearances": 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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0767,
                "expected_assists": 0.0131,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 56,
                "accurate_pass": 45,
                "tackles": 2,
                "clearances": 3,
                "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": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0191,
                "expected_assists": 0.0136,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 56,
                "accurate_pass": 47,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 5,
                "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": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0538,
                "expected_assists": 0.0111,
                "total_shots": 3,
                "shots_off_target": 3,
                "total_pass": 42,
                "accurate_pass": 38,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 6,
                "aerial_won": 3,
                "duels_won": 8,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0333,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 41,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0535,
                "expected_assists": 0.0022,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 49,
                "accurate_pass": 35,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 11,
                "aerial_won": 6,
                "duels_won": 11,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0425,
                "expected_assists": 0.0118,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 61,
                "accurate_pass": 57,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 4,
                "clearances": 11,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0631,
                "expected_assists": 0.0101,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 57,
                "accurate_pass": 43,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 5,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083598,
              "match_date": "2026-05-11",
              "home_team": "Rayo Vallecano",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0639,
                "expected_assists": 0.012,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 90,
                "accurate_pass": 83,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1485,
            "combined_rank_score": 614.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 282.0,
            "sofascore_rating": 7.0639,
            "sofascore_appearances": 36.0,
            "fifa_rank": 946.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8252,
            "source_file": "data/player_rankings.csv",
            "player_name": "Florian Lejeune",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lucas Barrera",
                  "ranking": 1480
                },
                {
                  "player_name": "Vladimir Nazarov",
                  "ranking": 1481
                },
                {
                  "player_name": "Asror Gafurov",
                  "ranking": 1482
                },
                {
                  "player_name": "Bojan Mlađović",
                  "ranking": 1483
                },
                {
                  "player_name": "Farkhod Sokhibzhonov",
                  "ranking": 1484
                }
              ],
              "lower": [
                {
                  "player_name": "Dimitrios Valkanis",
                  "ranking": 1486
                },
                {
                  "player_name": "Patrick Dorgu",
                  "ranking": 1487
                },
                {
                  "player_name": "Quinten Timber",
                  "ranking": 1488
                },
                {
                  "player_name": "Jon Pacheco",
                  "ranking": 1489
                },
                {
                  "player_name": "Brahim Díaz",
                  "ranking": 1490
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 43,
          "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": 43,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9979,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.67,
              "shots_on_target_pct": 20.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 43 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Rayo Vallecano, 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.1764,
                "tackles": 1.5076,
                "tackles_won": 0.8772,
                "clearances": 6.0147,
                "aerial_won": 1.4247,
                "total_shots": 1.172,
                "rating": 6.8252,
                "minutes": 90.0,
                "total_pass": 54.9446,
                "accurate_pass": 47.2078,
                "duels_won": 4.2185,
                "total_long_balls": 8.296,
                "accurate_long_balls": 2.7762,
                "total_own_half_passes": 35.3666,
                "accurate_own_half_passes": 33.2184,
                "total_opp_half_passes": 19.5779,
                "accurate_opp_half_passes": 13.9893,
                "crosses_total": 0.0803,
                "crosses_accurate": 0.0545,
                "touches": 71.465,
                "possession_lost": 8.4562,
                "dispossessed": 0.0387,
                "duels_lost": 2.7777,
                "aerial_lost": 1.1489,
                "total_contest": 0.4164,
                "won_contest": 0.2425,
                "ball_recovery": 4.2724,
                "challenges_lost": 0.5289,
                "fouls": 1.0475,
                "fouls_drawn": 0.6704,
                "blocks": 0.8262,
                "goals": 0.0663,
                "goal_rate": 0.0663,
                "assists": 0.0131,
                "assist_rate": 0.0131,
                "expected_goals": 0.0752,
                "expected_assists": 0.0107,
                "shots_on_target": 0.4029,
                "big_chances_created": 0.0158,
                "xgot": 0.0663,
                "ball_carries": 18.5676,
                "total_progression": 70.7927,
                "progressive_carries": 0.7653,
                "key_pass": 0.2519,
                "shots_off_target": 0.7691
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:03:23.701438+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 5.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-05-11",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 6.7204,
                  "aerialWon": 1.4865,
                  "totalClearance_p90": 6.7206,
                  "totalTackle": 1.9267,
                  "totalPass": 54.9446
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.176408290863037,
                    "model_output": 1.1764,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1037
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0733
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0362
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0258
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.025
                        }
                      ],
                      "others": 0.0551,
                      "total": 1.1764,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.114218
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.073467
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.034445
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.023846
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.022528
                        }
                      ],
                      "others_margin": 0.047961
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.507611632347107,
                    "model_output": 1.5076,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1411
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0718
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0672
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0512
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.05
                        }
                      ],
                      "others": -0.1652,
                      "total": 1.5076,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.096435
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.04574
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.040977
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.031069
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.030366
                        }
                      ],
                      "others_margin": -0.104011
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8772343993186951,
                    "model_output": 0.8772,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0864
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0605
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0575
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0522
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0249
                        }
                      ],
                      "others": -0.1045,
                      "total": 0.8772,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.096369
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.062299
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.055832
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.050534
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.025082
                        }
                      ],
                      "others_margin": -0.112452
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 6.014688014984131,
                    "model_output": 6.0147,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.8585
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5699
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.3948
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.3903
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3745
                        }
                      ],
                      "others": -0.0247,
                      "total": 6.0147,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.222137
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124197
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.077791
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.071379
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.06402
                        }
                      ],
                      "others_margin": -0.004102
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.4247310161590576,
                    "model_output": 1.4247,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1579
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1611
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1593
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0921
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0781
                        }
                      ],
                      "others": -0.103,
                      "total": 1.4247,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.108196
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.099479
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.098318
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.061573
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.052505
                        }
                      ],
                      "others_margin": -0.06986
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1719555854797363,
                    "model_output": 1.172,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.4268
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1059
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0761
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.022
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0217
                        }
                      ],
                      "others": 0.0484,
                      "total": 1.172,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.426784
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.105917
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.07608
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.022018
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.021717
                        }
                      ],
                      "others_margin": 0.048309
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.825176239013672,
                    "model_output": 6.8252,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0271
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0235
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0233
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.023
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0169
                        }
                      ],
                      "others": 0.0603,
                      "total": 6.8252,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.027073
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.023504
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.023272
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.022975
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.016865
                        }
                      ],
                      "others_margin": 0.060182
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 43,
                  "role_matches": 43,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9979, quality 0.437)",
              "stats": {
                "interceptions": 1.1739,
                "tackles": 1.5044,
                "tackles_won": 0.8754,
                "clearances": 6.0021,
                "aerial_won": 1.4217,
                "total_shots": 1.1696,
                "rating": 6.8252,
                "minutes": 90.0,
                "total_pass": 54.8292,
                "accurate_pass": 47.1087,
                "duels_won": 4.2096,
                "total_long_balls": 8.2786,
                "accurate_long_balls": 2.7704,
                "total_own_half_passes": 35.2923,
                "accurate_own_half_passes": 33.1486,
                "total_opp_half_passes": 19.5368,
                "accurate_opp_half_passes": 13.9599,
                "crosses_total": 0.0801,
                "crosses_accurate": 0.0544,
                "touches": 71.3149,
                "possession_lost": 8.4384,
                "dispossessed": 0.0386,
                "duels_lost": 2.7719,
                "aerial_lost": 1.1465,
                "total_contest": 0.4155,
                "won_contest": 0.242,
                "ball_recovery": 4.2634,
                "challenges_lost": 0.5278,
                "fouls": 1.0453,
                "fouls_drawn": 0.669,
                "blocks": 0.8245,
                "goals": 0.0662,
                "goal_rate": 0.0662,
                "assists": 0.0131,
                "assist_rate": 0.0131,
                "expected_goals": 0.075,
                "expected_assists": 0.0107,
                "shots_on_target": 0.4021,
                "big_chances_created": 0.0158,
                "xgot": 0.0662,
                "ball_carries": 18.5286,
                "total_progression": 70.644,
                "progressive_carries": 0.7637,
                "key_pass": 0.2514,
                "shots_off_target": 0.7675
              },
              "params": {
                "market_value_eur": 1700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9979,
                "reference_quality": 0.505,
                "history_matches": 43,
                "history_shrink": 0.1042,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0135)",
              "stats": {
                "interceptions": 1.1941,
                "tackles": 1.5044,
                "tackles_won": 0.8906,
                "clearances": 6.0021,
                "aerial_won": 1.4217,
                "total_shots": 1.1764,
                "rating": 6.8252,
                "minutes": 90.0,
                "total_pass": 54.8292,
                "accurate_pass": 47.1087,
                "duels_won": 4.2096,
                "total_long_balls": 8.2786,
                "accurate_long_balls": 2.7704,
                "total_own_half_passes": 35.2923,
                "accurate_own_half_passes": 33.1486,
                "total_opp_half_passes": 19.5368,
                "accurate_opp_half_passes": 13.9599,
                "crosses_total": 0.079,
                "crosses_accurate": 0.0544,
                "touches": 71.3149,
                "possession_lost": 8.4384,
                "dispossessed": 0.0386,
                "duels_lost": 2.7719,
                "aerial_lost": 1.1465,
                "total_contest": 0.4155,
                "won_contest": 0.242,
                "ball_recovery": 4.2634,
                "challenges_lost": 0.5278,
                "fouls": 1.0447,
                "fouls_drawn": 0.669,
                "blocks": 0.8245,
                "goals": 0.0653,
                "goal_rate": 0.0653,
                "assists": 0.0129,
                "assist_rate": 0.0129,
                "expected_goals": 0.075,
                "expected_assists": 0.0107,
                "shots_on_target": 0.4011,
                "big_chances_created": 0.0158,
                "xgot": 0.0662,
                "ball_carries": 18.5286,
                "total_progression": 70.644,
                "progressive_carries": 0.7637,
                "key_pass": 0.2514,
                "shots_off_target": 0.7675
              },
              "params": {
                "blend_weight": 0.0135,
                "history_matches": 43,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 1.1739,
                  "after": 1.1941
                },
                {
                  "stat": "wonTackle",
                  "before": 0.8754,
                  "after": 0.8906
                },
                {
                  "stat": "totalShots",
                  "before": 1.1696,
                  "after": 1.1764
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1941,
                "tackles": 1.5044,
                "tackles_won": 0.8906,
                "clearances": 6.0021,
                "aerial_won": 1.4217,
                "total_shots": 1.1764,
                "rating": 6.8252,
                "minutes": 90.0,
                "total_pass": 54.8292,
                "accurate_pass": 47.1087,
                "duels_won": 4.2096,
                "total_long_balls": 8.2786,
                "accurate_long_balls": 2.7704,
                "total_own_half_passes": 35.2923,
                "accurate_own_half_passes": 33.1486,
                "total_opp_half_passes": 19.5368,
                "accurate_opp_half_passes": 13.9599,
                "crosses_total": 0.079,
                "crosses_accurate": 0.0544,
                "touches": 71.3149,
                "possession_lost": 8.4384,
                "dispossessed": 0.0386,
                "duels_lost": 2.7719,
                "aerial_lost": 1.1465,
                "total_contest": 0.4155,
                "won_contest": 0.242,
                "ball_recovery": 4.2634,
                "challenges_lost": 0.5278,
                "fouls": 1.0447,
                "fouls_drawn": 0.669,
                "blocks": 0.8245,
                "goals": 0.0653,
                "goal_rate": 0.0653,
                "assists": 0.0129,
                "assist_rate": 0.0129,
                "expected_goals": 0.075,
                "expected_assists": 0.0107,
                "shots_on_target": 0.4011,
                "big_chances_created": 0.0158,
                "xgot": 0.0662,
                "ball_carries": 18.5286,
                "total_progression": 70.644,
                "progressive_carries": 0.7637,
                "key_pass": 0.2514,
                "shots_off_target": 0.7675
              },
              "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.1941,
                "tackles": 1.5044,
                "tackles_won": 0.8906,
                "clearances": 6.0021,
                "aerial_won": 1.4217,
                "total_shots": 1.1764,
                "rating": 6.8252,
                "minutes": 90.0,
                "total_pass": 54.8292,
                "accurate_pass": 47.1087,
                "duels_won": 4.2096,
                "total_long_balls": 8.2786,
                "accurate_long_balls": 2.7704,
                "total_own_half_passes": 35.2923,
                "accurate_own_half_passes": 33.1486,
                "total_opp_half_passes": 19.5368,
                "accurate_opp_half_passes": 13.9599,
                "crosses_total": 0.079,
                "crosses_accurate": 0.0544,
                "touches": 71.3149,
                "possession_lost": 8.4384,
                "dispossessed": 0.0386,
                "duels_lost": 2.7719,
                "aerial_lost": 1.1465,
                "total_contest": 0.4155,
                "won_contest": 0.242,
                "ball_recovery": 4.2634,
                "challenges_lost": 0.5278,
                "fouls": 1.0447,
                "fouls_drawn": 0.669,
                "blocks": 0.8245,
                "goals": 0.0653,
                "goal_rate": 0.0653,
                "assists": 0.0129,
                "assist_rate": 0.0129,
                "expected_goals": 0.075,
                "expected_assists": 0.0107,
                "shots_on_target": 0.4011,
                "big_chances_created": 0.0158,
                "xgot": 0.0662,
                "ball_carries": 18.5286,
                "total_progression": 70.644,
                "progressive_carries": 0.7637,
                "key_pass": 0.2514,
                "shots_off_target": 0.7675,
                "opponent_faced": "Iñaki Williams",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iñaki Williams",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "interceptions": 1.1941,
                "tackles": 1.5044,
                "tackles_won": 0.8906,
                "clearances": 6.0021,
                "aerial_won": 1.4217,
                "total_shots": 1.1764,
                "rating": 6.8252,
                "minutes": 90.0,
                "total_pass": 54.8292,
                "accurate_pass": 47.1087,
                "duels_won": 4.2096,
                "total_long_balls": 8.2786,
                "accurate_long_balls": 2.7704,
                "total_own_half_passes": 35.2923,
                "accurate_own_half_passes": 33.1486,
                "total_opp_half_passes": 19.5368,
                "accurate_opp_half_passes": 13.9599,
                "crosses_total": 0.079,
                "crosses_accurate": 0.0544,
                "touches": 71.3149,
                "possession_lost": 8.4384,
                "dispossessed": 0.0386,
                "duels_lost": 2.7719,
                "aerial_lost": 1.1465,
                "total_contest": 0.4155,
                "won_contest": 0.242,
                "ball_recovery": 4.2634,
                "challenges_lost": 0.5278,
                "fouls": 1.0447,
                "fouls_drawn": 0.669,
                "blocks": 0.8245,
                "goal_rate": 0.0653,
                "goals": 0,
                "assist_rate": 0.0129,
                "assists": 0,
                "expected_goals": 0.0826,
                "expected_assists": 0.0118,
                "shots_on_target": 0.4011,
                "big_chances_created": 0.0158,
                "xgot": 0.0729,
                "ball_carries": 18.5286,
                "total_progression": 70.644,
                "progressive_carries": 0.7637,
                "key_pass": 0.2514,
                "shots_off_target": 0.7675,
                "opponent_faced": "Iñaki Williams",
                "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.9224,
                "creation_factor": 1.0362
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.075,
                  "after": 0.0826
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 7 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "interceptions": 1.1941,
                "tackles": 1.5044,
                "tackles_won": 0.8906,
                "clearances": 6.0021,
                "aerial_won": 1.4217,
                "total_shots": 1.1764,
                "rating": 6.8252,
                "minutes": 90.0,
                "total_pass": 54.8292,
                "accurate_pass": 47.1087,
                "duels_won": 4.2096,
                "total_long_balls": 8.2786,
                "accurate_long_balls": 2.7704,
                "total_own_half_passes": 35.2923,
                "accurate_own_half_passes": 33.1486,
                "total_opp_half_passes": 19.5368,
                "accurate_opp_half_passes": 13.9599,
                "crosses_total": 0.079,
                "crosses_accurate": 0.0544,
                "touches": 71.3149,
                "possession_lost": 8.4384,
                "dispossessed": 0.0386,
                "duels_lost": 2.7719,
                "aerial_lost": 1.1465,
                "total_contest": 0.4155,
                "won_contest": 0.242,
                "ball_recovery": 4.2634,
                "challenges_lost": 0.5278,
                "fouls": 1.0447,
                "fouls_drawn": 0.669,
                "blocks": 0.8245,
                "goal_rate": 0.0653,
                "goals": 0,
                "assist_rate": 0.0129,
                "assists": 0,
                "expected_goals": 0.0826,
                "expected_assists": 0.0118,
                "shots_on_target": 0.4011,
                "big_chances_created": 0.0158,
                "xgot": 0.0729,
                "ball_carries": 18.5286,
                "total_progression": 70.644,
                "progressive_carries": 0.7637,
                "key_pass": 0.2514,
                "shots_off_target": 0.7675,
                "opponent_faced": "Iñaki Williams",
                "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.9224,
                "creation_factor": 1.0362,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1485,
                "fifa_rank": 946.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.1941,
                "tackles": 1.5044,
                "tackles_won": 0.8906,
                "clearances": 6.0021,
                "aerial_won": 1.4217,
                "total_shots": 1.1764,
                "rating": 6.8252,
                "minutes": 90.0,
                "total_pass": 54.8292,
                "accurate_pass": 47.1087,
                "duels_won": 4.2096,
                "total_long_balls": 8.2786,
                "accurate_long_balls": 2.7704,
                "total_own_half_passes": 35.2923,
                "accurate_own_half_passes": 33.1486,
                "total_opp_half_passes": 19.5368,
                "accurate_opp_half_passes": 13.9599,
                "crosses_total": 0.079,
                "crosses_accurate": 0.0544,
                "touches": 71.3149,
                "possession_lost": 8.4384,
                "dispossessed": 0.0386,
                "duels_lost": 2.7719,
                "aerial_lost": 1.1465,
                "total_contest": 0.4155,
                "won_contest": 0.242,
                "ball_recovery": 4.2634,
                "challenges_lost": 0.5278,
                "fouls": 1.0447,
                "fouls_drawn": 0.669,
                "blocks": 0.8245,
                "goal_rate": 0.0653,
                "goals": 0,
                "assist_rate": 0.0129,
                "assists": 0,
                "expected_goals": 0.0826,
                "expected_assists": 0.0118,
                "shots_on_target": 0.4011,
                "big_chances_created": 0.0158,
                "xgot": 0.0729,
                "ball_carries": 18.5286,
                "total_progression": 70.644,
                "progressive_carries": 0.7637,
                "key_pass": 0.2514,
                "shots_off_target": 0.7675,
                "opponent_faced": "Iñaki Williams",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0793,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9224,
                "creation_factor": 1.0362,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0793,
                "scorer_weight": 0.0762,
                "squad_weight_total": 1.4853,
                "weight_share": 0.0513,
                "finishing_factor": 0.9224,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "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.1941,
                "tackles": 1.5044,
                "tackles_won": 0.8906,
                "clearances": 6.0021,
                "aerial_won": 1.4217,
                "total_shots": 1.1764,
                "rating": 6.8252,
                "minutes": 90.0,
                "total_pass": 54.8292,
                "accurate_pass": 47.1087,
                "duels_won": 4.2096,
                "total_long_balls": 8.2786,
                "accurate_long_balls": 2.7704,
                "total_own_half_passes": 35.2923,
                "accurate_own_half_passes": 33.1486,
                "total_opp_half_passes": 19.5368,
                "accurate_opp_half_passes": 13.9599,
                "crosses_total": 0.079,
                "crosses_accurate": 0.0544,
                "touches": 71.3149,
                "possession_lost": 8.4384,
                "dispossessed": 0.0386,
                "duels_lost": 2.7719,
                "aerial_lost": 1.1465,
                "total_contest": 0.4155,
                "won_contest": 0.242,
                "ball_recovery": 4.2634,
                "challenges_lost": 0.5278,
                "fouls": 1.0447,
                "fouls_drawn": 0.669,
                "blocks": 0.8245,
                "goal_rate": 0.0653,
                "goals": 0,
                "assist_rate": 0.0129,
                "assists": 0,
                "expected_goals": 0.0826,
                "expected_assists": 0.0118,
                "shots_on_target": 0.4011,
                "big_chances_created": 0.0158,
                "xgot": 0.0729,
                "ball_carries": 18.5286,
                "total_progression": 70.644,
                "progressive_carries": 0.7637,
                "key_pass": 0.2514,
                "shots_off_target": 0.7675,
                "opponent_faced": "Iñaki Williams",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0793,
                "projected_assists": 0,
                "assist_probability": 0.0117,
                "finishing_factor": 0.9224,
                "creation_factor": 1.0362,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0117,
                "provider_weight": 0.0122,
                "squad_weight_total": 0.9695,
                "weight_share": 0.0126,
                "creation_factor": 1.0362,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Jorge de Frutos": {
          "player_id": 900003,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 19,
          "height": 173,
          "market_value": 10900000,
          "stats": {
            "expected_goals": 0.1413,
            "goal_rate": 0.1493,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0623,
            "key_pass": 1,
            "rating": 6.7553,
            "minutes": 75,
            "total_pass": 13,
            "accurate_pass": 9,
            "duels_won": 5,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 6,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 27,
            "possession_lost": 9.8737,
            "dispossessed": 0.8359,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.093,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.2582,
            "offsides": 0,
            "ball_carries": 9,
            "total_progression": 34,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.965,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.2,
            "aerial_won": 1,
            "crosses_attempted": 2.0,
            "duel_win_rate": 0.456,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Jesús Areso",
            "opponent_faced": "Jesús Areso",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1318,
            "projected_assists": 0,
            "assist_probability": 0.0604,
            "finishing_factor": 1.1172,
            "creation_factor": 1.25,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 71,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0441,
                "expected_assists": 0.1181,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 11,
                "key_pass": 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": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 65,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0728,
                "expected_assists": 0.0161,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 12,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 57,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0195,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 2,
                "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": 16421052,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0103,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 12,
                "tackles": 3,
                "tackles_won": 2,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.349,
                "expected_assists": 0.008,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 11,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2418,
                "expected_assists": 0.3398,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 22,
                "accurate_pass": 14,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Valencia",
              "stats": {
                "minutes": 30,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1178,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 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": 14083598,
              "match_date": "2026-05-11",
              "home_team": "Rayo Vallecano",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 68,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0112,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 9,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083440,
              "match_date": "2026-05-03",
              "home_team": "Getafe",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Getafe",
              "stats": {
                "minutes": 68,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4142,
                "expected_assists": 0.0136,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 3,
                "total_pass": 12,
                "accurate_pass": 9,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 900,
            "combined_rank_score": 503.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 421.0,
            "sofascore_rating": 6.9222,
            "sofascore_appearances": 36.0,
            "fifa_rank": 585.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7553,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jorge de Frutos",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Stefan de Vrij",
                  "ranking": 895
                },
                {
                  "player_name": "Óscar Mingueza",
                  "ranking": 896
                },
                {
                  "player_name": "Moleiro",
                  "ranking": 897
                },
                {
                  "player_name": "Fabián Hormazábal",
                  "ranking": 898
                },
                {
                  "player_name": "Do-hyeok Kim",
                  "ranking": 899
                }
              ],
              "lower": [
                {
                  "player_name": "Bruno Silva",
                  "ranking": 901
                },
                {
                  "player_name": "Vedat Muriqi",
                  "ranking": 902
                },
                {
                  "player_name": "Seung-chan Heo",
                  "ranking": 903
                },
                {
                  "player_name": "Marco Asensio",
                  "ranking": 904
                },
                {
                  "player_name": "Nick Woltemade",
                  "ranking": 905
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 41,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 41,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0009,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 41 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.133,
                "goals": 0.1545,
                "goal_rate": 0.1545,
                "shots_on_target": 0.5513,
                "total_shots": 1.3385,
                "expected_assists": 0.0565,
                "key_pass": 0.7303,
                "rating": 6.7553,
                "minutes": 74.82,
                "total_pass": 12.9724,
                "accurate_pass": 9.4036,
                "duels_won": 4.5366,
                "total_long_balls": 0.6307,
                "accurate_long_balls": 0.1705,
                "total_opp_half_passes": 8.6483,
                "accurate_opp_half_passes": 5.5043,
                "crosses_total": 2.3858,
                "crosses_accurate": 0.4029,
                "touches": 27.3294,
                "possession_lost": 9.8648,
                "dispossessed": 0.8351,
                "duels_lost": 4.603,
                "aerial_lost": 0.8429,
                "total_contest": 2.3213,
                "won_contest": 1.3687,
                "ball_recovery": 2.2136,
                "challenges_lost": 1.1927,
                "fouls": 0.8493,
                "fouls_drawn": 1.3874,
                "assists": 0.0929,
                "assist_rate": 0.0929,
                "interceptions": 0.2285,
                "tackles_won": 0.9691,
                "tackles": 1.2612,
                "clearances": 0.2624,
                "blocks": 0.0,
                "big_chances_created": 0.1209,
                "big_chances_missed": 0.1556,
                "xgot": 0.2429,
                "offsides": 0.3035,
                "ball_carries": 8.6464,
                "total_progression": 33.7756,
                "progressive_carries": 1.737,
                "shots_off_target": 0.7872
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:04:40.622139+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0666,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Valencia",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0481,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-11",
                    "opponent": "Girona FC",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Getafe",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.131,
                  "totalOppositionHalfPasses": 8.2346,
                  "accurateOppositionHalfPasses": 5.1891,
                  "accuratePass": 8.7862,
                  "totalShots": 1.0799
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.13301251828670502,
                    "model_output": 0.133,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0606
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0488
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0307
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0121
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0061
                        }
                      ],
                      "others": -0.0289,
                      "total": 0.133,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.265805
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.208252
                        },
                        {
                          "name": "goals",
                          "margin": -0.157172
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.069595
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.03721
                        }
                      ],
                      "others_margin": -0.19621
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1545155644416809,
                    "model_output": 0.1545,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0676
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.039
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0331
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0122
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0111
                        }
                      ],
                      "others": -0.0214,
                      "total": 0.1545,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.286503
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.155278
                        },
                        {
                          "name": "goals",
                          "margin": -0.153619
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.063025
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.061144
                        }
                      ],
                      "others_margin": -0.130032
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5512682795524597,
                    "model_output": 0.5513,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1634
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0486
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0299
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0268
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0207
                        }
                      ],
                      "others": -0.0231,
                      "total": 0.5513,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.265718
                        },
                        {
                          "name": "goals",
                          "margin": -0.071942
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.046918
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.044023
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.035433
                        }
                      ],
                      "others_margin": -0.04114
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.3384755849838257,
                    "model_output": 1.3385,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3957
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1473
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0835
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0567
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.039
                        }
                      ],
                      "others": -0.1094,
                      "total": 1.3385,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.395731
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.147281
                        },
                        {
                          "name": "goals",
                          "margin": -0.083451
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.056665
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.039031
                        }
                      ],
                      "others_margin": -0.109533
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0565202496945858,
                    "model_output": 0.0565,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0129
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.008
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0068
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0026
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0025
                        }
                      ],
                      "others": -0.0008,
                      "total": 0.0565,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.182483
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.10946
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.10276
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.042968
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.041972
                        }
                      ],
                      "others_margin": -0.014023
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7303470969200134,
                    "model_output": 0.7303,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2061
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0556
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0428
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0261
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0226
                        }
                      ],
                      "others": -0.0549,
                      "total": 0.7303,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.266801
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.06522
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.053251
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.03288
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.028405
                        }
                      ],
                      "others_margin": -0.07248
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.755313396453857,
                    "model_output": 6.7553,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0527
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0164
                        },
                        {
                          "name": "wasFouled",
                          "contribution": 0.0148
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0147
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0143
                        }
                      ],
                      "others": -0.029,
                      "total": 6.7553,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.052678
                        },
                        {
                          "name": "rating",
                          "margin": -0.016425
                        },
                        {
                          "name": "wasFouled",
                          "margin": 0.014808
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.014719
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.01433
                        }
                      ],
                      "others_margin": -0.028859
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 41,
                  "role_matches": 36,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0009, quality 0.533)",
              "stats": {
                "expected_goals": 0.1331,
                "goals": 0.1547,
                "goal_rate": 0.1547,
                "shots_on_target": 0.5518,
                "total_shots": 1.3397,
                "expected_assists": 0.0566,
                "key_pass": 0.731,
                "rating": 6.7553,
                "minutes": 74.82,
                "total_pass": 12.9841,
                "accurate_pass": 9.4121,
                "duels_won": 4.5407,
                "total_long_balls": 0.6313,
                "accurate_long_balls": 0.1707,
                "total_opp_half_passes": 8.6561,
                "accurate_opp_half_passes": 5.5093,
                "crosses_total": 2.3879,
                "crosses_accurate": 0.4033,
                "touches": 27.354,
                "possession_lost": 9.8737,
                "dispossessed": 0.8359,
                "duels_lost": 4.6071,
                "aerial_lost": 0.8437,
                "total_contest": 2.3234,
                "won_contest": 1.3699,
                "ball_recovery": 2.2156,
                "challenges_lost": 1.1938,
                "fouls": 0.8501,
                "fouls_drawn": 1.3886,
                "assists": 0.093,
                "assist_rate": 0.093,
                "interceptions": 0.2287,
                "tackles_won": 0.97,
                "tackles": 1.2623,
                "clearances": 0.2626,
                "blocks": 0.0,
                "big_chances_created": 0.121,
                "big_chances_missed": 0.1557,
                "xgot": 0.2431,
                "offsides": 0.3038,
                "ball_carries": 8.6542,
                "total_progression": 33.806,
                "progressive_carries": 1.7386,
                "shots_off_target": 0.7879
              },
              "params": {
                "market_value_eur": 10900000,
                "quality_factor": 0.533,
                "boost_factor": 1.0009,
                "reference_quality": 0.505,
                "history_matches": 41,
                "history_shrink": 0.1087,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1331,
                "goals": 0.1547,
                "goal_rate": 0.1547,
                "shots_on_target": 0.5518,
                "total_shots": 1.3397,
                "expected_assists": 0.0566,
                "key_pass": 0.731,
                "rating": 6.7553,
                "minutes": 74.82,
                "total_pass": 12.9841,
                "accurate_pass": 9.4121,
                "duels_won": 4.5407,
                "total_long_balls": 0.6313,
                "accurate_long_balls": 0.1707,
                "total_opp_half_passes": 8.6561,
                "accurate_opp_half_passes": 5.5093,
                "crosses_total": 2.3879,
                "crosses_accurate": 0.4033,
                "touches": 27.354,
                "possession_lost": 9.8737,
                "dispossessed": 0.8359,
                "duels_lost": 4.6071,
                "aerial_lost": 0.8437,
                "total_contest": 2.3234,
                "won_contest": 1.3699,
                "ball_recovery": 2.2156,
                "challenges_lost": 1.1938,
                "fouls": 0.8501,
                "fouls_drawn": 1.3886,
                "assists": 0.093,
                "assist_rate": 0.093,
                "interceptions": 0.2287,
                "tackles_won": 0.97,
                "tackles": 1.2623,
                "clearances": 0.2626,
                "blocks": 0.0,
                "big_chances_created": 0.121,
                "big_chances_missed": 0.1557,
                "xgot": 0.2431,
                "offsides": 0.3038,
                "ball_carries": 8.6542,
                "total_progression": 33.806,
                "progressive_carries": 1.7386,
                "shots_off_target": 0.7879
              },
              "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.1284,
                "goals": 0.1493,
                "goal_rate": 0.1493,
                "shots_on_target": 0.5325,
                "total_shots": 1.2928,
                "expected_assists": 0.0566,
                "key_pass": 0.731,
                "rating": 6.7553,
                "minutes": 74.82,
                "total_pass": 12.9841,
                "accurate_pass": 9.4121,
                "duels_won": 4.5407,
                "total_long_balls": 0.6313,
                "accurate_long_balls": 0.1707,
                "total_opp_half_passes": 8.6561,
                "accurate_opp_half_passes": 5.5093,
                "crosses_total": 2.3879,
                "crosses_accurate": 0.4033,
                "touches": 27.354,
                "possession_lost": 9.8737,
                "dispossessed": 0.8359,
                "duels_lost": 4.6071,
                "aerial_lost": 0.8437,
                "total_contest": 2.3234,
                "won_contest": 1.3699,
                "ball_recovery": 2.2156,
                "challenges_lost": 1.1938,
                "fouls": 0.8501,
                "fouls_drawn": 1.3886,
                "assists": 0.093,
                "assist_rate": 0.093,
                "interceptions": 0.2287,
                "tackles_won": 0.97,
                "tackles": 1.2623,
                "clearances": 0.2626,
                "blocks": 0.0,
                "big_chances_created": 0.121,
                "big_chances_missed": 0.1503,
                "xgot": 0.2346,
                "offsides": 0.3038,
                "ball_carries": 8.6542,
                "total_progression": 33.806,
                "progressive_carries": 1.7386,
                "shots_off_target": 0.7603,
                "duel_xg_multiplier": 0.965,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "aerial_won": 0.9,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.456,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jesús Areso",
                "opponent_faced": "Jesús Areso",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jesús Areso",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                  "duel_win_rate": 0.456,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.965,
                  "skill_edge": 0.0162,
                  "height_edge": -0.04,
                  "attacker_skill": 0.533,
                  "defender_skill": 0.497,
                  "attacker_role": "LW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Jesús Areso",
                      "market_value": 5500000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.497
                    }
                  ],
                  "xg_override": 0.1284
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.3397,
                  "after": 1.2928
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7879,
                  "after": 0.7603
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5518,
                  "after": 0.5325
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.2431,
                  "after": 0.2346
                },
                {
                  "stat": "goals",
                  "before": 0.1547,
                  "after": 0.1493
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1557,
                  "after": 0.1503
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.1413,
                "goal_rate": 0.1493,
                "goals": 0,
                "shots_on_target": 0.5325,
                "total_shots": 1.2928,
                "expected_assists": 0.0623,
                "key_pass": 0.731,
                "rating": 6.7553,
                "minutes": 74.82,
                "total_pass": 12.9841,
                "accurate_pass": 9.4121,
                "duels_won": 4.5407,
                "total_long_balls": 0.6313,
                "accurate_long_balls": 0.1707,
                "total_opp_half_passes": 8.6561,
                "accurate_opp_half_passes": 5.5093,
                "crosses_total": 2.3879,
                "crosses_accurate": 0.4033,
                "touches": 27.354,
                "possession_lost": 9.8737,
                "dispossessed": 0.8359,
                "duels_lost": 4.6071,
                "aerial_lost": 0.8437,
                "total_contest": 2.3234,
                "won_contest": 1.3699,
                "ball_recovery": 2.2156,
                "challenges_lost": 1.1938,
                "fouls": 0.8501,
                "fouls_drawn": 1.3886,
                "assist_rate": 0.093,
                "assists": 0,
                "interceptions": 0.2287,
                "tackles_won": 0.97,
                "tackles": 1.2623,
                "clearances": 0.2626,
                "blocks": 0.0,
                "big_chances_created": 0.121,
                "big_chances_missed": 0.1503,
                "xgot": 0.2582,
                "offsides": 0.3038,
                "ball_carries": 8.6542,
                "total_progression": 33.806,
                "progressive_carries": 1.7386,
                "shots_off_target": 0.7603,
                "duel_xg_multiplier": 0.965,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "aerial_won": 0.9,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.456,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jesús Areso",
                "opponent_faced": "Jesús Areso",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1172,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1284,
                  "after": 0.1413
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0566,
                  "after": 0.0623
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1413,
                "goal_rate": 0.1493,
                "goals": 0,
                "shots_on_target": 0.5325,
                "total_shots": 1.2928,
                "expected_assists": 0.0623,
                "key_pass": 0.731,
                "rating": 6.7553,
                "minutes": 74.82,
                "total_pass": 12.9841,
                "accurate_pass": 9.4121,
                "duels_won": 4.5407,
                "total_long_balls": 0.6313,
                "accurate_long_balls": 0.1707,
                "total_opp_half_passes": 8.6561,
                "accurate_opp_half_passes": 5.5093,
                "crosses_total": 2.3879,
                "crosses_accurate": 0.4033,
                "touches": 27.354,
                "possession_lost": 9.8737,
                "dispossessed": 0.8359,
                "duels_lost": 4.6071,
                "aerial_lost": 0.8437,
                "total_contest": 2.3234,
                "won_contest": 1.3699,
                "ball_recovery": 2.2156,
                "challenges_lost": 1.1938,
                "fouls": 0.8501,
                "fouls_drawn": 1.3886,
                "assist_rate": 0.093,
                "assists": 0,
                "interceptions": 0.2287,
                "tackles_won": 0.97,
                "tackles": 1.2623,
                "clearances": 0.2626,
                "blocks": 0.0,
                "big_chances_created": 0.121,
                "big_chances_missed": 0.1503,
                "xgot": 0.2582,
                "offsides": 0.3038,
                "ball_carries": 8.6542,
                "total_progression": 33.806,
                "progressive_carries": 1.7386,
                "shots_off_target": 0.7603,
                "duel_xg_multiplier": 0.965,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "aerial_won": 0.9,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.456,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jesús Areso",
                "opponent_faced": "Jesús Areso",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1172,
                "creation_factor": 1.25,
                "fifa_overall": 81.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": 900,
                "fifa_rank": 585.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1413,
                "goal_rate": 0.1493,
                "goals": 0,
                "shots_on_target": 0.5325,
                "total_shots": 1.2928,
                "expected_assists": 0.0623,
                "key_pass": 0.731,
                "rating": 6.7553,
                "minutes": 74.82,
                "total_pass": 12.9841,
                "accurate_pass": 9.4121,
                "duels_won": 4.5407,
                "total_long_balls": 0.6313,
                "accurate_long_balls": 0.1707,
                "total_opp_half_passes": 8.6561,
                "accurate_opp_half_passes": 5.5093,
                "crosses_total": 2.3879,
                "crosses_accurate": 0.4033,
                "touches": 27.354,
                "possession_lost": 9.8737,
                "dispossessed": 0.8359,
                "duels_lost": 4.6071,
                "aerial_lost": 0.8437,
                "total_contest": 2.3234,
                "won_contest": 1.3699,
                "ball_recovery": 2.2156,
                "challenges_lost": 1.1938,
                "fouls": 0.8501,
                "fouls_drawn": 1.3886,
                "assist_rate": 0.093,
                "assists": 0,
                "interceptions": 0.2287,
                "tackles_won": 0.97,
                "tackles": 1.2623,
                "clearances": 0.2626,
                "blocks": 0.0,
                "big_chances_created": 0.121,
                "big_chances_missed": 0.1503,
                "xgot": 0.2582,
                "offsides": 0.3038,
                "ball_carries": 8.6542,
                "total_progression": 33.806,
                "progressive_carries": 1.7386,
                "shots_off_target": 0.7603,
                "duel_xg_multiplier": 0.965,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "aerial_won": 0.9,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.456,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jesús Areso",
                "opponent_faced": "Jesús Areso",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1318,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1172,
                "creation_factor": 1.25,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1318,
                "scorer_weight": 0.1579,
                "squad_weight_total": 1.4853,
                "weight_share": 0.1063,
                "finishing_factor": 1.1172,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "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.1413,
                "goal_rate": 0.1493,
                "goals": 0,
                "shots_on_target": 0.5325,
                "total_shots": 1.2928,
                "expected_assists": 0.0623,
                "key_pass": 0.731,
                "rating": 6.7553,
                "minutes": 74.82,
                "total_pass": 12.9841,
                "accurate_pass": 9.4121,
                "duels_won": 4.5407,
                "total_long_balls": 0.6313,
                "accurate_long_balls": 0.1707,
                "total_opp_half_passes": 8.6561,
                "accurate_opp_half_passes": 5.5093,
                "crosses_total": 2.3879,
                "crosses_accurate": 0.4033,
                "touches": 27.354,
                "possession_lost": 9.8737,
                "dispossessed": 0.8359,
                "duels_lost": 4.6071,
                "aerial_lost": 0.8437,
                "total_contest": 2.3234,
                "won_contest": 1.3699,
                "ball_recovery": 2.2156,
                "challenges_lost": 1.1938,
                "fouls": 0.8501,
                "fouls_drawn": 1.3886,
                "assist_rate": 0.093,
                "assists": 0,
                "interceptions": 0.2287,
                "tackles_won": 0.97,
                "tackles": 1.2623,
                "clearances": 0.2626,
                "blocks": 0.0,
                "big_chances_created": 0.121,
                "big_chances_missed": 0.1503,
                "xgot": 0.2582,
                "offsides": 0.3038,
                "ball_carries": 8.6542,
                "total_progression": 33.806,
                "progressive_carries": 1.7386,
                "shots_off_target": 0.7603,
                "duel_xg_multiplier": 0.965,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "aerial_won": 0.9,
                "crosses_attempted": 2.0,
                "duel_win_rate": 0.456,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jesús Areso",
                "opponent_faced": "Jesús Areso",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1318,
                "projected_assists": 0,
                "assist_probability": 0.0604,
                "finishing_factor": 1.1172,
                "creation_factor": 1.25,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0604,
                "provider_weight": 0.0779,
                "squad_weight_total": 0.9695,
                "weight_share": 0.0803,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Augusto Batalla": {
          "player_id": 358910,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 186,
          "market_value": 5800000,
          "stats": {
            "saves": 0,
            "goals_prevented": -0.0127,
            "rating": 6.8967,
            "minutes": 5,
            "total_pass": 6,
            "accurate_pass": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 1,
            "touches": 7,
            "clearances": 0,
            "ball_recovery": 1,
            "high_claims": 0,
            "punches": 0.0789,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 2.2386,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "bench_appearance_probability": 0.134,
            "bench_expected_minutes": 4.53,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.547,
            "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": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 60,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 13,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 3,
                "saves": 1,
                "goals_prevented": 0.0088
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 20,
                "clearances": 2,
                "ball_recovery": 16,
                "saves": 2,
                "goals_prevented": -0.1982
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 30,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 6,
                "saves": 2,
                "goals_prevented": 0.1305
              },
              "has_player_stats": true,
              "league_name": "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": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 27,
                "duels_won": 1,
                "ball_recovery": 7,
                "saves": 2,
                "goals_prevented": -0.65
              },
              "has_player_stats": true,
              "league_name": "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": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0031,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 29,
                "clearances": 1,
                "ball_recovery": 13,
                "saves": 3,
                "goals_prevented": 0.5096
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083440,
              "match_date": "2026-05-03",
              "home_team": "Getafe",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 17,
                "ball_recovery": 10,
                "saves": 3,
                "goals_prevented": 1.3865
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083697,
              "match_date": "2026-04-03",
              "home_team": "Rayo Vallecano",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0043,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 26,
                "ball_recovery": 11,
                "saves": 4,
                "goals_prevented": 0.4943
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083662,
              "match_date": "2026-03-22",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 19,
                "duels_won": 1,
                "ball_recovery": 6,
                "saves": 3,
                "goals_prevented": 0.7595
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083647,
              "match_date": "2026-03-16",
              "home_team": "Rayo Vallecano",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 14,
                "duels_won": 1,
                "ball_recovery": 11,
                "saves": 4,
                "goals_prevented": -0.4918
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081804,
              "match_date": "2026-03-08",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0041,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 35,
                "clearances": 1,
                "ball_recovery": 11,
                "saves": 1,
                "goals_prevented": 0.3811
              },
              "has_player_stats": true,
              "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": 1585,
            "combined_rank_score": 646.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 2.0,
            "fifa_rank": 956.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8967,
            "source_file": "data/player_rankings.csv",
            "player_name": "Augusto Batalla",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Daniel Ballard",
                  "ranking": 1580
                },
                {
                  "player_name": "Sergio Herrera",
                  "ranking": 1581
                },
                {
                  "player_name": "Maximiliano Romero",
                  "ranking": 1582
                },
                {
                  "player_name": "Lucas Digne",
                  "ranking": 1583
                },
                {
                  "player_name": "Nico Elvedi",
                  "ranking": 1584
                }
              ],
              "lower": [
                {
                  "player_name": "Pavel Šulc",
                  "ranking": 1586
                },
                {
                  "player_name": "Richard Friday",
                  "ranking": 1587
                },
                {
                  "player_name": "Bertrand Traoré",
                  "ranking": 1588
                },
                {
                  "player_name": "Abdurauf Buriev",
                  "ranking": 1589
                },
                {
                  "player_name": "Nicolás Avellaneda",
                  "ranking": 1590
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.767,
          "history_matches": 36,
          "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": 36,
            "data_confidence": 0.767,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 4.529104686408814,
            "bench_appearance_prob": 0.134,
            "market_value_adjustment": 0.9988,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.1133
            },
            "rationale": "Bench projection scaled from XGBoost G_service (36 historical appearances) to 4.5 expected mins (appearance prob 0.13); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.7167,
                "goals_prevented": -0.08,
                "rating": 6.8967,
                "minutes": 28.5,
                "total_pass": 36.225,
                "accurate_pass": 22.4028,
                "total_long_balls": 22.1586,
                "accurate_long_balls": 8.5535,
                "touches": 45.1944,
                "clearances": 0.8446,
                "ball_recovery": 8.7417,
                "high_claims": 1.3528,
                "punches": 0.4974,
                "aerial_won": 0.2423,
                "sweeper_actions": 0.686,
                "sweeper_accurate": 0.4622,
                "saves_inside_box": 1.5952,
                "possession_lost": 14.1036,
                "duels_won": 0.6081,
                "duels_lost": 0.3033,
                "total_contest": 0.2153,
                "won_contest": 0.1671,
                "fouls": 0.0667,
                "fouls_drawn": 0.0477,
                "total_own_half_passes": 20.3575,
                "accurate_own_half_passes": 17.8629
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-09T10:02:40.828652+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 199,
                    "rows": 6796
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-11",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-04-03",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-03-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-03-08",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "sweeper_actions_p90": 0.4621,
                  "distribution_accuracy": 0.8803,
                  "sweeper_accuracy": 0.2102,
                  "goalkeeperValueNormalized": 0.1223,
                  "save_contribution": 2.3862,
                  "accurateKeeperSweeper": 0.4621
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.7167418003082275,
                    "model_output": 2.7167,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0415
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0394
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0368
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0362
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0362
                      }
                    ],
                    "decomposition": {
                      "base": 2.9286,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1668
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0358
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0269
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0185
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.017
                        }
                      ],
                      "others": -0.0179,
                      "total": 2.7167,
                      "log_link": true,
                      "margin_base": 1.074537,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.05864
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.013059
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.009928
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.006847
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.006223
                        }
                      ],
                      "others_margin": -0.006548
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.07996651530265808,
                    "model_output": -0.08,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "punches",
                        "importance": 0.041
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0398
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0385
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0356
                      }
                    ],
                    "decomposition": {
                      "base": -0.0166,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0469
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0242
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0204
                        },
                        {
                          "name": "punches",
                          "contribution": 0.0179
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.0166
                        }
                      ],
                      "others": -0.0216,
                      "total": -0.08,
                      "log_link": false,
                      "margin_base": -0.016613,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.046936
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.024207
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.020442
                        },
                        {
                          "name": "punches",
                          "margin": 0.017876
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": -0.016566
                        }
                      ],
                      "others_margin": -0.021494
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.896728515625,
                    "model_output": 6.8967,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0429
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0371
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.036
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0359
                      }
                    ],
                    "decomposition": {
                      "base": 7.0091,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0284
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0211
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0205
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0194
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0188
                        }
                      ],
                      "others": -0.0806,
                      "total": 6.8967,
                      "log_link": false,
                      "margin_base": 7.009122,
                      "item_margins": [
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.02836
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.021149
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.020457
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.019413
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.018818
                        }
                      ],
                      "others_margin": -0.080658
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 36,
                  "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.9988, quality 0.472)",
              "stats": {
                "saves": 2.7135,
                "goals_prevented": -0.0799,
                "rating": 6.8967,
                "minutes": 28.5,
                "total_pass": 36.1815,
                "accurate_pass": 22.3759,
                "total_long_balls": 22.132,
                "accurate_long_balls": 8.5432,
                "touches": 45.1402,
                "clearances": 0.8436,
                "ball_recovery": 8.7312,
                "high_claims": 1.3512,
                "punches": 0.4968,
                "aerial_won": 0.242,
                "sweeper_actions": 0.6852,
                "sweeper_accurate": 0.4616,
                "saves_inside_box": 1.5933,
                "possession_lost": 14.0867,
                "duels_won": 0.6074,
                "duels_lost": 0.3029,
                "total_contest": 0.215,
                "won_contest": 0.1669,
                "fouls": 0.0666,
                "fouls_drawn": 0.0476,
                "total_own_half_passes": 20.3331,
                "accurate_own_half_passes": 17.8415
              },
              "params": {
                "market_value_eur": 5800000,
                "quality_factor": 0.472,
                "boost_factor": 0.9988,
                "reference_quality": 0.505,
                "history_matches": 36,
                "history_shrink": 0.122,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0090)",
              "stats": {
                "saves": 2.6941,
                "goals_prevented": -0.0799,
                "rating": 6.8967,
                "minutes": 28.5,
                "total_pass": 36.1815,
                "accurate_pass": 22.3759,
                "total_long_balls": 22.132,
                "accurate_long_balls": 8.5432,
                "touches": 45.1402,
                "clearances": 0.8436,
                "ball_recovery": 8.7312,
                "high_claims": 1.3512,
                "punches": 0.4968,
                "aerial_won": 0.242,
                "sweeper_actions": 0.6852,
                "sweeper_accurate": 0.4616,
                "saves_inside_box": 1.5933,
                "possession_lost": 14.0867,
                "duels_won": 0.6074,
                "duels_lost": 0.3029,
                "total_contest": 0.215,
                "won_contest": 0.1669,
                "fouls": 0.066,
                "fouls_drawn": 0.0472,
                "total_own_half_passes": 20.3331,
                "accurate_own_half_passes": 17.8415
              },
              "params": {
                "blend_weight": 0.009,
                "history_matches": 36,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3167,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.7135,
                  "after": 2.6941
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.5 to 4.5 expected minutes (appearance prob 0.13)",
              "stats": {
                "saves": 0.4281,
                "goals_prevented": -0.0127,
                "rating": 6.8967,
                "minutes": 4.53,
                "total_pass": 5.7498,
                "accurate_pass": 3.5559,
                "total_long_balls": 3.5171,
                "accurate_long_balls": 1.3577,
                "touches": 7.1735,
                "clearances": 0.1341,
                "ball_recovery": 1.3875,
                "high_claims": 0.2147,
                "punches": 0.0789,
                "aerial_won": 0.0385,
                "sweeper_actions": 0.1089,
                "sweeper_accurate": 0.0734,
                "saves_inside_box": 0.2532,
                "possession_lost": 2.2386,
                "duels_won": 0.0965,
                "duels_lost": 0.0481,
                "total_contest": 0.0342,
                "won_contest": 0.0265,
                "fouls": 0.0105,
                "fouls_drawn": 0.0075,
                "total_own_half_passes": 3.2313,
                "accurate_own_half_passes": 2.8353,
                "bench_appearance_probability": 0.134,
                "bench_expected_minutes": 4.53
              },
              "params": {
                "expected_minutes": 4.53,
                "projection_minutes": 28.5,
                "minutes_scale": 0.1589,
                "appearance_probability": 0.134
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.4281,
                "goals_prevented": -0.0127,
                "rating": 6.8967,
                "minutes": 4.53,
                "total_pass": 5.7498,
                "accurate_pass": 3.5559,
                "total_long_balls": 3.5171,
                "accurate_long_balls": 1.3577,
                "touches": 7.1735,
                "clearances": 0.1341,
                "ball_recovery": 1.3875,
                "high_claims": 0.2147,
                "punches": 0.0789,
                "aerial_won": 0.0385,
                "sweeper_actions": 0.1089,
                "sweeper_accurate": 0.0734,
                "saves_inside_box": 0.2532,
                "possession_lost": 2.2386,
                "duels_won": 0.0965,
                "duels_lost": 0.0481,
                "total_contest": 0.0342,
                "won_contest": 0.0265,
                "fouls": 0.0105,
                "fouls_drawn": 0.0075,
                "total_own_half_passes": 3.2313,
                "accurate_own_half_passes": 2.8353,
                "bench_appearance_probability": 0.134,
                "bench_expected_minutes": 4.53
              },
              "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.4281,
                "goals_prevented": -0.0127,
                "rating": 6.8967,
                "minutes": 4.53,
                "total_pass": 5.7498,
                "accurate_pass": 3.5559,
                "total_long_balls": 3.5171,
                "accurate_long_balls": 1.3577,
                "touches": 7.1735,
                "clearances": 0.1341,
                "ball_recovery": 1.3875,
                "high_claims": 0.2147,
                "punches": 0.0789,
                "aerial_won": 0.0385,
                "sweeper_actions": 0.1089,
                "sweeper_accurate": 0.0734,
                "saves_inside_box": 0.2532,
                "possession_lost": 2.2386,
                "duels_won": 0.0965,
                "duels_lost": 0.0481,
                "total_contest": 0.0342,
                "won_contest": 0.0265,
                "fouls": 0.0105,
                "fouls_drawn": 0.0075,
                "total_own_half_passes": 3.2313,
                "accurate_own_half_passes": 2.8353,
                "bench_appearance_probability": 0.134,
                "bench_expected_minutes": 4.53,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "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.134,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 4 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "saves": 0.4281,
                "goals_prevented": -0.0127,
                "rating": 6.8967,
                "minutes": 4.53,
                "total_pass": 5.7498,
                "accurate_pass": 3.5559,
                "total_long_balls": 3.5171,
                "accurate_long_balls": 1.3577,
                "touches": 7.1735,
                "clearances": 0.1341,
                "ball_recovery": 1.3875,
                "high_claims": 0.2147,
                "punches": 0.0789,
                "aerial_won": 0.0385,
                "sweeper_actions": 0.1089,
                "sweeper_accurate": 0.0734,
                "saves_inside_box": 0.2532,
                "possession_lost": 2.2386,
                "duels_won": 0.0965,
                "duels_lost": 0.0481,
                "total_contest": 0.0342,
                "won_contest": 0.0265,
                "fouls": 0.0105,
                "fouls_drawn": 0.0075,
                "total_own_half_passes": 3.2313,
                "accurate_own_half_passes": 2.8353,
                "bench_appearance_probability": 0.134,
                "bench_expected_minutes": 4.53,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "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": 79.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1585,
                "fifa_rank": 956.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Abdul Mumin": {
          "player_id": 846147,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 188,
          "market_value": 3200000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.6351,
            "minutes": 14,
            "total_pass": 14,
            "accurate_pass": 12,
            "duels_won": 0,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 12,
            "accurate_own_half_passes": 11,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 1.8617,
            "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": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0002,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 0,
            "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": 3,
            "projected_substitution_expected_count": 2.547,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 61,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 24,
                "interceptions": 2,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 8,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "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": 14083330,
              "match_date": "2026-04-23",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 9,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "clearances": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2470,
            "combined_rank_score": 1236.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 890.0,
            "sofascore_rating": 6.5333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1582.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6351,
            "source_file": "data/player_rankings.csv",
            "player_name": "Abdul Mumin",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Finley Welch",
                  "ranking": 2465
                },
                {
                  "player_name": "Dennis Salanović",
                  "ranking": 2466
                },
                {
                  "player_name": "Hyo-jun Lee",
                  "ranking": 2467
                },
                {
                  "player_name": "Kevin Minda",
                  "ranking": 2468
                },
                {
                  "player_name": "Jonnathan Mina",
                  "ranking": 2469
                }
              ],
              "lower": [
                {
                  "player_name": "Kristiyan Stoyanov",
                  "ranking": 2471
                },
                {
                  "player_name": "Vladislav Kalinin",
                  "ranking": 2472
                },
                {
                  "player_name": "Martin Valjent",
                  "ranking": 2473
                },
                {
                  "player_name": "Lukáš Hrádecký",
                  "ranking": 2474
                },
                {
                  "player_name": "Facundo Medina",
                  "ranking": 2475
                }
              ]
            }
          },
          "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.58206294284004,
            "bench_appearance_prob": 0.2991846792200018,
            "market_value_adjustment": 0.9878,
            "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.3835,
                "tackles": 0.4161,
                "tackles_won": 0.2902,
                "clearances": 1.0886,
                "aerial_won": 0.4183,
                "total_shots": 0.1381,
                "rating": 6.6351,
                "minutes": 13.23,
                "total_pass": 13.3294,
                "accurate_pass": 11.4936,
                "duels_won": 0.3887,
                "total_long_balls": 1.447,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 11.3858,
                "accurate_own_half_passes": 10.7162,
                "total_opp_half_passes": 1.9436,
                "accurate_opp_half_passes": 0.7774,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.3314,
                "possession_lost": 1.8358,
                "dispossessed": 0.0,
                "duels_lost": 0.6696,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9504,
                "challenges_lost": 0.0,
                "fouls": 0.6696,
                "fouls_drawn": 0.3887,
                "blocks": 0.7191,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0002,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.3907,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1381
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:03:23.701438+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Villarreal",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Espanyol",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.3392,
                  "aerialWon": 0.0,
                  "totalClearance_p90": 6.7642,
                  "totalTackle": 0.0,
                  "totalPass": 13.3294
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.3834973871707916,
                    "model_output": 0.3835,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4569
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0156
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0129
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0133
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0116
                        }
                      ],
                      "others": -0.0471,
                      "total": 0.3835,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.761309
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.038217
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.030593
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.03046
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.026644
                        }
                      ],
                      "others_margin": -0.11574
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.4160528779029846,
                    "model_output": 0.4161,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7799
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0747
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0364
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0267
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0223
                        }
                      ],
                      "others": -0.0378,
                      "total": 0.4161,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.819851
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.129682
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.069897
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.054478
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.048
                        }
                      ],
                      "others_margin": -0.087123
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.29019203782081604,
                    "model_output": 0.2902,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4378
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.037
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0233
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0218
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0179
                        }
                      ],
                      "others": -0.0264,
                      "total": 0.2902,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.71827
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.092966
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.063475
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.063181
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.054961
                        }
                      ],
                      "others_margin": -0.086946
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.0885891914367676,
                    "model_output": 1.0886,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.2154
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2666
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1889
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.1514
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0627
                        }
                      ],
                      "others": 0.1444,
                      "total": 1.0886,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -1.026868
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.242914
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.178026
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.140115
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.06429
                        }
                      ],
                      "others_margin": 0.142259
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.418325811624527,
                    "model_output": 0.4183,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8278
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1722
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.041
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0406
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0298
                        }
                      ],
                      "others": 0.0665,
                      "total": 0.4183,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.913744
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.372061
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.113632
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.112503
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.081422
                        }
                      ],
                      "others_margin": 0.173309
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.138108491897583,
                    "model_output": 0.1381,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.191
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0623
                        },
                        {
                          "name": "rating",
                          "contribution": -0.03
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0112
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0105
                        }
                      ],
                      "others": -0.028,
                      "total": 0.1381,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.190954
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.062336
                        },
                        {
                          "name": "rating",
                          "margin": -0.029955
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.011216
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.010465
                        }
                      ],
                      "others_margin": -0.028097
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.635098934173584,
                    "model_output": 6.6351,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0287
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0201
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0183
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0151
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0142
                        }
                      ],
                      "others": -0.0938,
                      "total": 6.6351,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.028667
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.02009
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.018299
                        },
                        {
                          "name": "rating",
                          "margin": -0.015147
                        },
                        {
                          "name": "touches",
                          "margin": -0.014159
                        }
                      ],
                      "others_margin": -0.093854
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 3,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9878, quality 0.440)",
              "stats": {
                "interceptions": 0.3788,
                "tackles": 0.411,
                "tackles_won": 0.2867,
                "clearances": 1.0753,
                "aerial_won": 0.4132,
                "total_shots": 0.1364,
                "rating": 6.6351,
                "minutes": 13.23,
                "total_pass": 13.1668,
                "accurate_pass": 11.3534,
                "duels_won": 0.384,
                "total_long_balls": 1.4293,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 11.2469,
                "accurate_own_half_passes": 10.5855,
                "total_opp_half_passes": 1.9199,
                "accurate_opp_half_passes": 0.7679,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.12,
                "possession_lost": 1.8134,
                "dispossessed": 0.0,
                "duels_lost": 0.6614,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9388,
                "challenges_lost": 0.0,
                "fouls": 0.6614,
                "fouls_drawn": 0.384,
                "blocks": 0.7103,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0002,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.3371,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1364
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399,
                "boost_factor": 0.9878,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 13.2 to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0.3889,
                "tackles": 0.4219,
                "tackles_won": 0.2943,
                "clearances": 1.1039,
                "aerial_won": 0.4242,
                "total_shots": 0.14,
                "rating": 6.6351,
                "minutes": 13.58,
                "total_pass": 13.5172,
                "accurate_pass": 11.6555,
                "duels_won": 0.3942,
                "total_long_balls": 1.4673,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 11.5462,
                "accurate_own_half_passes": 10.8672,
                "total_opp_half_passes": 1.971,
                "accurate_opp_half_passes": 0.7883,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5756,
                "possession_lost": 1.8617,
                "dispossessed": 0.0,
                "duels_lost": 0.679,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9638,
                "challenges_lost": 0.0,
                "fouls": 0.679,
                "fouls_drawn": 0.3942,
                "blocks": 0.7292,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0002,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.4525,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.14,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.58
              },
              "params": {
                "expected_minutes": 13.58,
                "projection_minutes": 13.23,
                "minutes_scale": 1.0266,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.3889,
                "tackles": 0.4219,
                "tackles_won": 0.2943,
                "clearances": 1.1039,
                "aerial_won": 0.4242,
                "total_shots": 0.14,
                "rating": 6.6351,
                "minutes": 13.58,
                "total_pass": 13.5172,
                "accurate_pass": 11.6555,
                "duels_won": 0.3942,
                "total_long_balls": 1.4673,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 11.5462,
                "accurate_own_half_passes": 10.8672,
                "total_opp_half_passes": 1.971,
                "accurate_opp_half_passes": 0.7883,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5756,
                "possession_lost": 1.8617,
                "dispossessed": 0.0,
                "duels_lost": 0.679,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9638,
                "challenges_lost": 0.0,
                "fouls": 0.679,
                "fouls_drawn": 0.3942,
                "blocks": 0.7292,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0002,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.4525,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.14,
                "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.3889,
                "tackles": 0.4219,
                "tackles_won": 0.2943,
                "clearances": 1.1039,
                "aerial_won": 0.4242,
                "total_shots": 0.14,
                "rating": 6.6351,
                "minutes": 13.58,
                "total_pass": 13.5172,
                "accurate_pass": 11.6555,
                "duels_won": 0.3942,
                "total_long_balls": 1.4673,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 11.5462,
                "accurate_own_half_passes": 10.8672,
                "total_opp_half_passes": 1.971,
                "accurate_opp_half_passes": 0.7883,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5756,
                "possession_lost": 1.8617,
                "dispossessed": 0.0,
                "duels_lost": 0.679,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9638,
                "challenges_lost": 0.0,
                "fouls": 0.679,
                "fouls_drawn": 0.3942,
                "blocks": 0.7292,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0002,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.4525,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.14,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.58,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "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": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "interceptions": 0.3889,
                "tackles": 0.4219,
                "tackles_won": 0.2943,
                "clearances": 1.1039,
                "aerial_won": 0.4242,
                "total_shots": 0.14,
                "rating": 6.6351,
                "minutes": 13.58,
                "total_pass": 13.5172,
                "accurate_pass": 11.6555,
                "duels_won": 0.3942,
                "total_long_balls": 1.4673,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 11.5462,
                "accurate_own_half_passes": 10.8672,
                "total_opp_half_passes": 1.971,
                "accurate_opp_half_passes": 0.7883,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 17.5756,
                "possession_lost": 1.8617,
                "dispossessed": 0.0,
                "duels_lost": 0.679,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9638,
                "challenges_lost": 0.0,
                "fouls": 0.679,
                "fouls_drawn": 0.3942,
                "blocks": 0.7292,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0002,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.4525,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.14,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.58,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2470,
                "fifa_rank": 1582.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            }
          ]
        },
        "Marash Kumbulla": {
          "player_id": 893642,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 3,
          "height": 191,
          "market_value": 2800000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.684,
            "minutes": 14,
            "total_pass": 8,
            "accurate_pass": 6,
            "duels_won": 0,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 10,
            "possession_lost": 2.3059,
            "dispossessed": 0.3278,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0023,
            "expected_assists": 0.0015,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 0,
            "total_progression": 2,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.547,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 14083142,
              "match_date": "2026-04-12",
              "home_team": "Mallorca",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Mallorca",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 18,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083235,
              "match_date": "2026-01-17",
              "home_team": "Mallorca",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Mallorca",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0109,
                "expected_assists": 0.0052,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 75,
                "accurate_pass": 62,
                "clearances": 4,
                "aerial_won": 6,
                "duels_won": 7,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083223,
              "match_date": "2026-01-11",
              "home_team": "Rayo Vallecano",
              "away_team": "Mallorca",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Mallorca",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0735,
                "expected_assists": 0.0105,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 59,
                "accurate_pass": 40,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083193,
              "match_date": "2025-12-19",
              "home_team": "Valencia",
              "away_team": "Mallorca",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Mallorca",
              "opponent": "Valencia",
              "stats": {
                "minutes": 24,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 4,
                "clearances": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083310,
              "match_date": "2025-09-21",
              "home_team": "Mallorca",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Mallorca",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 36,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0034,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 16,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083234,
              "match_date": "2025-09-15",
              "home_team": "Espanyol",
              "away_team": "Mallorca",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Mallorca",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0062,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 34,
                "tackles": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083197,
              "match_date": "2025-08-30",
              "home_team": "Real Madrid",
              "away_team": "Mallorca",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Mallorca",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 55,
                "accurate_pass": 44,
                "tackles": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14082866,
              "match_date": "2025-08-23",
              "home_team": "Mallorca",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Mallorca",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0142,
                "expected_assists": 0.0039,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 31,
                "accurate_pass": 26,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3597,
            "combined_rank_score": 1565.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 795.0,
            "sofascore_rating": 6.625,
            "sofascore_appearances": 8.0,
            "fifa_rank": 2336.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.684,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marash Kumbulla",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Luiz Felipe",
                  "ranking": 3592
                },
                {
                  "player_name": "Catena",
                  "ranking": 3593
                },
                {
                  "player_name": "Arijanet Murić",
                  "ranking": 3594
                },
                {
                  "player_name": "Puado",
                  "ranking": 3595
                },
                {
                  "player_name": "Carlos Alcaraz",
                  "ranking": 3596
                }
              ],
              "lower": [
                {
                  "player_name": "Fidalgo",
                  "ranking": 3598
                },
                {
                  "player_name": "Evan Ferguson",
                  "ranking": 3599
                },
                {
                  "player_name": "Moncayola",
                  "ranking": 3600
                },
                {
                  "player_name": "Pathé Ciss",
                  "ranking": 3601
                },
                {
                  "player_name": "Jon Mikel Aramburu",
                  "ranking": 3602
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 8,
          "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": 8,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.2987373721618749,
            "market_value_adjustment": 0.9922,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (8 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.3032,
                "tackles": 0.3765,
                "tackles_won": 0.2891,
                "clearances": 1.1611,
                "aerial_won": 0.6115,
                "total_shots": 0.3212,
                "rating": 6.684,
                "minutes": 23.74,
                "total_pass": 13.3518,
                "accurate_pass": 10.1788,
                "duels_won": 0.5617,
                "total_long_balls": 3.3887,
                "accurate_long_balls": 1.7191,
                "total_own_half_passes": 4.9815,
                "accurate_own_half_passes": 4.3702,
                "total_opp_half_passes": 8.3703,
                "accurate_opp_half_passes": 5.8086,
                "crosses_total": 0.2809,
                "crosses_accurate": 0.0,
                "touches": 17.4082,
                "possession_lost": 4.0651,
                "dispossessed": 0.3304,
                "duels_lost": 1.38,
                "aerial_lost": 0.6608,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.173,
                "challenges_lost": 0.0,
                "fouls": 0.3887,
                "fouls_drawn": 0.2809,
                "blocks": 0.2809,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.004,
                "expected_assists": 0.0026,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.5405,
                "total_progression": 3.7739,
                "progressive_carries": 0.0,
                "key_pass": 0.2809,
                "shots_off_target": 0.3212
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:03:23.701438+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.2062,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-01-17",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1753,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-01-11",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.149,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-12-19",
                    "opponent": "Valencia",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.1266,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-09-21",
                    "opponent": "Atlético Madrid",
                    "minutes": 36.0,
                    "is_starting": true,
                    "weight": 0.1076,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2025-09-15",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0915,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0778,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2025-08-23",
                    "opponent": "Celta Vigo",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0661,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 8.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.8771,
                  "aerialWon": 1.5273,
                  "totalClearance_p90": 3.5597,
                  "totalTackle": 0.2769,
                  "totalPass": 36.1945
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.30317431688308716,
                    "model_output": 0.3032,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4699
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0547
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0089
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0082
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0069
                        }
                      ],
                      "others": -0.0055,
                      "total": 0.3032,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.794384
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.152104
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.027052
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.025685
                        },
                        {
                          "name": "touches",
                          "margin": -0.022033
                        }
                      ],
                      "others_margin": -0.01819
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.37646764516830444,
                    "model_output": 0.3765,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7683
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0712
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0364
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0237
                        },
                        {
                          "name": "errorLeadToAShot",
                          "contribution": 0.0202
                        }
                      ],
                      "others": -0.138,
                      "total": 0.3765,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.801227
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.120906
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.06786
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.046845
                        },
                        {
                          "name": "errorLeadToAShot",
                          "margin": 0.04014
                        }
                      ],
                      "others_margin": -0.312315
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.2891015112400055,
                    "model_output": 0.2891,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.443
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0366
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0224
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0174
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0159
                        }
                      ],
                      "others": -0.03,
                      "total": 0.2891,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.730894
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.093317
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.061698
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.050713
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.048596
                        }
                      ],
                      "others_margin": -0.098345
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.1611340045928955,
                    "model_output": 1.1611,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0926
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2301
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.143
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0676
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0589
                        }
                      ],
                      "others": 0.0159,
                      "total": 1.1611,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.932204
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.185527
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.119306
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.054616
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.050189
                        }
                      ],
                      "others_margin": 0.013844
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6115065217018127,
                    "model_output": 0.6115,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7153
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0522
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0342
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0345
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.025
                        }
                      ],
                      "others": -0.0467,
                      "total": 0.6115,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.728949
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.081463
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.054191
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.051855
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.037302
                        }
                      ],
                      "others_margin": -0.073715
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.32120537757873535,
                    "model_output": 0.3212,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2277
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0642
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0407
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.018
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0176
                        }
                      ],
                      "others": 0.0539,
                      "total": 0.3212,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.227661
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.064185
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.040745
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.017966
                        },
                        {
                          "name": "rating",
                          "margin": -0.017612
                        }
                      ],
                      "others_margin": 0.053941
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6840033531188965,
                    "model_output": 6.684,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.028
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0163
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0134
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0117
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0116
                        }
                      ],
                      "others": -0.0201,
                      "total": 6.684,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.028047
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": -0.016327
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.013366
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011654
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.011613
                        }
                      ],
                      "others_margin": -0.020121
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 8,
                  "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.9922, quality 0.437)",
              "stats": {
                "interceptions": 0.3008,
                "tackles": 0.3735,
                "tackles_won": 0.2868,
                "clearances": 1.1521,
                "aerial_won": 0.6067,
                "total_shots": 0.3187,
                "rating": 6.684,
                "minutes": 23.74,
                "total_pass": 13.2477,
                "accurate_pass": 10.0994,
                "duels_won": 0.5573,
                "total_long_balls": 3.3623,
                "accurate_long_balls": 1.7057,
                "total_own_half_passes": 4.9426,
                "accurate_own_half_passes": 4.3361,
                "total_opp_half_passes": 8.305,
                "accurate_opp_half_passes": 5.7633,
                "crosses_total": 0.2787,
                "crosses_accurate": 0.0,
                "touches": 17.2724,
                "possession_lost": 4.0334,
                "dispossessed": 0.3278,
                "duels_lost": 1.3692,
                "aerial_lost": 0.6556,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.1639,
                "challenges_lost": 0.0,
                "fouls": 0.3857,
                "fouls_drawn": 0.2787,
                "blocks": 0.2787,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.004,
                "expected_assists": 0.0026,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.5363,
                "total_progression": 3.7445,
                "progressive_carries": 0.0,
                "key_pass": 0.2787,
                "shots_off_target": 0.3187
              },
              "params": {
                "market_value_eur": 2800000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9922,
                "reference_quality": 0.505,
                "history_matches": 8,
                "history_shrink": 0.3846,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 23.7 to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0.172,
                "tackles": 0.2135,
                "tackles_won": 0.164,
                "clearances": 0.6587,
                "aerial_won": 0.3469,
                "total_shots": 0.1822,
                "rating": 6.684,
                "minutes": 13.57,
                "total_pass": 7.5737,
                "accurate_pass": 5.7739,
                "duels_won": 0.3186,
                "total_long_balls": 1.9222,
                "accurate_long_balls": 0.9752,
                "total_own_half_passes": 2.8257,
                "accurate_own_half_passes": 2.479,
                "total_opp_half_passes": 4.748,
                "accurate_opp_half_passes": 3.2949,
                "crosses_total": 0.1593,
                "crosses_accurate": 0.0,
                "touches": 9.8747,
                "possession_lost": 2.3059,
                "dispossessed": 0.3278,
                "duels_lost": 0.7828,
                "aerial_lost": 0.6556,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.6654,
                "challenges_lost": 0.0,
                "fouls": 0.2205,
                "fouls_drawn": 0.1593,
                "blocks": 0.1593,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0023,
                "expected_assists": 0.0015,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.3066,
                "total_progression": 2.1407,
                "progressive_carries": 0.0,
                "key_pass": 0.1593,
                "shots_off_target": 0.1822,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "projection_minutes": 23.74,
                "minutes_scale": 0.5717,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.172,
                "tackles": 0.2135,
                "tackles_won": 0.164,
                "clearances": 0.6587,
                "aerial_won": 0.3469,
                "total_shots": 0.1822,
                "rating": 6.684,
                "minutes": 13.57,
                "total_pass": 7.5737,
                "accurate_pass": 5.7739,
                "duels_won": 0.3186,
                "total_long_balls": 1.9222,
                "accurate_long_balls": 0.9752,
                "total_own_half_passes": 2.8257,
                "accurate_own_half_passes": 2.479,
                "total_opp_half_passes": 4.748,
                "accurate_opp_half_passes": 3.2949,
                "crosses_total": 0.1593,
                "crosses_accurate": 0.0,
                "touches": 9.8747,
                "possession_lost": 2.3059,
                "dispossessed": 0.3278,
                "duels_lost": 0.7828,
                "aerial_lost": 0.6556,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.6654,
                "challenges_lost": 0.0,
                "fouls": 0.2205,
                "fouls_drawn": 0.1593,
                "blocks": 0.1593,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0023,
                "expected_assists": 0.0015,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.3066,
                "total_progression": 2.1407,
                "progressive_carries": 0.0,
                "key_pass": 0.1593,
                "shots_off_target": 0.1822,
                "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.172,
                "tackles": 0.2135,
                "tackles_won": 0.164,
                "clearances": 0.6587,
                "aerial_won": 0.3469,
                "total_shots": 0.1822,
                "rating": 6.684,
                "minutes": 13.57,
                "total_pass": 7.5737,
                "accurate_pass": 5.7739,
                "duels_won": 0.3186,
                "total_long_balls": 1.9222,
                "accurate_long_balls": 0.9752,
                "total_own_half_passes": 2.8257,
                "accurate_own_half_passes": 2.479,
                "total_opp_half_passes": 4.748,
                "accurate_opp_half_passes": 3.2949,
                "crosses_total": 0.1593,
                "crosses_accurate": 0.0,
                "touches": 9.8747,
                "possession_lost": 2.3059,
                "dispossessed": 0.3278,
                "duels_lost": 0.7828,
                "aerial_lost": 0.6556,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.6654,
                "challenges_lost": 0.0,
                "fouls": 0.2205,
                "fouls_drawn": 0.1593,
                "blocks": 0.1593,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0023,
                "expected_assists": 0.0015,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.3066,
                "total_progression": 2.1407,
                "progressive_carries": 0.0,
                "key_pass": 0.1593,
                "shots_off_target": 0.1822,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "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": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 14 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "interceptions": 0.172,
                "tackles": 0.2135,
                "tackles_won": 0.164,
                "clearances": 0.6587,
                "aerial_won": 0.3469,
                "total_shots": 0.1822,
                "rating": 6.684,
                "minutes": 13.57,
                "total_pass": 7.5737,
                "accurate_pass": 5.7739,
                "duels_won": 0.3186,
                "total_long_balls": 1.9222,
                "accurate_long_balls": 0.9752,
                "total_own_half_passes": 2.8257,
                "accurate_own_half_passes": 2.479,
                "total_opp_half_passes": 4.748,
                "accurate_opp_half_passes": 3.2949,
                "crosses_total": 0.1593,
                "crosses_accurate": 0.0,
                "touches": 9.8747,
                "possession_lost": 2.3059,
                "dispossessed": 0.3278,
                "duels_lost": 0.7828,
                "aerial_lost": 0.6556,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.6654,
                "challenges_lost": 0.0,
                "fouls": 0.2205,
                "fouls_drawn": 0.1593,
                "blocks": 0.1593,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0023,
                "expected_assists": 0.0015,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.3066,
                "total_progression": 2.1407,
                "progressive_carries": 0.0,
                "key_pass": 0.1593,
                "shots_off_target": 0.1822,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3597,
                "fifa_rank": 2336.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            }
          ]
        },
        "Pedro Díaz": {
          "player_id": 900669,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 4,
          "height": 180,
          "market_value": 2900000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.049,
            "assist_rate": 0.0613,
            "assists": 0,
            "expected_goals": 0.0625,
            "goal_rate": 0.0512,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6984,
            "minutes": 23,
            "total_pass": 9,
            "accurate_pass": 7,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 3.4066,
            "dispossessed": 0.2903,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0168,
            "ball_carries": 4,
            "total_progression": 11,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.692,
            "bench_expected_minutes": 23.09,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.547,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0419,
            "projected_assists": 0,
            "assist_probability": 0.0331,
            "finishing_factor": 0.9476,
            "creation_factor": 1.1778,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 30,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.031,
                "expected_assists": 0.0085,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 11,
                "accurate_pass": 7,
                "key_pass": 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": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2708,
                "expected_assists": 0.0172,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 32,
                "accurate_pass": 26,
                "key_pass": 2,
                "tackles": 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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 67,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1621,
                "expected_assists": 0.0149,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 19,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0628,
                "expected_assists": 0.0492,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 34,
                "accurate_pass": 33,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 33,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0422,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 3,
                "tackles": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 12,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0935,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 9,
                "key_pass": 2,
                "interceptions": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0319,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 24,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0071,
                "expected_assists": 0.0031,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 6,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.15,
                "expected_assists": 0.0543,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 26,
                "accurate_pass": 21,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083598,
              "match_date": "2026-05-11",
              "home_team": "Rayo Vallecano",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 58,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0428,
                "expected_assists": 0.0483,
                "total_shots": 2,
                "total_pass": 31,
                "accurate_pass": 25,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3649,
            "combined_rank_score": 1611.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 822.0,
            "sofascore_rating": 6.6,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2400.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6984,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pedro Díaz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "João Moutinho",
                  "ranking": 3644
                },
                {
                  "player_name": "Tom Cairney",
                  "ranking": 3645
                },
                {
                  "player_name": "Mads Hermansen",
                  "ranking": 3646
                },
                {
                  "player_name": "Pepê",
                  "ranking": 3647
                },
                {
                  "player_name": "Finn Azaz",
                  "ranking": 3648
                }
              ],
              "lower": [
                {
                  "player_name": "Junior Firpo",
                  "ranking": 3650
                },
                {
                  "player_name": "Bashir Humphreys",
                  "ranking": 3651
                },
                {
                  "player_name": "Altimira",
                  "ranking": 3652
                },
                {
                  "player_name": "Miguel Almirón",
                  "ranking": 3653
                },
                {
                  "player_name": "Marko Livaja",
                  "ranking": 3654
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.755,
          "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.755,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 23.09,
            "bench_appearance_prob": 0.692,
            "market_value_adjustment": 0.9977,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 24.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0333
            },
            "rationale": "Bench projection scaled from XGBoost M_service (40 historical appearances) to 23.1 expected mins (appearance prob 0.69); FBref playing time empirical prior: 2.0 sub appearances, 24.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.6333,
                "expected_assists": 0.0438,
                "assists": 0.0605,
                "assist_rate": 0.0605,
                "expected_goals": 0.0559,
                "goals": 0.0506,
                "goal_rate": 0.0506,
                "shots_on_target": 0.1928,
                "total_shots": 0.8861,
                "rating": 6.6984,
                "minutes": 22.69,
                "total_pass": 8.8685,
                "accurate_pass": 6.9543,
                "duels_won": 1.6889,
                "total_long_balls": 0.6609,
                "accurate_long_balls": 0.2778,
                "total_own_half_passes": 2.5763,
                "accurate_own_half_passes": 2.2429,
                "total_opp_half_passes": 6.2922,
                "accurate_opp_half_passes": 4.7114,
                "crosses_total": 0.8393,
                "crosses_accurate": 0.4564,
                "touches": 14.7303,
                "possession_lost": 3.3553,
                "dispossessed": 0.291,
                "duels_lost": 1.3704,
                "aerial_won": 0.126,
                "aerial_lost": 0.086,
                "interceptions": 0.2166,
                "tackles_won": 0.2305,
                "tackles": 0.4662,
                "clearances": 0.2853,
                "total_contest": 0.6825,
                "won_contest": 0.6131,
                "challenges_lost": 0.413,
                "fouls": 0.5109,
                "fouls_drawn": 0.4836,
                "blocks": 0.0,
                "big_chances_created": 0.1165,
                "big_chances_missed": 0.0,
                "xgot": 0.015,
                "ball_carries": 4.0602,
                "total_progression": 10.532,
                "progressive_carries": 0.1909,
                "shots_off_target": 0.6933
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-09T10:04:11.914604+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.1502,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-11",
                    "opponent": "Girona FC",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.8936,
                  "creative_index": 0.505,
                  "expectedGoals": 0.0838,
                  "expectedAssists": 0.045,
                  "onTargetScoringAttempt": 0.2733
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6333357691764832,
                    "model_output": 0.6333,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3684
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0479
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0229
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0203
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0168
                        }
                      ],
                      "others": 0.0534,
                      "total": 0.6333,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.537373
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.088485
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.041311
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.0368
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.02944
                        }
                      ],
                      "others_margin": 0.088021
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04380044341087341,
                    "model_output": 0.0438,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0347
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0052
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.003
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0023
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0022
                        }
                      ],
                      "others": 0.001,
                      "total": 0.0438,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.517671
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.10727
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.067772
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.054187
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.053144
                        }
                      ],
                      "others_margin": 0.021691
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.060486748814582825,
                    "model_output": 0.0605,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0197
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0054
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0042
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0038
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0036
                        }
                      ],
                      "others": -0.006,
                      "total": 0.0605,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.263075
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.079365
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.061627
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.05903
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.056383
                        }
                      ],
                      "others_margin": -0.094941
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05587907135486603,
                    "model_output": 0.0559,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.044
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.009
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0081
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0026
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0069,
                      "total": 0.0559,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.626689
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.164654
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.127773
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.039212
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.033023
                        }
                      ],
                      "others_margin": -0.118151
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05055055767297745,
                    "model_output": 0.0506,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0428
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0128
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0061
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.004
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0036
                        }
                      ],
                      "others": -0.0105,
                      "total": 0.0506,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.576187
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.210133
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.094359
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.067301
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.060752
                        }
                      ],
                      "others_margin": -0.191405
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.19278235733509064,
                    "model_output": 0.1928,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1581
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0399
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.016
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0089
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0063
                        }
                      ],
                      "others": -0.0138,
                      "total": 0.1928,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.669174
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.215341
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.074679
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.040731
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.030047
                        }
                      ],
                      "others_margin": -0.069222
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8860500454902649,
                    "model_output": 0.8861,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5545
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.357
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0505
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0422
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0236
                        }
                      ],
                      "others": 0.024,
                      "total": 0.8861,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.554526
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.35703
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.050468
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.042155
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.023646
                        }
                      ],
                      "others_margin": 0.024105
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.698419094085693,
                    "model_output": 6.6984,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0829
                        },
                        {
                          "name": "rating",
                          "contribution": -0.035
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0154
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0113
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0086
                        }
                      ],
                      "others": -0.0145,
                      "total": 6.6984,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.082898
                        },
                        {
                          "name": "rating",
                          "margin": -0.035031
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.015394
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.011341
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.008632
                        }
                      ],
                      "others_margin": -0.014419
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 40,
                  "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.9977, quality 0.437)",
              "stats": {
                "key_pass": 0.6319,
                "expected_assists": 0.0437,
                "assists": 0.0603,
                "assist_rate": 0.0603,
                "expected_goals": 0.0558,
                "goals": 0.0504,
                "goal_rate": 0.0504,
                "shots_on_target": 0.1923,
                "total_shots": 0.884,
                "rating": 6.6984,
                "minutes": 22.69,
                "total_pass": 8.8481,
                "accurate_pass": 6.9383,
                "duels_won": 1.685,
                "total_long_balls": 0.6594,
                "accurate_long_balls": 0.2772,
                "total_own_half_passes": 2.5704,
                "accurate_own_half_passes": 2.2377,
                "total_opp_half_passes": 6.2777,
                "accurate_opp_half_passes": 4.7006,
                "crosses_total": 0.8374,
                "crosses_accurate": 0.4554,
                "touches": 14.6964,
                "possession_lost": 3.3476,
                "dispossessed": 0.2903,
                "duels_lost": 1.3672,
                "aerial_won": 0.1257,
                "aerial_lost": 0.0858,
                "interceptions": 0.2161,
                "tackles_won": 0.23,
                "tackles": 0.4651,
                "clearances": 0.2846,
                "total_contest": 0.6809,
                "won_contest": 0.6117,
                "challenges_lost": 0.4121,
                "fouls": 0.5097,
                "fouls_drawn": 0.4825,
                "blocks": 0.0,
                "big_chances_created": 0.1162,
                "big_chances_missed": 0.0,
                "xgot": 0.015,
                "ball_carries": 4.0509,
                "total_progression": 10.5078,
                "progressive_carries": 0.1905,
                "shots_off_target": 0.6917
              },
              "params": {
                "market_value_eur": 2900000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9977,
                "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.0024)",
              "stats": {
                "key_pass": 0.6319,
                "expected_assists": 0.0437,
                "assists": 0.0602,
                "assist_rate": 0.0602,
                "expected_goals": 0.0558,
                "goals": 0.0503,
                "goal_rate": 0.0503,
                "shots_on_target": 0.1918,
                "total_shots": 0.8819,
                "rating": 6.6984,
                "minutes": 22.69,
                "total_pass": 8.8481,
                "accurate_pass": 6.9383,
                "duels_won": 1.685,
                "total_long_balls": 0.6594,
                "accurate_long_balls": 0.2772,
                "total_own_half_passes": 2.5704,
                "accurate_own_half_passes": 2.2377,
                "total_opp_half_passes": 6.2777,
                "accurate_opp_half_passes": 4.7006,
                "crosses_total": 0.8402,
                "crosses_accurate": 0.4554,
                "touches": 14.6964,
                "possession_lost": 3.3476,
                "dispossessed": 0.2903,
                "duels_lost": 1.3672,
                "aerial_won": 0.1257,
                "aerial_lost": 0.0858,
                "interceptions": 0.2168,
                "tackles_won": 0.2294,
                "tackles": 0.4651,
                "clearances": 0.2846,
                "total_contest": 0.6809,
                "won_contest": 0.6117,
                "challenges_lost": 0.4121,
                "fouls": 0.5097,
                "fouls_drawn": 0.4813,
                "blocks": 0.0,
                "big_chances_created": 0.1162,
                "big_chances_missed": 0.0,
                "xgot": 0.015,
                "ball_carries": 4.0509,
                "total_progression": 10.5078,
                "progressive_carries": 0.1905,
                "shots_off_target": 0.6917
              },
              "params": {
                "blend_weight": 0.0024,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2521,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 22.7 to 23.1 expected minutes (appearance prob 0.69)",
              "stats": {
                "key_pass": 0.643,
                "expected_assists": 0.0445,
                "assists": 0.0613,
                "assist_rate": 0.0613,
                "expected_goals": 0.0568,
                "goals": 0.0512,
                "goal_rate": 0.0512,
                "shots_on_target": 0.1952,
                "total_shots": 0.8991,
                "rating": 6.6984,
                "minutes": 23.09,
                "total_pass": 9.0041,
                "accurate_pass": 7.0606,
                "duels_won": 1.7147,
                "total_long_balls": 0.671,
                "accurate_long_balls": 0.2821,
                "total_own_half_passes": 2.6157,
                "accurate_own_half_passes": 2.2771,
                "total_opp_half_passes": 6.3884,
                "accurate_opp_half_passes": 4.7835,
                "crosses_total": 0.855,
                "crosses_accurate": 0.4634,
                "touches": 14.9555,
                "possession_lost": 3.4066,
                "dispossessed": 0.2903,
                "duels_lost": 1.3913,
                "aerial_won": 0.1279,
                "aerial_lost": 0.0858,
                "interceptions": 0.2206,
                "tackles_won": 0.2334,
                "tackles": 0.4733,
                "clearances": 0.2896,
                "total_contest": 0.6929,
                "won_contest": 0.6225,
                "challenges_lost": 0.4121,
                "fouls": 0.5187,
                "fouls_drawn": 0.4898,
                "blocks": 0.0,
                "big_chances_created": 0.1182,
                "big_chances_missed": 0.0,
                "xgot": 0.0153,
                "ball_carries": 4.1223,
                "total_progression": 10.693,
                "progressive_carries": 0.1939,
                "shots_off_target": 0.7039,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 23.09
              },
              "params": {
                "expected_minutes": 23.09,
                "projection_minutes": 22.69,
                "minutes_scale": 1.0176,
                "appearance_probability": 0.692
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.643,
                "expected_assists": 0.0445,
                "assists": 0.0613,
                "assist_rate": 0.0613,
                "expected_goals": 0.0568,
                "goals": 0.0512,
                "goal_rate": 0.0512,
                "shots_on_target": 0.1952,
                "total_shots": 0.8991,
                "rating": 6.6984,
                "minutes": 23.09,
                "total_pass": 9.0041,
                "accurate_pass": 7.0606,
                "duels_won": 1.7147,
                "total_long_balls": 0.671,
                "accurate_long_balls": 0.2821,
                "total_own_half_passes": 2.6157,
                "accurate_own_half_passes": 2.2771,
                "total_opp_half_passes": 6.3884,
                "accurate_opp_half_passes": 4.7835,
                "crosses_total": 0.855,
                "crosses_accurate": 0.4634,
                "touches": 14.9555,
                "possession_lost": 3.4066,
                "dispossessed": 0.2903,
                "duels_lost": 1.3913,
                "aerial_won": 0.1279,
                "aerial_lost": 0.0858,
                "interceptions": 0.2206,
                "tackles_won": 0.2334,
                "tackles": 0.4733,
                "clearances": 0.2896,
                "total_contest": 0.6929,
                "won_contest": 0.6225,
                "challenges_lost": 0.4121,
                "fouls": 0.5187,
                "fouls_drawn": 0.4898,
                "blocks": 0.0,
                "big_chances_created": 0.1182,
                "big_chances_missed": 0.0,
                "xgot": 0.0153,
                "ball_carries": 4.1223,
                "total_progression": 10.693,
                "progressive_carries": 0.1939,
                "shots_off_target": 0.7039,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 23.09
              },
              "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.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "key_pass": 0.643,
                "expected_assists": 0.049,
                "assist_rate": 0.0613,
                "assists": 0,
                "expected_goals": 0.0625,
                "goal_rate": 0.0512,
                "goals": 0,
                "shots_on_target": 0.1952,
                "total_shots": 0.8991,
                "rating": 6.6984,
                "minutes": 23.09,
                "total_pass": 9.0041,
                "accurate_pass": 7.0606,
                "duels_won": 1.7147,
                "total_long_balls": 0.671,
                "accurate_long_balls": 0.2821,
                "total_own_half_passes": 2.6157,
                "accurate_own_half_passes": 2.2771,
                "total_opp_half_passes": 6.3884,
                "accurate_opp_half_passes": 4.7835,
                "crosses_total": 0.855,
                "crosses_accurate": 0.4634,
                "touches": 14.9555,
                "possession_lost": 3.4066,
                "dispossessed": 0.2903,
                "duels_lost": 1.3913,
                "aerial_won": 0.1279,
                "aerial_lost": 0.0858,
                "interceptions": 0.2206,
                "tackles_won": 0.2334,
                "tackles": 0.4733,
                "clearances": 0.2896,
                "total_contest": 0.6929,
                "won_contest": 0.6225,
                "challenges_lost": 0.4121,
                "fouls": 0.5187,
                "fouls_drawn": 0.4898,
                "blocks": 0.0,
                "big_chances_created": 0.1182,
                "big_chances_missed": 0.0,
                "xgot": 0.0168,
                "ball_carries": 4.1223,
                "total_progression": 10.693,
                "progressive_carries": 0.1939,
                "shots_off_target": 0.7039,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 23.09,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "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.9476,
                "creation_factor": 1.1778
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 0.692
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0568,
                  "after": 0.0625
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "key_pass": 0.643,
                "expected_assists": 0.049,
                "assist_rate": 0.0613,
                "assists": 0,
                "expected_goals": 0.0625,
                "goal_rate": 0.0512,
                "goals": 0,
                "shots_on_target": 0.1952,
                "total_shots": 0.8991,
                "rating": 6.6984,
                "minutes": 23.09,
                "total_pass": 9.0041,
                "accurate_pass": 7.0606,
                "duels_won": 1.7147,
                "total_long_balls": 0.671,
                "accurate_long_balls": 0.2821,
                "total_own_half_passes": 2.6157,
                "accurate_own_half_passes": 2.2771,
                "total_opp_half_passes": 6.3884,
                "accurate_opp_half_passes": 4.7835,
                "crosses_total": 0.855,
                "crosses_accurate": 0.4634,
                "touches": 14.9555,
                "possession_lost": 3.4066,
                "dispossessed": 0.2903,
                "duels_lost": 1.3913,
                "aerial_won": 0.1279,
                "aerial_lost": 0.0858,
                "interceptions": 0.2206,
                "tackles_won": 0.2334,
                "tackles": 0.4733,
                "clearances": 0.2896,
                "total_contest": 0.6929,
                "won_contest": 0.6225,
                "challenges_lost": 0.4121,
                "fouls": 0.5187,
                "fouls_drawn": 0.4898,
                "blocks": 0.0,
                "big_chances_created": 0.1182,
                "big_chances_missed": 0.0,
                "xgot": 0.0168,
                "ball_carries": 4.1223,
                "total_progression": 10.693,
                "progressive_carries": 0.1939,
                "shots_off_target": 0.7039,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 23.09,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "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.9476,
                "creation_factor": 1.1778,
                "fifa_overall": 75.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": 3649,
                "fifa_rank": 2400.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.643,
                "expected_assists": 0.049,
                "assist_rate": 0.0613,
                "assists": 0,
                "expected_goals": 0.0625,
                "goal_rate": 0.0512,
                "goals": 0,
                "shots_on_target": 0.1952,
                "total_shots": 0.8991,
                "rating": 6.6984,
                "minutes": 23.09,
                "total_pass": 9.0041,
                "accurate_pass": 7.0606,
                "duels_won": 1.7147,
                "total_long_balls": 0.671,
                "accurate_long_balls": 0.2821,
                "total_own_half_passes": 2.6157,
                "accurate_own_half_passes": 2.2771,
                "total_opp_half_passes": 6.3884,
                "accurate_opp_half_passes": 4.7835,
                "crosses_total": 0.855,
                "crosses_accurate": 0.4634,
                "touches": 14.9555,
                "possession_lost": 3.4066,
                "dispossessed": 0.2903,
                "duels_lost": 1.3913,
                "aerial_won": 0.1279,
                "aerial_lost": 0.0858,
                "interceptions": 0.2206,
                "tackles_won": 0.2334,
                "tackles": 0.4733,
                "clearances": 0.2896,
                "total_contest": 0.6929,
                "won_contest": 0.6225,
                "challenges_lost": 0.4121,
                "fouls": 0.5187,
                "fouls_drawn": 0.4898,
                "blocks": 0.0,
                "big_chances_created": 0.1182,
                "big_chances_missed": 0.0,
                "xgot": 0.0168,
                "ball_carries": 4.1223,
                "total_progression": 10.693,
                "progressive_carries": 0.1939,
                "shots_off_target": 0.7039,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 23.09,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0419,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9476,
                "creation_factor": 1.1778,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0419,
                "scorer_weight": 0.041,
                "squad_weight_total": 1.4853,
                "weight_share": 0.0276,
                "finishing_factor": 0.9476,
                "appearance_weight": 0.692,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "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.643,
                "expected_assists": 0.049,
                "assist_rate": 0.0613,
                "assists": 0,
                "expected_goals": 0.0625,
                "goal_rate": 0.0512,
                "goals": 0,
                "shots_on_target": 0.1952,
                "total_shots": 0.8991,
                "rating": 6.6984,
                "minutes": 23.09,
                "total_pass": 9.0041,
                "accurate_pass": 7.0606,
                "duels_won": 1.7147,
                "total_long_balls": 0.671,
                "accurate_long_balls": 0.2821,
                "total_own_half_passes": 2.6157,
                "accurate_own_half_passes": 2.2771,
                "total_opp_half_passes": 6.3884,
                "accurate_opp_half_passes": 4.7835,
                "crosses_total": 0.855,
                "crosses_accurate": 0.4634,
                "touches": 14.9555,
                "possession_lost": 3.4066,
                "dispossessed": 0.2903,
                "duels_lost": 1.3913,
                "aerial_won": 0.1279,
                "aerial_lost": 0.0858,
                "interceptions": 0.2206,
                "tackles_won": 0.2334,
                "tackles": 0.4733,
                "clearances": 0.2896,
                "total_contest": 0.6929,
                "won_contest": 0.6225,
                "challenges_lost": 0.4121,
                "fouls": 0.5187,
                "fouls_drawn": 0.4898,
                "blocks": 0.0,
                "big_chances_created": 0.1182,
                "big_chances_missed": 0.0,
                "xgot": 0.0168,
                "ball_carries": 4.1223,
                "total_progression": 10.693,
                "progressive_carries": 0.1939,
                "shots_off_target": 0.7039,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 23.09,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0419,
                "projected_assists": 0,
                "assist_probability": 0.0331,
                "finishing_factor": 0.9476,
                "creation_factor": 1.1778,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0331,
                "provider_weight": 0.0399,
                "squad_weight_total": 0.9695,
                "weight_share": 0.0412,
                "creation_factor": 1.1778,
                "appearance_weight": 0.692,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Óscar Valentín": {
          "player_id": 900008,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 23,
          "height": 177,
          "market_value": 1900000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0205,
            "assist_rate": 0.041,
            "assists": 0,
            "expected_goals": 0.0169,
            "goal_rate": 0.0287,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7256,
            "minutes": 30,
            "total_pass": 14,
            "accurate_pass": 13,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 8,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 20,
            "possession_lost": 1.6165,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0343,
            "ball_carries": 5,
            "total_progression": 11,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.435,
            "bench_expected_minutes": 29.69,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.547,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 60,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.012,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 42,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 29,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.005,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 14,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 23,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0214,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 17,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 57,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0135,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 41,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 17,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 35,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 78,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0027,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 15,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 6,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 61,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0033,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 20,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "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": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0126,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 33,
                "tackles": 6,
                "tackles_won": 3,
                "clearances": 7,
                "aerial_won": 1,
                "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": 14083639,
              "match_date": "2026-05-14",
              "home_team": "Valencia",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Valencia",
              "stats": {
                "minutes": 60,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0089,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 21,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 3056,
            "combined_rank_score": 1017.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 474.0,
            "sofascore_rating": 6.8781,
            "sofascore_appearances": 33.0,
            "fifa_rank": 1560.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7256,
            "source_file": "data/player_rankings.csv",
            "player_name": "Óscar Valentín",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Enner Valencia",
                  "ranking": 3051
                },
                {
                  "player_name": "Nicolò Rovella",
                  "ranking": 3052
                },
                {
                  "player_name": "Tim Weah",
                  "ranking": 3053
                },
                {
                  "player_name": "Bojan Dimoski",
                  "ranking": 3054
                },
                {
                  "player_name": "Jun-heui Lee",
                  "ranking": 3055
                }
              ],
              "lower": [
                {
                  "player_name": "Joe Allen",
                  "ranking": 3057
                },
                {
                  "player_name": "Jorge Cuenca",
                  "ranking": 3058
                },
                {
                  "player_name": "Anthony Moris",
                  "ranking": 3059
                },
                {
                  "player_name": "Marco Palestra",
                  "ranking": 3060
                },
                {
                  "player_name": "Michael Gregoritsch",
                  "ranking": 3061
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.773,
          "history_matches": 40,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 40,
            "data_confidence": 0.773,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 29.69,
            "bench_appearance_prob": 0.435,
            "market_value_adjustment": 0.9977,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "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.1533
            },
            "rationale": "Bench projection scaled from XGBoost M_service (40 historical appearances) to 29.7 expected mins (appearance prob 0.43); 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.2589,
                "expected_assists": 0.0157,
                "assists": 0.0317,
                "assist_rate": 0.0317,
                "expected_goals": 0.013,
                "goals": 0.0222,
                "goal_rate": 0.0222,
                "shots_on_target": 0.0571,
                "total_shots": 0.2683,
                "rating": 6.7256,
                "minutes": 22.69,
                "total_pass": 11.0631,
                "accurate_pass": 10.1293,
                "duels_won": 2.4865,
                "total_long_balls": 1.1367,
                "accurate_long_balls": 0.6298,
                "total_own_half_passes": 4.0699,
                "accurate_own_half_passes": 3.7866,
                "total_opp_half_passes": 6.9932,
                "accurate_opp_half_passes": 6.3427,
                "crosses_total": 0.1349,
                "crosses_accurate": 0.0,
                "touches": 15.4152,
                "possession_lost": 1.2382,
                "dispossessed": 0.0,
                "duels_lost": 1.0056,
                "aerial_won": 0.836,
                "aerial_lost": 0.3833,
                "interceptions": 0.5625,
                "tackles_won": 0.3208,
                "tackles": 1.0301,
                "clearances": 0.7507,
                "total_contest": 0.1804,
                "won_contest": 0.0975,
                "challenges_lost": 0.4056,
                "fouls": 0.1338,
                "fouls_drawn": 0.5229,
                "blocks": 0.1868,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0263,
                "ball_carries": 4.1314,
                "total_progression": 8.6271,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2112
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-09T10:04:11.914604+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.1277,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.0667,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Valencia",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.0447,
                  "creative_index": 0.1722,
                  "expectedGoals": 0.0046,
                  "expectedAssists": 0.0183,
                  "onTargetScoringAttempt": 0.019
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.2588637173175812,
                    "model_output": 0.2589,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3835
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0578
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.05
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0338
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.02
                        }
                      ],
                      "others": -0.0822,
                      "total": 0.2589,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.566963
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.122127
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.119176
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.089514
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.056854
                        }
                      ],
                      "others_margin": -0.276003
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.01569558121263981,
                    "model_output": 0.0157,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.036
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0117
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0066
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0042
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0097,
                      "total": 0.0157,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.544413
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.2687
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.190428
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.143779
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.070868
                        }
                      ],
                      "others_margin": -0.480143
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.031669244170188904,
                    "model_output": 0.0317,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.024
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0067
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.005
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0034
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0025
                        }
                      ],
                      "others": -0.0119,
                      "total": 0.0317,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.331011
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.116322
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.095668
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.070665
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.055955
                        }
                      ],
                      "others_margin": -0.320385
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.012955457903444767,
                    "model_output": 0.013,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0383
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0202
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0117
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.003
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0063,
                      "total": 0.013,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.519512
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.444978
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.394139
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.130277
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.093814
                        }
                      ],
                      "others_margin": -0.403603
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.022180689498782158,
                    "model_output": 0.0222,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0356
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0167
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0099
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0028
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0025
                        }
                      ],
                      "others": -0.0079,
                      "total": 0.0222,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.453416
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.313822
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.247099
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.081668
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.081235
                        }
                      ],
                      "others_margin": -0.30488
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.057138409465551376,
                    "model_output": 0.0571,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1476
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0576
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0245
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0112
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0225,
                      "total": 0.0571,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.608124
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.395317
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.231439
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.126363
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.043537
                        }
                      ],
                      "others_margin": -0.33046
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.2683209776878357,
                    "model_output": 0.2683,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.294
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2427
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0377
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0325
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0283
                        }
                      ],
                      "others": -0.087,
                      "total": 0.2683,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.293978
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.242735
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.037722
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.03255
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.028296
                        }
                      ],
                      "others_margin": -0.086862
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.725613594055176,
                    "model_output": 6.7256,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0893
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0145
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0071
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0054
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0053
                        }
                      ],
                      "others": -0.0123,
                      "total": 6.7256,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.089306
                        },
                        {
                          "name": "rating",
                          "margin": -0.014484
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.007111
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.005381
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.005276
                        }
                      ],
                      "others_margin": -0.012251
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 40,
                  "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.9977, quality 0.437)",
              "stats": {
                "key_pass": 0.2583,
                "expected_assists": 0.0157,
                "assists": 0.0316,
                "assist_rate": 0.0316,
                "expected_goals": 0.0129,
                "goals": 0.0221,
                "goal_rate": 0.0221,
                "shots_on_target": 0.057,
                "total_shots": 0.2677,
                "rating": 6.7256,
                "minutes": 22.69,
                "total_pass": 11.0377,
                "accurate_pass": 10.106,
                "duels_won": 2.4808,
                "total_long_balls": 1.1341,
                "accurate_long_balls": 0.6284,
                "total_own_half_passes": 4.0605,
                "accurate_own_half_passes": 3.7779,
                "total_opp_half_passes": 6.9771,
                "accurate_opp_half_passes": 6.3281,
                "crosses_total": 0.1346,
                "crosses_accurate": 0.0,
                "touches": 15.3797,
                "possession_lost": 1.2354,
                "dispossessed": 0.0,
                "duels_lost": 1.0033,
                "aerial_won": 0.8341,
                "aerial_lost": 0.3824,
                "interceptions": 0.5612,
                "tackles_won": 0.3201,
                "tackles": 1.0277,
                "clearances": 0.749,
                "total_contest": 0.18,
                "won_contest": 0.0973,
                "challenges_lost": 0.4047,
                "fouls": 0.1335,
                "fouls_drawn": 0.5217,
                "blocks": 0.1864,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0262,
                "ball_carries": 4.1219,
                "total_progression": 8.6073,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2107
              },
              "params": {
                "market_value_eur": 1900000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9977,
                "reference_quality": 0.505,
                "history_matches": 40,
                "history_shrink": 0.1111,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0111)",
              "stats": {
                "key_pass": 0.2583,
                "expected_assists": 0.0157,
                "assists": 0.0313,
                "assist_rate": 0.0313,
                "expected_goals": 0.0129,
                "goals": 0.0219,
                "goal_rate": 0.0219,
                "shots_on_target": 0.0564,
                "total_shots": 0.2647,
                "rating": 6.7256,
                "minutes": 22.69,
                "total_pass": 11.0377,
                "accurate_pass": 10.106,
                "duels_won": 2.4808,
                "total_long_balls": 1.1341,
                "accurate_long_balls": 0.6284,
                "total_own_half_passes": 4.0605,
                "accurate_own_half_passes": 3.7779,
                "total_opp_half_passes": 6.9771,
                "accurate_opp_half_passes": 6.3281,
                "crosses_total": 0.1355,
                "crosses_accurate": 0.0,
                "touches": 15.3797,
                "possession_lost": 1.2354,
                "dispossessed": 0.0,
                "duels_lost": 1.0033,
                "aerial_won": 0.8341,
                "aerial_lost": 0.3824,
                "interceptions": 0.5598,
                "tackles_won": 0.3226,
                "tackles": 1.0277,
                "clearances": 0.749,
                "total_contest": 0.18,
                "won_contest": 0.0973,
                "challenges_lost": 0.4047,
                "fouls": 0.1381,
                "fouls_drawn": 0.5184,
                "blocks": 0.1864,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0262,
                "ball_carries": 4.1219,
                "total_progression": 8.6073,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2107
              },
              "params": {
                "blend_weight": 0.0111,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2521,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 22.7 to 29.7 expected minutes (appearance prob 0.43)",
              "stats": {
                "key_pass": 0.338,
                "expected_assists": 0.0205,
                "assists": 0.041,
                "assist_rate": 0.041,
                "expected_goals": 0.0169,
                "goals": 0.0287,
                "goal_rate": 0.0287,
                "shots_on_target": 0.0738,
                "total_shots": 0.3495,
                "rating": 6.7256,
                "minutes": 29.69,
                "total_pass": 14.4429,
                "accurate_pass": 13.2238,
                "duels_won": 3.2461,
                "total_long_balls": 1.484,
                "accurate_long_balls": 0.8223,
                "total_own_half_passes": 5.3132,
                "accurate_own_half_passes": 4.9434,
                "total_opp_half_passes": 9.1296,
                "accurate_opp_half_passes": 8.2804,
                "crosses_total": 0.1773,
                "crosses_accurate": 0.0,
                "touches": 20.1244,
                "possession_lost": 1.6165,
                "dispossessed": 0.0,
                "duels_lost": 1.3128,
                "aerial_won": 1.0914,
                "aerial_lost": 0.3824,
                "interceptions": 0.7325,
                "tackles_won": 0.4221,
                "tackles": 1.3448,
                "clearances": 0.9801,
                "total_contest": 0.2355,
                "won_contest": 0.1273,
                "challenges_lost": 0.4047,
                "fouls": 0.1807,
                "fouls_drawn": 0.6783,
                "blocks": 0.2439,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0343,
                "ball_carries": 5.3935,
                "total_progression": 11.2627,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2757,
                "bench_appearance_probability": 0.435,
                "bench_expected_minutes": 29.69
              },
              "params": {
                "expected_minutes": 29.69,
                "projection_minutes": 22.69,
                "minutes_scale": 1.3085,
                "appearance_probability": 0.435
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.338,
                "expected_assists": 0.0205,
                "assists": 0.041,
                "assist_rate": 0.041,
                "expected_goals": 0.0169,
                "goals": 0.0287,
                "goal_rate": 0.0287,
                "shots_on_target": 0.0738,
                "total_shots": 0.3495,
                "rating": 6.7256,
                "minutes": 29.69,
                "total_pass": 14.4429,
                "accurate_pass": 13.2238,
                "duels_won": 3.2461,
                "total_long_balls": 1.484,
                "accurate_long_balls": 0.8223,
                "total_own_half_passes": 5.3132,
                "accurate_own_half_passes": 4.9434,
                "total_opp_half_passes": 9.1296,
                "accurate_opp_half_passes": 8.2804,
                "crosses_total": 0.1773,
                "crosses_accurate": 0.0,
                "touches": 20.1244,
                "possession_lost": 1.6165,
                "dispossessed": 0.0,
                "duels_lost": 1.3128,
                "aerial_won": 1.0914,
                "aerial_lost": 0.3824,
                "interceptions": 0.7325,
                "tackles_won": 0.4221,
                "tackles": 1.3448,
                "clearances": 0.9801,
                "total_contest": 0.2355,
                "won_contest": 0.1273,
                "challenges_lost": 0.4047,
                "fouls": 0.1807,
                "fouls_drawn": 0.6783,
                "blocks": 0.2439,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0343,
                "ball_carries": 5.3935,
                "total_progression": 11.2627,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2757,
                "bench_appearance_probability": 0.435,
                "bench_expected_minutes": 29.69
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "key_pass": 0.338,
                "expected_assists": 0.0205,
                "assist_rate": 0.041,
                "assists": 0,
                "expected_goals": 0.0169,
                "goal_rate": 0.0287,
                "goals": 0,
                "shots_on_target": 0.0738,
                "total_shots": 0.3495,
                "rating": 6.7256,
                "minutes": 29.69,
                "total_pass": 14.4429,
                "accurate_pass": 13.2238,
                "duels_won": 3.2461,
                "total_long_balls": 1.484,
                "accurate_long_balls": 0.8223,
                "total_own_half_passes": 5.3132,
                "accurate_own_half_passes": 4.9434,
                "total_opp_half_passes": 9.1296,
                "accurate_opp_half_passes": 8.2804,
                "crosses_total": 0.1773,
                "crosses_accurate": 0.0,
                "touches": 20.1244,
                "possession_lost": 1.6165,
                "dispossessed": 0.0,
                "duels_lost": 1.3128,
                "aerial_won": 1.0914,
                "aerial_lost": 0.3824,
                "interceptions": 0.7325,
                "tackles_won": 0.4221,
                "tackles": 1.3448,
                "clearances": 0.9801,
                "total_contest": 0.2355,
                "won_contest": 0.1273,
                "challenges_lost": 0.4047,
                "fouls": 0.1807,
                "fouls_drawn": 0.6783,
                "blocks": 0.2439,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0343,
                "ball_carries": 5.3935,
                "total_progression": 11.2627,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2757,
                "bench_appearance_probability": 0.435,
                "bench_expected_minutes": 29.69,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "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.435,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "key_pass": 0.338,
                "expected_assists": 0.0205,
                "assist_rate": 0.041,
                "assists": 0,
                "expected_goals": 0.0169,
                "goal_rate": 0.0287,
                "goals": 0,
                "shots_on_target": 0.0738,
                "total_shots": 0.3495,
                "rating": 6.7256,
                "minutes": 29.69,
                "total_pass": 14.4429,
                "accurate_pass": 13.2238,
                "duels_won": 3.2461,
                "total_long_balls": 1.484,
                "accurate_long_balls": 0.8223,
                "total_own_half_passes": 5.3132,
                "accurate_own_half_passes": 4.9434,
                "total_opp_half_passes": 9.1296,
                "accurate_opp_half_passes": 8.2804,
                "crosses_total": 0.1773,
                "crosses_accurate": 0.0,
                "touches": 20.1244,
                "possession_lost": 1.6165,
                "dispossessed": 0.0,
                "duels_lost": 1.3128,
                "aerial_won": 1.0914,
                "aerial_lost": 0.3824,
                "interceptions": 0.7325,
                "tackles_won": 0.4221,
                "tackles": 1.3448,
                "clearances": 0.9801,
                "total_contest": 0.2355,
                "won_contest": 0.1273,
                "challenges_lost": 0.4047,
                "fouls": 0.1807,
                "fouls_drawn": 0.6783,
                "blocks": 0.2439,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0343,
                "ball_carries": 5.3935,
                "total_progression": 11.2627,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2757,
                "bench_appearance_probability": 0.435,
                "bench_expected_minutes": 29.69,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3056,
                "fifa_rank": 1560.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            }
          ]
        },
        "Alemão": {
          "player_id": 981604,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 182,
          "market_value": 4400000,
          "stats": {
            "expected_goals": 0.1286,
            "goal_rate": 0.1131,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0181,
            "key_pass": 0,
            "rating": 6.5799,
            "minutes": 25,
            "total_pass": 6,
            "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": 0,
            "crosses_accurate": 0,
            "touches": 13,
            "possession_lost": 3.3515,
            "dispossessed": 0.8936,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1685,
            "offsides": 0,
            "ball_carries": 3,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.562,
            "bench_expected_minutes": 25.36,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.547,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0678,
            "projected_assists": 0,
            "assist_probability": 0.0101,
            "finishing_factor": 0.9778,
            "creation_factor": 0.8,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 19,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0308,
                "expected_assists": 0.0035,
                "total_shots": 1,
                "total_pass": 5,
                "accurate_pass": 4,
                "aerial_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": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 14,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0075,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 5,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3001,
                "expected_assists": 0.0021,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 33,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0059,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 15,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0653,
                "expected_assists": 0.0109,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 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": 16421052,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 25,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1901,
                "expected_assists": 0.0022,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 5,
                "accurate_pass": 5,
                "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": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 29,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0768,
                "expected_assists": 0.0013,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 74,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2114,
                "expected_assists": 0.0382,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 6,
                "accurate_pass": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083639,
              "match_date": "2026-05-14",
              "home_team": "Valencia",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Valencia",
              "stats": {
                "minutes": 30,
                "rating": 6.2,
                "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": "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": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 32,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2118,
                "expected_assists": 0.0076,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 8,
                "accurate_pass": 6,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3669,
            "combined_rank_score": 1628.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2920.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.5799,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alemão",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jesús Gallardo",
                  "ranking": 3664
                },
                {
                  "player_name": "Otar Kiteishvili",
                  "ranking": 3665
                },
                {
                  "player_name": "James Ward-Prowse",
                  "ranking": 3666
                },
                {
                  "player_name": "Raphael Veiga",
                  "ranking": 3667
                },
                {
                  "player_name": "Marcel Ruiz",
                  "ranking": 3668
                }
              ],
              "lower": [
                {
                  "player_name": "José Paradela",
                  "ranking": 3670
                },
                {
                  "player_name": "Lucas Høgsberg",
                  "ranking": 3671
                },
                {
                  "player_name": "Haji Wright",
                  "ranking": 3672
                },
                {
                  "player_name": "Willer Ditta",
                  "ranking": 3673
                },
                {
                  "player_name": "Eren Elmalı",
                  "ranking": 3674
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 32,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 32,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.36092577102457,
            "bench_appearance_prob": 0.5618602623192986,
            "market_value_adjustment": 0.998,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (32 historical appearances) to 25.4 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0956,
                "goals": 0.0926,
                "goal_rate": 0.0926,
                "shots_on_target": 0.292,
                "total_shots": 0.7922,
                "expected_assists": 0.0134,
                "key_pass": 0.225,
                "rating": 6.5799,
                "minutes": 20.72,
                "total_pass": 4.6892,
                "accurate_pass": 3.6153,
                "duels_won": 2.0072,
                "total_long_balls": 0.058,
                "accurate_long_balls": 0.0421,
                "total_opp_half_passes": 3.0684,
                "accurate_opp_half_passes": 2.3606,
                "crosses_total": 0.1551,
                "crosses_accurate": 0.1551,
                "touches": 10.4577,
                "possession_lost": 2.7437,
                "dispossessed": 0.8954,
                "duels_lost": 3.0594,
                "aerial_lost": 1.0785,
                "total_contest": 0.3997,
                "won_contest": 0.1673,
                "ball_recovery": 0.5098,
                "challenges_lost": 0.1856,
                "fouls": 0.6833,
                "fouls_drawn": 0.8451,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0159,
                "tackles_won": 0.2007,
                "tackles": 0.2007,
                "clearances": 0.3231,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1213,
                "xgot": 0.1254,
                "offsides": 0.0688,
                "ball_carries": 2.2369,
                "total_progression": 0.0,
                "progressive_carries": 0.1527,
                "shots_off_target": 0.5002
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:04:40.622139+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.1508,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.1282,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.109,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0926,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0787,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0669,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0569,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Villarreal",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Valencia",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0411,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-11",
                    "opponent": "Girona FC",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0349,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1126,
                  "totalOppositionHalfPasses": 3.8128,
                  "accurateOppositionHalfPasses": 2.7305,
                  "accuratePass": 4.2269,
                  "totalShots": 1.0777
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09560901671648026,
                    "model_output": 0.0956,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.089
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0105
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.004
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0037
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0036
                        }
                      ],
                      "others": -0.0078,
                      "total": 0.0956,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.592653
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.100411
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.039282
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.036103
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.035841
                        }
                      ],
                      "others_margin": -0.078766
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.09257713705301285,
                    "model_output": 0.0926,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0833
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.02
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0073
                        },
                        {
                          "name": "shot_waste_rate",
                          "contribution": -0.0044
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0029
                        }
                      ],
                      "others": 0.001,
                      "total": 0.0926,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.525566
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.181442
                        },
                        {
                          "name": "goals",
                          "margin": -0.075845
                        },
                        {
                          "name": "shot_waste_rate",
                          "margin": -0.048325
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.032408
                        }
                      ],
                      "others_margin": 0.009921
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2919778823852539,
                    "model_output": 0.292,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2231
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0115
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0114
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0107
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0096
                        }
                      ],
                      "others": -0.0017,
                      "total": 0.292,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.536942
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.035993
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.035653
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.034539
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.032328
                        }
                      ],
                      "others_margin": -0.005812
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7922026515007019,
                    "model_output": 0.7922,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5135
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0972
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0493
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0193
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0184
                        }
                      ],
                      "others": 0.0126,
                      "total": 0.7922,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.513497
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.09719
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.049273
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.019339
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.018447
                        }
                      ],
                      "others_margin": 0.012696
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.013417079113423824,
                    "model_output": 0.0134,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0221
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0109
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0043
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0021
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0097,
                      "total": 0.0134,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.421129
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.298687
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.149086
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.07914
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.074064
                        }
                      ],
                      "others_margin": -0.544666
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.22495384514331818,
                    "model_output": 0.225,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3025
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0303
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0272
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0195
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0161
                        }
                      ],
                      "others": -0.0534,
                      "total": 0.225,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.595697
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.085171
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.083085
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.063966
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.056346
                        }
                      ],
                      "others_margin": -0.213035
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.579867362976074,
                    "model_output": 6.5799,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0573
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0244
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0173
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0151
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0113
                        }
                      ],
                      "others": -0.0569,
                      "total": 6.5799,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.057297
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.02437
                        },
                        {
                          "name": "rating",
                          "margin": -0.017337
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.015137
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.011313
                        }
                      ],
                      "others_margin": -0.05684
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 32,
                  "role_matches": 21,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9980, quality 0.455)",
              "stats": {
                "expected_goals": 0.0954,
                "goals": 0.0924,
                "goal_rate": 0.0924,
                "shots_on_target": 0.2914,
                "total_shots": 0.7906,
                "expected_assists": 0.0134,
                "key_pass": 0.2245,
                "rating": 6.5799,
                "minutes": 20.72,
                "total_pass": 4.6798,
                "accurate_pass": 3.6081,
                "duels_won": 2.0032,
                "total_long_balls": 0.0579,
                "accurate_long_balls": 0.042,
                "total_opp_half_passes": 3.0623,
                "accurate_opp_half_passes": 2.3559,
                "crosses_total": 0.1548,
                "crosses_accurate": 0.1548,
                "touches": 10.4368,
                "possession_lost": 2.7382,
                "dispossessed": 0.8936,
                "duels_lost": 3.0533,
                "aerial_lost": 1.0763,
                "total_contest": 0.3989,
                "won_contest": 0.167,
                "ball_recovery": 0.5088,
                "challenges_lost": 0.1852,
                "fouls": 0.6819,
                "fouls_drawn": 0.8434,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0159,
                "tackles_won": 0.2003,
                "tackles": 0.2003,
                "clearances": 0.3225,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1211,
                "xgot": 0.1251,
                "offsides": 0.0687,
                "ball_carries": 2.2324,
                "total_progression": 0.0,
                "progressive_carries": 0.1524,
                "shots_off_target": 0.4992
              },
              "params": {
                "market_value_eur": 4400000,
                "quality_factor": 0.4548,
                "boost_factor": 0.998,
                "reference_quality": 0.505,
                "history_matches": 32,
                "history_shrink": 0.1351,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.7 to 25.4 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.1168,
                "goals": 0.1131,
                "goal_rate": 0.1131,
                "shots_on_target": 0.3567,
                "total_shots": 0.9677,
                "expected_assists": 0.0164,
                "key_pass": 0.2748,
                "rating": 6.5799,
                "minutes": 25.36,
                "total_pass": 5.728,
                "accurate_pass": 4.4163,
                "duels_won": 2.4519,
                "total_long_balls": 0.0709,
                "accurate_long_balls": 0.0514,
                "total_opp_half_passes": 3.7482,
                "accurate_opp_half_passes": 2.8836,
                "crosses_total": 0.1895,
                "crosses_accurate": 0.1895,
                "touches": 12.7745,
                "possession_lost": 3.3515,
                "dispossessed": 0.8936,
                "duels_lost": 3.7372,
                "aerial_lost": 1.0763,
                "total_contest": 0.4882,
                "won_contest": 0.2044,
                "ball_recovery": 0.6228,
                "challenges_lost": 0.1852,
                "fouls": 0.8346,
                "fouls_drawn": 1.0323,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0195,
                "tackles_won": 0.2452,
                "tackles": 0.2452,
                "clearances": 0.3947,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1482,
                "xgot": 0.1531,
                "offsides": 0.0687,
                "ball_carries": 2.7324,
                "total_progression": 0.0,
                "progressive_carries": 0.1865,
                "shots_off_target": 0.611,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36
              },
              "params": {
                "expected_minutes": 25.36,
                "projection_minutes": 20.72,
                "minutes_scale": 1.224,
                "appearance_probability": 0.562
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1168,
                "goals": 0.1131,
                "goal_rate": 0.1131,
                "shots_on_target": 0.3567,
                "total_shots": 0.9677,
                "expected_assists": 0.0164,
                "key_pass": 0.2748,
                "rating": 6.5799,
                "minutes": 25.36,
                "total_pass": 5.728,
                "accurate_pass": 4.4163,
                "duels_won": 2.4519,
                "total_long_balls": 0.0709,
                "accurate_long_balls": 0.0514,
                "total_opp_half_passes": 3.7482,
                "accurate_opp_half_passes": 2.8836,
                "crosses_total": 0.1895,
                "crosses_accurate": 0.1895,
                "touches": 12.7745,
                "possession_lost": 3.3515,
                "dispossessed": 0.8936,
                "duels_lost": 3.7372,
                "aerial_lost": 1.0763,
                "total_contest": 0.4882,
                "won_contest": 0.2044,
                "ball_recovery": 0.6228,
                "challenges_lost": 0.1852,
                "fouls": 0.8346,
                "fouls_drawn": 1.0323,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0195,
                "tackles_won": 0.2452,
                "tackles": 0.2452,
                "clearances": 0.3947,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1482,
                "xgot": 0.1531,
                "offsides": 0.0687,
                "ball_carries": 2.7324,
                "total_progression": 0.0,
                "progressive_carries": 0.1865,
                "shots_off_target": 0.611,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36
              },
              "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.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.1286,
                "goal_rate": 0.1131,
                "goals": 0,
                "shots_on_target": 0.3567,
                "total_shots": 0.9677,
                "expected_assists": 0.0181,
                "key_pass": 0.2748,
                "rating": 6.5799,
                "minutes": 25.36,
                "total_pass": 5.728,
                "accurate_pass": 4.4163,
                "duels_won": 2.4519,
                "total_long_balls": 0.0709,
                "accurate_long_balls": 0.0514,
                "total_opp_half_passes": 3.7482,
                "accurate_opp_half_passes": 2.8836,
                "crosses_total": 0.1895,
                "crosses_accurate": 0.1895,
                "touches": 12.7745,
                "possession_lost": 3.3515,
                "dispossessed": 0.8936,
                "duels_lost": 3.7372,
                "aerial_lost": 1.0763,
                "total_contest": 0.4882,
                "won_contest": 0.2044,
                "ball_recovery": 0.6228,
                "challenges_lost": 0.1852,
                "fouls": 0.8346,
                "fouls_drawn": 1.0323,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0195,
                "tackles_won": 0.2452,
                "tackles": 0.2452,
                "clearances": 0.3947,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1482,
                "xgot": 0.1685,
                "offsides": 0.0687,
                "ball_carries": 2.7324,
                "total_progression": 0.0,
                "progressive_carries": 0.1865,
                "shots_off_target": 0.611,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "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.9778,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 0.562
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1168,
                  "after": 0.1286
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1286,
                "goal_rate": 0.1131,
                "goals": 0,
                "shots_on_target": 0.3567,
                "total_shots": 0.9677,
                "expected_assists": 0.0181,
                "key_pass": 0.2748,
                "rating": 6.5799,
                "minutes": 25.36,
                "total_pass": 5.728,
                "accurate_pass": 4.4163,
                "duels_won": 2.4519,
                "total_long_balls": 0.0709,
                "accurate_long_balls": 0.0514,
                "total_opp_half_passes": 3.7482,
                "accurate_opp_half_passes": 2.8836,
                "crosses_total": 0.1895,
                "crosses_accurate": 0.1895,
                "touches": 12.7745,
                "possession_lost": 3.3515,
                "dispossessed": 0.8936,
                "duels_lost": 3.7372,
                "aerial_lost": 1.0763,
                "total_contest": 0.4882,
                "won_contest": 0.2044,
                "ball_recovery": 0.6228,
                "challenges_lost": 0.1852,
                "fouls": 0.8346,
                "fouls_drawn": 1.0323,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0195,
                "tackles_won": 0.2452,
                "tackles": 0.2452,
                "clearances": 0.3947,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1482,
                "xgot": 0.1685,
                "offsides": 0.0687,
                "ball_carries": 2.7324,
                "total_progression": 0.0,
                "progressive_carries": 0.1865,
                "shots_off_target": 0.611,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "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.9778,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3669,
                "fifa_rank": 2920.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1286,
                "goal_rate": 0.1131,
                "goals": 0,
                "shots_on_target": 0.3567,
                "total_shots": 0.9677,
                "expected_assists": 0.0181,
                "key_pass": 0.2748,
                "rating": 6.5799,
                "minutes": 25.36,
                "total_pass": 5.728,
                "accurate_pass": 4.4163,
                "duels_won": 2.4519,
                "total_long_balls": 0.0709,
                "accurate_long_balls": 0.0514,
                "total_opp_half_passes": 3.7482,
                "accurate_opp_half_passes": 2.8836,
                "crosses_total": 0.1895,
                "crosses_accurate": 0.1895,
                "touches": 12.7745,
                "possession_lost": 3.3515,
                "dispossessed": 0.8936,
                "duels_lost": 3.7372,
                "aerial_lost": 1.0763,
                "total_contest": 0.4882,
                "won_contest": 0.2044,
                "ball_recovery": 0.6228,
                "challenges_lost": 0.1852,
                "fouls": 0.8346,
                "fouls_drawn": 1.0323,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0195,
                "tackles_won": 0.2452,
                "tackles": 0.2452,
                "clearances": 0.3947,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1482,
                "xgot": 0.1685,
                "offsides": 0.0687,
                "ball_carries": 2.7324,
                "total_progression": 0.0,
                "progressive_carries": 0.1865,
                "shots_off_target": 0.611,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0678,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9778,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0678,
                "scorer_weight": 0.0707,
                "squad_weight_total": 1.4853,
                "weight_share": 0.0476,
                "finishing_factor": 0.9778,
                "appearance_weight": 0.562,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "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.1286,
                "goal_rate": 0.1131,
                "goals": 0,
                "shots_on_target": 0.3567,
                "total_shots": 0.9677,
                "expected_assists": 0.0181,
                "key_pass": 0.2748,
                "rating": 6.5799,
                "minutes": 25.36,
                "total_pass": 5.728,
                "accurate_pass": 4.4163,
                "duels_won": 2.4519,
                "total_long_balls": 0.0709,
                "accurate_long_balls": 0.0514,
                "total_opp_half_passes": 3.7482,
                "accurate_opp_half_passes": 2.8836,
                "crosses_total": 0.1895,
                "crosses_accurate": 0.1895,
                "touches": 12.7745,
                "possession_lost": 3.3515,
                "dispossessed": 0.8936,
                "duels_lost": 3.7372,
                "aerial_lost": 1.0763,
                "total_contest": 0.4882,
                "won_contest": 0.2044,
                "ball_recovery": 0.6228,
                "challenges_lost": 0.1852,
                "fouls": 0.8346,
                "fouls_drawn": 1.0323,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0195,
                "tackles_won": 0.2452,
                "tackles": 0.2452,
                "clearances": 0.3947,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1482,
                "xgot": 0.1685,
                "offsides": 0.0687,
                "ball_carries": 2.7324,
                "total_progression": 0.0,
                "progressive_carries": 0.1865,
                "shots_off_target": 0.611,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0678,
                "projected_assists": 0,
                "assist_probability": 0.0101,
                "finishing_factor": 0.9778,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0101,
                "provider_weight": 0.0081,
                "squad_weight_total": 0.9695,
                "weight_share": 0.0084,
                "creation_factor": 0.8,
                "appearance_weight": 0.562,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Giorgi Tsitaishvili": {
          "player_id": 875677,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 14,
          "height": 171,
          "market_value": 2700000,
          "stats": {
            "expected_goals": 0.0919,
            "goal_rate": 0.099,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0349,
            "key_pass": 0,
            "rating": 6.6224,
            "minutes": 25,
            "total_pass": 10,
            "accurate_pass": 8,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 21,
            "possession_lost": 8.5745,
            "dispossessed": 0.7646,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1212,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 48,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.547,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0491,
            "projected_assists": 0,
            "assist_probability": 0.0192,
            "finishing_factor": 1.1161,
            "creation_factor": 0.8,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 19,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0014,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 2,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 76,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1586,
                "expected_assists": 0.1149,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4701,
                "expected_assists": 0.0611,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 11,
                "key_pass": 1,
                "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": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 16,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1617,
            "combined_rank_score": 887.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 657.0,
            "sofascore_rating": 6.7333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1117.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6224,
            "source_file": "data/player_rankings.csv",
            "player_name": "Giorgi Tsitaishvili",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Khumoyunmirzo Iminov",
                  "ranking": 1612
                },
                {
                  "player_name": "Shakhboz Juraev",
                  "ranking": 1613
                },
                {
                  "player_name": "Nika Kacharava",
                  "ranking": 1614
                },
                {
                  "player_name": "Andrej Stojchevski",
                  "ranking": 1615
                },
                {
                  "player_name": "Jorge Herrando",
                  "ranking": 1616
                }
              ],
              "lower": [
                {
                  "player_name": "Rustambek Fomin",
                  "ranking": 1618
                },
                {
                  "player_name": "Khamidullo Abdunabiev",
                  "ranking": 1619
                },
                {
                  "player_name": "Jovani Welch",
                  "ranking": 1620
                },
                {
                  "player_name": "Orlando Galo",
                  "ranking": 1621
                },
                {
                  "player_name": "Marcelo Díaz",
                  "ranking": 1622
                }
              ]
            }
          },
          "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.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.9887,
            "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.0628,
                "goals": 0.0744,
                "goal_rate": 0.0744,
                "shots_on_target": 0.2722,
                "total_shots": 0.7239,
                "expected_assists": 0.0238,
                "key_pass": 0.2839,
                "rating": 6.6224,
                "minutes": 18.81,
                "total_pass": 7.1499,
                "accurate_pass": 5.715,
                "duels_won": 0.2267,
                "total_long_balls": 0.3138,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.5824,
                "accurate_opp_half_passes": 4.7281,
                "crosses_total": 1.4404,
                "crosses_accurate": 0.4935,
                "touches": 16.0601,
                "possession_lost": 6.4498,
                "dispossessed": 0.7733,
                "duels_lost": 3.3818,
                "aerial_lost": 0.8073,
                "total_contest": 0.7673,
                "won_contest": 0.0,
                "ball_recovery": 0.8073,
                "challenges_lost": 0.7673,
                "fouls": 0.2667,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.2267,
                "tackles": 0.2267,
                "clearances": 0.5806,
                "blocks": 0.0,
                "big_chances_created": 0.2667,
                "big_chances_missed": 0.3304,
                "xgot": 0.0828,
                "offsides": 0.0,
                "ball_carries": 5.9888,
                "total_progression": 36.359,
                "progressive_carries": 2.4673,
                "shots_off_target": 0.4517
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:04:40.622139+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1489,
                  "totalOppositionHalfPasses": 5.5824,
                  "accurateOppositionHalfPasses": 4.7281,
                  "accuratePass": 5.715,
                  "totalShots": 1.4804
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0628182590007782,
                    "model_output": 0.0628,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0937
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0119
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0083
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0064
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0045
                        }
                      ],
                      "others": -0.0114,
                      "total": 0.0628,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.636636
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.119672
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.093475
                        },
                        {
                          "name": "goals",
                          "margin": -0.078061
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.058543
                        }
                      ],
                      "others_margin": -0.166444
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07440906763076782,
                    "model_output": 0.0744,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0964
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0156
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.011
                        },
                        {
                          "name": "goals",
                          "contribution": -0.005
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0036
                        }
                      ],
                      "others": 0.0023,
                      "total": 0.0744,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.64103
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.157314
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.12797
                        },
                        {
                          "name": "goals",
                          "margin": -0.064339
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.049066
                        }
                      ],
                      "others_margin": 0.032405
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.27221834659576416,
                    "model_output": 0.2722,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2319
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0167
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0145
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0105
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0092
                        }
                      ],
                      "others": -0.003,
                      "total": 0.2722,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.565326
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.056152
                        },
                        {
                          "name": "goals",
                          "margin": -0.051646
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.03755
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.032983
                        }
                      ],
                      "others_margin": -0.010799
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7239055633544922,
                    "model_output": 0.7239,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5663
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0835
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0695
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0279
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0261
                        }
                      ],
                      "others": -0.0205,
                      "total": 0.7239,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.566281
                        },
                        {
                          "name": "goals",
                          "margin": -0.083541
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.069477
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.02793
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.026129
                        }
                      ],
                      "others_margin": -0.020396
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.023840729147195816,
                    "model_output": 0.0238,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0214
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0059
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0038
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0022
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0019
                        }
                      ],
                      "others": -0.0091,
                      "total": 0.0238,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.404224
                        },
                        {
                          "name": "rating",
                          "margin": -0.146822
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.106905
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.069787
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.058077
                        }
                      ],
                      "others_margin": -0.322243
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.28388839960098267,
                    "model_output": 0.2839,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2882
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0283
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0243
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0151
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0127
                        }
                      ],
                      "others": -0.0215,
                      "total": 0.2839,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.557932
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.076125
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.070298
                        },
                        {
                          "name": "rating",
                          "margin": -0.04638
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.040832
                        }
                      ],
                      "others_margin": -0.073048
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.622373104095459,
                    "model_output": 6.6224,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0616
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0207
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0127
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0123
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0114
                        }
                      ],
                      "others": -0.0439,
                      "total": 6.6224,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.061637
                        },
                        {
                          "name": "rating",
                          "margin": -0.020727
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.012747
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.012323
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.011377
                        }
                      ],
                      "others_margin": -0.043728
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 4,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9887, quality 0.437)",
              "stats": {
                "expected_goals": 0.0621,
                "goals": 0.0736,
                "goal_rate": 0.0736,
                "shots_on_target": 0.2691,
                "total_shots": 0.7157,
                "expected_assists": 0.0236,
                "key_pass": 0.2807,
                "rating": 6.6224,
                "minutes": 18.81,
                "total_pass": 7.0691,
                "accurate_pass": 5.6504,
                "duels_won": 0.2241,
                "total_long_balls": 0.3103,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.5193,
                "accurate_opp_half_passes": 4.6747,
                "crosses_total": 1.4241,
                "crosses_accurate": 0.4879,
                "touches": 15.8786,
                "possession_lost": 6.3769,
                "dispossessed": 0.7646,
                "duels_lost": 3.3436,
                "aerial_lost": 0.7982,
                "total_contest": 0.7586,
                "won_contest": 0.0,
                "ball_recovery": 0.7982,
                "challenges_lost": 0.7586,
                "fouls": 0.2637,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.2241,
                "tackles": 0.2241,
                "clearances": 0.574,
                "blocks": 0.0,
                "big_chances_created": 0.2637,
                "big_chances_missed": 0.3267,
                "xgot": 0.0819,
                "offsides": 0.0,
                "ball_carries": 5.9211,
                "total_progression": 35.9481,
                "progressive_carries": 2.4394,
                "shots_off_target": 0.4466
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9887,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.8 to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0835,
                "goals": 0.099,
                "goal_rate": 0.099,
                "shots_on_target": 0.3618,
                "total_shots": 0.9623,
                "expected_assists": 0.0317,
                "key_pass": 0.3774,
                "rating": 6.6224,
                "minutes": 25.29,
                "total_pass": 9.5052,
                "accurate_pass": 7.5976,
                "duels_won": 0.3013,
                "total_long_balls": 0.4172,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.4213,
                "accurate_opp_half_passes": 6.2857,
                "crosses_total": 1.9149,
                "crosses_accurate": 0.656,
                "touches": 21.3506,
                "possession_lost": 8.5745,
                "dispossessed": 0.7646,
                "duels_lost": 4.4959,
                "aerial_lost": 0.7982,
                "total_contest": 1.02,
                "won_contest": 0.0,
                "ball_recovery": 1.0733,
                "challenges_lost": 0.7586,
                "fouls": 0.3546,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.3013,
                "tackles": 0.3013,
                "clearances": 0.7718,
                "blocks": 0.0,
                "big_chances_created": 0.3546,
                "big_chances_missed": 0.4393,
                "xgot": 0.1101,
                "offsides": 0.0,
                "ball_carries": 7.9616,
                "total_progression": 48.3364,
                "progressive_carries": 3.2801,
                "shots_off_target": 0.6005,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "projection_minutes": 18.81,
                "minutes_scale": 1.3446,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0835,
                "goals": 0.099,
                "goal_rate": 0.099,
                "shots_on_target": 0.3618,
                "total_shots": 0.9623,
                "expected_assists": 0.0317,
                "key_pass": 0.3774,
                "rating": 6.6224,
                "minutes": 25.29,
                "total_pass": 9.5052,
                "accurate_pass": 7.5976,
                "duels_won": 0.3013,
                "total_long_balls": 0.4172,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.4213,
                "accurate_opp_half_passes": 6.2857,
                "crosses_total": 1.9149,
                "crosses_accurate": 0.656,
                "touches": 21.3506,
                "possession_lost": 8.5745,
                "dispossessed": 0.7646,
                "duels_lost": 4.4959,
                "aerial_lost": 0.7982,
                "total_contest": 1.02,
                "won_contest": 0.0,
                "ball_recovery": 1.0733,
                "challenges_lost": 0.7586,
                "fouls": 0.3546,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.3013,
                "tackles": 0.3013,
                "clearances": 0.7718,
                "blocks": 0.0,
                "big_chances_created": 0.3546,
                "big_chances_missed": 0.4393,
                "xgot": 0.1101,
                "offsides": 0.0,
                "ball_carries": 7.9616,
                "total_progression": 48.3364,
                "progressive_carries": 3.2801,
                "shots_off_target": 0.6005,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "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.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.0919,
                "goal_rate": 0.099,
                "goals": 0,
                "shots_on_target": 0.3618,
                "total_shots": 0.9623,
                "expected_assists": 0.0349,
                "key_pass": 0.3774,
                "rating": 6.6224,
                "minutes": 25.29,
                "total_pass": 9.5052,
                "accurate_pass": 7.5976,
                "duels_won": 0.3013,
                "total_long_balls": 0.4172,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.4213,
                "accurate_opp_half_passes": 6.2857,
                "crosses_total": 1.9149,
                "crosses_accurate": 0.656,
                "touches": 21.3506,
                "possession_lost": 8.5745,
                "dispossessed": 0.7646,
                "duels_lost": 4.4959,
                "aerial_lost": 0.7982,
                "total_contest": 1.02,
                "won_contest": 0.0,
                "ball_recovery": 1.0733,
                "challenges_lost": 0.7586,
                "fouls": 0.3546,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3013,
                "tackles": 0.3013,
                "clearances": 0.7718,
                "blocks": 0.0,
                "big_chances_created": 0.3546,
                "big_chances_missed": 0.4393,
                "xgot": 0.1212,
                "offsides": 0.0,
                "ball_carries": 7.9616,
                "total_progression": 48.3364,
                "progressive_carries": 3.2801,
                "shots_off_target": 0.6005,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1161,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0835,
                  "after": 0.0919
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0919,
                "goal_rate": 0.099,
                "goals": 0,
                "shots_on_target": 0.3618,
                "total_shots": 0.9623,
                "expected_assists": 0.0349,
                "key_pass": 0.3774,
                "rating": 6.6224,
                "minutes": 25.29,
                "total_pass": 9.5052,
                "accurate_pass": 7.5976,
                "duels_won": 0.3013,
                "total_long_balls": 0.4172,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.4213,
                "accurate_opp_half_passes": 6.2857,
                "crosses_total": 1.9149,
                "crosses_accurate": 0.656,
                "touches": 21.3506,
                "possession_lost": 8.5745,
                "dispossessed": 0.7646,
                "duels_lost": 4.4959,
                "aerial_lost": 0.7982,
                "total_contest": 1.02,
                "won_contest": 0.0,
                "ball_recovery": 1.0733,
                "challenges_lost": 0.7586,
                "fouls": 0.3546,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3013,
                "tackles": 0.3013,
                "clearances": 0.7718,
                "blocks": 0.0,
                "big_chances_created": 0.3546,
                "big_chances_missed": 0.4393,
                "xgot": 0.1212,
                "offsides": 0.0,
                "ball_carries": 7.9616,
                "total_progression": 48.3364,
                "progressive_carries": 3.2801,
                "shots_off_target": 0.6005,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1161,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1617,
                "fifa_rank": 1117.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0919,
                "goal_rate": 0.099,
                "goals": 0,
                "shots_on_target": 0.3618,
                "total_shots": 0.9623,
                "expected_assists": 0.0349,
                "key_pass": 0.3774,
                "rating": 6.6224,
                "minutes": 25.29,
                "total_pass": 9.5052,
                "accurate_pass": 7.5976,
                "duels_won": 0.3013,
                "total_long_balls": 0.4172,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.4213,
                "accurate_opp_half_passes": 6.2857,
                "crosses_total": 1.9149,
                "crosses_accurate": 0.656,
                "touches": 21.3506,
                "possession_lost": 8.5745,
                "dispossessed": 0.7646,
                "duels_lost": 4.4959,
                "aerial_lost": 0.7982,
                "total_contest": 1.02,
                "won_contest": 0.0,
                "ball_recovery": 1.0733,
                "challenges_lost": 0.7586,
                "fouls": 0.3546,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3013,
                "tackles": 0.3013,
                "clearances": 0.7718,
                "blocks": 0.0,
                "big_chances_created": 0.3546,
                "big_chances_missed": 0.4393,
                "xgot": 0.1212,
                "offsides": 0.0,
                "ball_carries": 7.9616,
                "total_progression": 48.3364,
                "progressive_carries": 3.2801,
                "shots_off_target": 0.6005,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0491,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1161,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0491,
                "scorer_weight": 0.0573,
                "squad_weight_total": 1.4853,
                "weight_share": 0.0386,
                "finishing_factor": 1.1161,
                "appearance_weight": 0.559,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "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.0919,
                "goal_rate": 0.099,
                "goals": 0,
                "shots_on_target": 0.3618,
                "total_shots": 0.9623,
                "expected_assists": 0.0349,
                "key_pass": 0.3774,
                "rating": 6.6224,
                "minutes": 25.29,
                "total_pass": 9.5052,
                "accurate_pass": 7.5976,
                "duels_won": 0.3013,
                "total_long_balls": 0.4172,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.4213,
                "accurate_opp_half_passes": 6.2857,
                "crosses_total": 1.9149,
                "crosses_accurate": 0.656,
                "touches": 21.3506,
                "possession_lost": 8.5745,
                "dispossessed": 0.7646,
                "duels_lost": 4.4959,
                "aerial_lost": 0.7982,
                "total_contest": 1.02,
                "won_contest": 0.0,
                "ball_recovery": 1.0733,
                "challenges_lost": 0.7586,
                "fouls": 0.3546,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3013,
                "tackles": 0.3013,
                "clearances": 0.7718,
                "blocks": 0.0,
                "big_chances_created": 0.3546,
                "big_chances_missed": 0.4393,
                "xgot": 0.1212,
                "offsides": 0.0,
                "ball_carries": 7.9616,
                "total_progression": 48.3364,
                "progressive_carries": 3.2801,
                "shots_off_target": 0.6005,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0491,
                "projected_assists": 0,
                "assist_probability": 0.0192,
                "finishing_factor": 1.1161,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0192,
                "provider_weight": 0.0156,
                "squad_weight_total": 0.9695,
                "weight_share": 0.0161,
                "creation_factor": 0.8,
                "appearance_weight": 0.559,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Pedro Díaz": {
          "player_id": 900669,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 4,
          "height": 180,
          "market_value": 2900000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.049,
            "assist_rate": 0.0613,
            "assists": 0,
            "expected_goals": 0.0625,
            "goal_rate": 0.0512,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6984,
            "minutes": 23,
            "total_pass": 9,
            "accurate_pass": 7,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 3.4066,
            "dispossessed": 0.2903,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0168,
            "ball_carries": 4,
            "total_progression": 11,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.692,
            "bench_expected_minutes": 23.09,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.547,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0419,
            "projected_assists": 0,
            "assist_probability": 0.0331,
            "finishing_factor": 0.9476,
            "creation_factor": 1.1778,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 30,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.031,
                "expected_assists": 0.0085,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 11,
                "accurate_pass": 7,
                "key_pass": 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": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2708,
                "expected_assists": 0.0172,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 32,
                "accurate_pass": 26,
                "key_pass": 2,
                "tackles": 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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 67,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1621,
                "expected_assists": 0.0149,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 19,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0628,
                "expected_assists": 0.0492,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 34,
                "accurate_pass": 33,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 33,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0422,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 3,
                "tackles": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421052,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 12,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0935,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 9,
                "key_pass": 2,
                "interceptions": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0319,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 24,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0071,
                "expected_assists": 0.0031,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 6,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.15,
                "expected_assists": 0.0543,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 26,
                "accurate_pass": 21,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083598,
              "match_date": "2026-05-11",
              "home_team": "Rayo Vallecano",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 58,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0428,
                "expected_assists": 0.0483,
                "total_shots": 2,
                "total_pass": 31,
                "accurate_pass": 25,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3649,
            "combined_rank_score": 1611.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 822.0,
            "sofascore_rating": 6.6,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2400.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6984,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pedro Díaz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "João Moutinho",
                  "ranking": 3644
                },
                {
                  "player_name": "Tom Cairney",
                  "ranking": 3645
                },
                {
                  "player_name": "Mads Hermansen",
                  "ranking": 3646
                },
                {
                  "player_name": "Pepê",
                  "ranking": 3647
                },
                {
                  "player_name": "Finn Azaz",
                  "ranking": 3648
                }
              ],
              "lower": [
                {
                  "player_name": "Junior Firpo",
                  "ranking": 3650
                },
                {
                  "player_name": "Bashir Humphreys",
                  "ranking": 3651
                },
                {
                  "player_name": "Altimira",
                  "ranking": 3652
                },
                {
                  "player_name": "Miguel Almirón",
                  "ranking": 3653
                },
                {
                  "player_name": "Marko Livaja",
                  "ranking": 3654
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.755,
          "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.755,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 23.09,
            "bench_appearance_prob": 0.692,
            "market_value_adjustment": 0.9977,
            "fbref_prior_metrics": {
              "squad": "Rayo Vallecano",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 24.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0333
            },
            "rationale": "Bench projection scaled from XGBoost M_service (40 historical appearances) to 23.1 expected mins (appearance prob 0.69); FBref playing time empirical prior: 2.0 sub appearances, 24.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.6333,
                "expected_assists": 0.0438,
                "assists": 0.0605,
                "assist_rate": 0.0605,
                "expected_goals": 0.0559,
                "goals": 0.0506,
                "goal_rate": 0.0506,
                "shots_on_target": 0.1928,
                "total_shots": 0.8861,
                "rating": 6.6984,
                "minutes": 22.69,
                "total_pass": 8.8685,
                "accurate_pass": 6.9543,
                "duels_won": 1.6889,
                "total_long_balls": 0.6609,
                "accurate_long_balls": 0.2778,
                "total_own_half_passes": 2.5763,
                "accurate_own_half_passes": 2.2429,
                "total_opp_half_passes": 6.2922,
                "accurate_opp_half_passes": 4.7114,
                "crosses_total": 0.8393,
                "crosses_accurate": 0.4564,
                "touches": 14.7303,
                "possession_lost": 3.3553,
                "dispossessed": 0.291,
                "duels_lost": 1.3704,
                "aerial_won": 0.126,
                "aerial_lost": 0.086,
                "interceptions": 0.2166,
                "tackles_won": 0.2305,
                "tackles": 0.4662,
                "clearances": 0.2853,
                "total_contest": 0.6825,
                "won_contest": 0.6131,
                "challenges_lost": 0.413,
                "fouls": 0.5109,
                "fouls_drawn": 0.4836,
                "blocks": 0.0,
                "big_chances_created": 0.1165,
                "big_chances_missed": 0.0,
                "xgot": 0.015,
                "ball_carries": 4.0602,
                "total_progression": 10.532,
                "progressive_carries": 0.1909,
                "shots_off_target": 0.6933
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-09T10:04:11.914604+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.1502,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-11",
                    "opponent": "Girona FC",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.8936,
                  "creative_index": 0.505,
                  "expectedGoals": 0.0838,
                  "expectedAssists": 0.045,
                  "onTargetScoringAttempt": 0.2733
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6333357691764832,
                    "model_output": 0.6333,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3684
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0479
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0229
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0203
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0168
                        }
                      ],
                      "others": 0.0534,
                      "total": 0.6333,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.537373
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.088485
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.041311
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.0368
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.02944
                        }
                      ],
                      "others_margin": 0.088021
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04380044341087341,
                    "model_output": 0.0438,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0347
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0052
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.003
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0023
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0022
                        }
                      ],
                      "others": 0.001,
                      "total": 0.0438,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.517671
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.10727
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.067772
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.054187
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.053144
                        }
                      ],
                      "others_margin": 0.021691
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.060486748814582825,
                    "model_output": 0.0605,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0197
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0054
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0042
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0038
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0036
                        }
                      ],
                      "others": -0.006,
                      "total": 0.0605,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.263075
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.079365
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.061627
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.05903
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.056383
                        }
                      ],
                      "others_margin": -0.094941
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05587907135486603,
                    "model_output": 0.0559,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.044
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.009
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0081
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0026
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0069,
                      "total": 0.0559,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.626689
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.164654
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.127773
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.039212
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.033023
                        }
                      ],
                      "others_margin": -0.118151
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05055055767297745,
                    "model_output": 0.0506,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0428
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0128
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0061
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.004
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0036
                        }
                      ],
                      "others": -0.0105,
                      "total": 0.0506,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.576187
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.210133
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.094359
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.067301
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.060752
                        }
                      ],
                      "others_margin": -0.191405
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.19278235733509064,
                    "model_output": 0.1928,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1581
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0399
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.016
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0089
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0063
                        }
                      ],
                      "others": -0.0138,
                      "total": 0.1928,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.669174
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.215341
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.074679
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.040731
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.030047
                        }
                      ],
                      "others_margin": -0.069222
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8860500454902649,
                    "model_output": 0.8861,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5545
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.357
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0505
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0422
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0236
                        }
                      ],
                      "others": 0.024,
                      "total": 0.8861,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.554526
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.35703
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.050468
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.042155
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.023646
                        }
                      ],
                      "others_margin": 0.024105
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.698419094085693,
                    "model_output": 6.6984,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0829
                        },
                        {
                          "name": "rating",
                          "contribution": -0.035
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0154
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0113
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0086
                        }
                      ],
                      "others": -0.0145,
                      "total": 6.6984,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.082898
                        },
                        {
                          "name": "rating",
                          "margin": -0.035031
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.015394
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.011341
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.008632
                        }
                      ],
                      "others_margin": -0.014419
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 40,
                  "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.9977, quality 0.437)",
              "stats": {
                "key_pass": 0.6319,
                "expected_assists": 0.0437,
                "assists": 0.0603,
                "assist_rate": 0.0603,
                "expected_goals": 0.0558,
                "goals": 0.0504,
                "goal_rate": 0.0504,
                "shots_on_target": 0.1923,
                "total_shots": 0.884,
                "rating": 6.6984,
                "minutes": 22.69,
                "total_pass": 8.8481,
                "accurate_pass": 6.9383,
                "duels_won": 1.685,
                "total_long_balls": 0.6594,
                "accurate_long_balls": 0.2772,
                "total_own_half_passes": 2.5704,
                "accurate_own_half_passes": 2.2377,
                "total_opp_half_passes": 6.2777,
                "accurate_opp_half_passes": 4.7006,
                "crosses_total": 0.8374,
                "crosses_accurate": 0.4554,
                "touches": 14.6964,
                "possession_lost": 3.3476,
                "dispossessed": 0.2903,
                "duels_lost": 1.3672,
                "aerial_won": 0.1257,
                "aerial_lost": 0.0858,
                "interceptions": 0.2161,
                "tackles_won": 0.23,
                "tackles": 0.4651,
                "clearances": 0.2846,
                "total_contest": 0.6809,
                "won_contest": 0.6117,
                "challenges_lost": 0.4121,
                "fouls": 0.5097,
                "fouls_drawn": 0.4825,
                "blocks": 0.0,
                "big_chances_created": 0.1162,
                "big_chances_missed": 0.0,
                "xgot": 0.015,
                "ball_carries": 4.0509,
                "total_progression": 10.5078,
                "progressive_carries": 0.1905,
                "shots_off_target": 0.6917
              },
              "params": {
                "market_value_eur": 2900000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9977,
                "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.0024)",
              "stats": {
                "key_pass": 0.6319,
                "expected_assists": 0.0437,
                "assists": 0.0602,
                "assist_rate": 0.0602,
                "expected_goals": 0.0558,
                "goals": 0.0503,
                "goal_rate": 0.0503,
                "shots_on_target": 0.1918,
                "total_shots": 0.8819,
                "rating": 6.6984,
                "minutes": 22.69,
                "total_pass": 8.8481,
                "accurate_pass": 6.9383,
                "duels_won": 1.685,
                "total_long_balls": 0.6594,
                "accurate_long_balls": 0.2772,
                "total_own_half_passes": 2.5704,
                "accurate_own_half_passes": 2.2377,
                "total_opp_half_passes": 6.2777,
                "accurate_opp_half_passes": 4.7006,
                "crosses_total": 0.8402,
                "crosses_accurate": 0.4554,
                "touches": 14.6964,
                "possession_lost": 3.3476,
                "dispossessed": 0.2903,
                "duels_lost": 1.3672,
                "aerial_won": 0.1257,
                "aerial_lost": 0.0858,
                "interceptions": 0.2168,
                "tackles_won": 0.2294,
                "tackles": 0.4651,
                "clearances": 0.2846,
                "total_contest": 0.6809,
                "won_contest": 0.6117,
                "challenges_lost": 0.4121,
                "fouls": 0.5097,
                "fouls_drawn": 0.4813,
                "blocks": 0.0,
                "big_chances_created": 0.1162,
                "big_chances_missed": 0.0,
                "xgot": 0.015,
                "ball_carries": 4.0509,
                "total_progression": 10.5078,
                "progressive_carries": 0.1905,
                "shots_off_target": 0.6917
              },
              "params": {
                "blend_weight": 0.0024,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2521,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Rayo Vallecano"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 22.7 to 23.1 expected minutes (appearance prob 0.69)",
              "stats": {
                "key_pass": 0.643,
                "expected_assists": 0.0445,
                "assists": 0.0613,
                "assist_rate": 0.0613,
                "expected_goals": 0.0568,
                "goals": 0.0512,
                "goal_rate": 0.0512,
                "shots_on_target": 0.1952,
                "total_shots": 0.8991,
                "rating": 6.6984,
                "minutes": 23.09,
                "total_pass": 9.0041,
                "accurate_pass": 7.0606,
                "duels_won": 1.7147,
                "total_long_balls": 0.671,
                "accurate_long_balls": 0.2821,
                "total_own_half_passes": 2.6157,
                "accurate_own_half_passes": 2.2771,
                "total_opp_half_passes": 6.3884,
                "accurate_opp_half_passes": 4.7835,
                "crosses_total": 0.855,
                "crosses_accurate": 0.4634,
                "touches": 14.9555,
                "possession_lost": 3.4066,
                "dispossessed": 0.2903,
                "duels_lost": 1.3913,
                "aerial_won": 0.1279,
                "aerial_lost": 0.0858,
                "interceptions": 0.2206,
                "tackles_won": 0.2334,
                "tackles": 0.4733,
                "clearances": 0.2896,
                "total_contest": 0.6929,
                "won_contest": 0.6225,
                "challenges_lost": 0.4121,
                "fouls": 0.5187,
                "fouls_drawn": 0.4898,
                "blocks": 0.0,
                "big_chances_created": 0.1182,
                "big_chances_missed": 0.0,
                "xgot": 0.0153,
                "ball_carries": 4.1223,
                "total_progression": 10.693,
                "progressive_carries": 0.1939,
                "shots_off_target": 0.7039,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 23.09
              },
              "params": {
                "expected_minutes": 23.09,
                "projection_minutes": 22.69,
                "minutes_scale": 1.0176,
                "appearance_probability": 0.692
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.643,
                "expected_assists": 0.0445,
                "assists": 0.0613,
                "assist_rate": 0.0613,
                "expected_goals": 0.0568,
                "goals": 0.0512,
                "goal_rate": 0.0512,
                "shots_on_target": 0.1952,
                "total_shots": 0.8991,
                "rating": 6.6984,
                "minutes": 23.09,
                "total_pass": 9.0041,
                "accurate_pass": 7.0606,
                "duels_won": 1.7147,
                "total_long_balls": 0.671,
                "accurate_long_balls": 0.2821,
                "total_own_half_passes": 2.6157,
                "accurate_own_half_passes": 2.2771,
                "total_opp_half_passes": 6.3884,
                "accurate_opp_half_passes": 4.7835,
                "crosses_total": 0.855,
                "crosses_accurate": 0.4634,
                "touches": 14.9555,
                "possession_lost": 3.4066,
                "dispossessed": 0.2903,
                "duels_lost": 1.3913,
                "aerial_won": 0.1279,
                "aerial_lost": 0.0858,
                "interceptions": 0.2206,
                "tackles_won": 0.2334,
                "tackles": 0.4733,
                "clearances": 0.2896,
                "total_contest": 0.6929,
                "won_contest": 0.6225,
                "challenges_lost": 0.4121,
                "fouls": 0.5187,
                "fouls_drawn": 0.4898,
                "blocks": 0.0,
                "big_chances_created": 0.1182,
                "big_chances_missed": 0.0,
                "xgot": 0.0153,
                "ball_carries": 4.1223,
                "total_progression": 10.693,
                "progressive_carries": 0.1939,
                "shots_off_target": 0.7039,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 23.09
              },
              "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.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "key_pass": 0.643,
                "expected_assists": 0.049,
                "assist_rate": 0.0613,
                "assists": 0,
                "expected_goals": 0.0625,
                "goal_rate": 0.0512,
                "goals": 0,
                "shots_on_target": 0.1952,
                "total_shots": 0.8991,
                "rating": 6.6984,
                "minutes": 23.09,
                "total_pass": 9.0041,
                "accurate_pass": 7.0606,
                "duels_won": 1.7147,
                "total_long_balls": 0.671,
                "accurate_long_balls": 0.2821,
                "total_own_half_passes": 2.6157,
                "accurate_own_half_passes": 2.2771,
                "total_opp_half_passes": 6.3884,
                "accurate_opp_half_passes": 4.7835,
                "crosses_total": 0.855,
                "crosses_accurate": 0.4634,
                "touches": 14.9555,
                "possession_lost": 3.4066,
                "dispossessed": 0.2903,
                "duels_lost": 1.3913,
                "aerial_won": 0.1279,
                "aerial_lost": 0.0858,
                "interceptions": 0.2206,
                "tackles_won": 0.2334,
                "tackles": 0.4733,
                "clearances": 0.2896,
                "total_contest": 0.6929,
                "won_contest": 0.6225,
                "challenges_lost": 0.4121,
                "fouls": 0.5187,
                "fouls_drawn": 0.4898,
                "blocks": 0.0,
                "big_chances_created": 0.1182,
                "big_chances_missed": 0.0,
                "xgot": 0.0168,
                "ball_carries": 4.1223,
                "total_progression": 10.693,
                "progressive_carries": 0.1939,
                "shots_off_target": 0.7039,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 23.09,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "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.9476,
                "creation_factor": 1.1778
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 0.692
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0568,
                  "after": 0.0625
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "key_pass": 0.643,
                "expected_assists": 0.049,
                "assist_rate": 0.0613,
                "assists": 0,
                "expected_goals": 0.0625,
                "goal_rate": 0.0512,
                "goals": 0,
                "shots_on_target": 0.1952,
                "total_shots": 0.8991,
                "rating": 6.6984,
                "minutes": 23.09,
                "total_pass": 9.0041,
                "accurate_pass": 7.0606,
                "duels_won": 1.7147,
                "total_long_balls": 0.671,
                "accurate_long_balls": 0.2821,
                "total_own_half_passes": 2.6157,
                "accurate_own_half_passes": 2.2771,
                "total_opp_half_passes": 6.3884,
                "accurate_opp_half_passes": 4.7835,
                "crosses_total": 0.855,
                "crosses_accurate": 0.4634,
                "touches": 14.9555,
                "possession_lost": 3.4066,
                "dispossessed": 0.2903,
                "duels_lost": 1.3913,
                "aerial_won": 0.1279,
                "aerial_lost": 0.0858,
                "interceptions": 0.2206,
                "tackles_won": 0.2334,
                "tackles": 0.4733,
                "clearances": 0.2896,
                "total_contest": 0.6929,
                "won_contest": 0.6225,
                "challenges_lost": 0.4121,
                "fouls": 0.5187,
                "fouls_drawn": 0.4898,
                "blocks": 0.0,
                "big_chances_created": 0.1182,
                "big_chances_missed": 0.0,
                "xgot": 0.0168,
                "ball_carries": 4.1223,
                "total_progression": 10.693,
                "progressive_carries": 0.1939,
                "shots_off_target": 0.7039,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 23.09,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "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.9476,
                "creation_factor": 1.1778,
                "fifa_overall": 75.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": 3649,
                "fifa_rank": 2400.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.643,
                "expected_assists": 0.049,
                "assist_rate": 0.0613,
                "assists": 0,
                "expected_goals": 0.0625,
                "goal_rate": 0.0512,
                "goals": 0,
                "shots_on_target": 0.1952,
                "total_shots": 0.8991,
                "rating": 6.6984,
                "minutes": 23.09,
                "total_pass": 9.0041,
                "accurate_pass": 7.0606,
                "duels_won": 1.7147,
                "total_long_balls": 0.671,
                "accurate_long_balls": 0.2821,
                "total_own_half_passes": 2.6157,
                "accurate_own_half_passes": 2.2771,
                "total_opp_half_passes": 6.3884,
                "accurate_opp_half_passes": 4.7835,
                "crosses_total": 0.855,
                "crosses_accurate": 0.4634,
                "touches": 14.9555,
                "possession_lost": 3.4066,
                "dispossessed": 0.2903,
                "duels_lost": 1.3913,
                "aerial_won": 0.1279,
                "aerial_lost": 0.0858,
                "interceptions": 0.2206,
                "tackles_won": 0.2334,
                "tackles": 0.4733,
                "clearances": 0.2896,
                "total_contest": 0.6929,
                "won_contest": 0.6225,
                "challenges_lost": 0.4121,
                "fouls": 0.5187,
                "fouls_drawn": 0.4898,
                "blocks": 0.0,
                "big_chances_created": 0.1182,
                "big_chances_missed": 0.0,
                "xgot": 0.0168,
                "ball_carries": 4.1223,
                "total_progression": 10.693,
                "progressive_carries": 0.1939,
                "shots_off_target": 0.7039,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 23.09,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0419,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9476,
                "creation_factor": 1.1778,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0419,
                "scorer_weight": 0.041,
                "squad_weight_total": 1.4853,
                "weight_share": 0.0276,
                "finishing_factor": 0.9476,
                "appearance_weight": 0.692,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "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.643,
                "expected_assists": 0.049,
                "assist_rate": 0.0613,
                "assists": 0,
                "expected_goals": 0.0625,
                "goal_rate": 0.0512,
                "goals": 0,
                "shots_on_target": 0.1952,
                "total_shots": 0.8991,
                "rating": 6.6984,
                "minutes": 23.09,
                "total_pass": 9.0041,
                "accurate_pass": 7.0606,
                "duels_won": 1.7147,
                "total_long_balls": 0.671,
                "accurate_long_balls": 0.2821,
                "total_own_half_passes": 2.6157,
                "accurate_own_half_passes": 2.2771,
                "total_opp_half_passes": 6.3884,
                "accurate_opp_half_passes": 4.7835,
                "crosses_total": 0.855,
                "crosses_accurate": 0.4634,
                "touches": 14.9555,
                "possession_lost": 3.4066,
                "dispossessed": 0.2903,
                "duels_lost": 1.3913,
                "aerial_won": 0.1279,
                "aerial_lost": 0.0858,
                "interceptions": 0.2206,
                "tackles_won": 0.2334,
                "tackles": 0.4733,
                "clearances": 0.2896,
                "total_contest": 0.6929,
                "won_contest": 0.6225,
                "challenges_lost": 0.4121,
                "fouls": 0.5187,
                "fouls_drawn": 0.4898,
                "blocks": 0.0,
                "big_chances_created": 0.1182,
                "big_chances_missed": 0.0,
                "xgot": 0.0168,
                "ball_carries": 4.1223,
                "total_progression": 10.693,
                "progressive_carries": 0.1939,
                "shots_off_target": 0.7039,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 23.09,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0419,
                "projected_assists": 0,
                "assist_probability": 0.0331,
                "finishing_factor": 0.9476,
                "creation_factor": 1.1778,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0331,
                "provider_weight": 0.0399,
                "squad_weight_total": 0.9695,
                "weight_share": 0.0412,
                "creation_factor": 1.1778,
                "appearance_weight": 0.692,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Alemão": {
          "player_id": 981604,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 182,
          "market_value": 4400000,
          "stats": {
            "expected_goals": 0.1286,
            "goal_rate": 0.1131,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0181,
            "key_pass": 0,
            "rating": 6.5799,
            "minutes": 25,
            "total_pass": 6,
            "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": 0,
            "crosses_accurate": 0,
            "touches": 13,
            "possession_lost": 3.3515,
            "dispossessed": 0.8936,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1685,
            "offsides": 0,
            "ball_carries": 3,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.562,
            "bench_expected_minutes": 25.36,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.547,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0678,
            "projected_assists": 0,
            "assist_probability": 0.0101,
            "finishing_factor": 0.9778,
            "creation_factor": 0.8,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 19,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0308,
                "expected_assists": 0.0035,
                "total_shots": 1,
                "total_pass": 5,
                "accurate_pass": 4,
                "aerial_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": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 14,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0075,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 5,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3001,
                "expected_assists": 0.0021,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 33,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0059,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 15,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0653,
                "expected_assists": 0.0109,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 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": 16421052,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 25,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1901,
                "expected_assists": 0.0022,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 5,
                "accurate_pass": 5,
                "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": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 29,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0768,
                "expected_assists": 0.0013,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 74,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2114,
                "expected_assists": 0.0382,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 6,
                "accurate_pass": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083639,
              "match_date": "2026-05-14",
              "home_team": "Valencia",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Valencia",
              "stats": {
                "minutes": 30,
                "rating": 6.2,
                "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": "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": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 32,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2118,
                "expected_assists": 0.0076,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 8,
                "accurate_pass": 6,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3669,
            "combined_rank_score": 1628.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2920.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.5799,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alemão",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jesús Gallardo",
                  "ranking": 3664
                },
                {
                  "player_name": "Otar Kiteishvili",
                  "ranking": 3665
                },
                {
                  "player_name": "James Ward-Prowse",
                  "ranking": 3666
                },
                {
                  "player_name": "Raphael Veiga",
                  "ranking": 3667
                },
                {
                  "player_name": "Marcel Ruiz",
                  "ranking": 3668
                }
              ],
              "lower": [
                {
                  "player_name": "José Paradela",
                  "ranking": 3670
                },
                {
                  "player_name": "Lucas Høgsberg",
                  "ranking": 3671
                },
                {
                  "player_name": "Haji Wright",
                  "ranking": 3672
                },
                {
                  "player_name": "Willer Ditta",
                  "ranking": 3673
                },
                {
                  "player_name": "Eren Elmalı",
                  "ranking": 3674
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 32,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 32,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.36092577102457,
            "bench_appearance_prob": 0.5618602623192986,
            "market_value_adjustment": 0.998,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (32 historical appearances) to 25.4 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0956,
                "goals": 0.0926,
                "goal_rate": 0.0926,
                "shots_on_target": 0.292,
                "total_shots": 0.7922,
                "expected_assists": 0.0134,
                "key_pass": 0.225,
                "rating": 6.5799,
                "minutes": 20.72,
                "total_pass": 4.6892,
                "accurate_pass": 3.6153,
                "duels_won": 2.0072,
                "total_long_balls": 0.058,
                "accurate_long_balls": 0.0421,
                "total_opp_half_passes": 3.0684,
                "accurate_opp_half_passes": 2.3606,
                "crosses_total": 0.1551,
                "crosses_accurate": 0.1551,
                "touches": 10.4577,
                "possession_lost": 2.7437,
                "dispossessed": 0.8954,
                "duels_lost": 3.0594,
                "aerial_lost": 1.0785,
                "total_contest": 0.3997,
                "won_contest": 0.1673,
                "ball_recovery": 0.5098,
                "challenges_lost": 0.1856,
                "fouls": 0.6833,
                "fouls_drawn": 0.8451,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0159,
                "tackles_won": 0.2007,
                "tackles": 0.2007,
                "clearances": 0.3231,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1213,
                "xgot": 0.1254,
                "offsides": 0.0688,
                "ball_carries": 2.2369,
                "total_progression": 0.0,
                "progressive_carries": 0.1527,
                "shots_off_target": 0.5002
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:04:40.622139+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.1508,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.1282,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.109,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0926,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "FC Barcelona",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0787,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Sevilla",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0669,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0569,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Villarreal",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Valencia",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0411,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-11",
                    "opponent": "Girona FC",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0349,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1126,
                  "totalOppositionHalfPasses": 3.8128,
                  "accurateOppositionHalfPasses": 2.7305,
                  "accuratePass": 4.2269,
                  "totalShots": 1.0777
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09560901671648026,
                    "model_output": 0.0956,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.089
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0105
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.004
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0037
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0036
                        }
                      ],
                      "others": -0.0078,
                      "total": 0.0956,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.592653
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.100411
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.039282
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.036103
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.035841
                        }
                      ],
                      "others_margin": -0.078766
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.09257713705301285,
                    "model_output": 0.0926,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0833
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.02
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0073
                        },
                        {
                          "name": "shot_waste_rate",
                          "contribution": -0.0044
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0029
                        }
                      ],
                      "others": 0.001,
                      "total": 0.0926,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.525566
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.181442
                        },
                        {
                          "name": "goals",
                          "margin": -0.075845
                        },
                        {
                          "name": "shot_waste_rate",
                          "margin": -0.048325
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.032408
                        }
                      ],
                      "others_margin": 0.009921
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2919778823852539,
                    "model_output": 0.292,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2231
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0115
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0114
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0107
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0096
                        }
                      ],
                      "others": -0.0017,
                      "total": 0.292,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.536942
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.035993
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.035653
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.034539
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.032328
                        }
                      ],
                      "others_margin": -0.005812
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7922026515007019,
                    "model_output": 0.7922,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5135
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0972
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0493
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0193
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0184
                        }
                      ],
                      "others": 0.0126,
                      "total": 0.7922,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.513497
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.09719
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.049273
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.019339
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.018447
                        }
                      ],
                      "others_margin": 0.012696
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.013417079113423824,
                    "model_output": 0.0134,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0221
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0109
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0043
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0021
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0097,
                      "total": 0.0134,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.421129
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.298687
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.149086
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.07914
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.074064
                        }
                      ],
                      "others_margin": -0.544666
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.22495384514331818,
                    "model_output": 0.225,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3025
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0303
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0272
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0195
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0161
                        }
                      ],
                      "others": -0.0534,
                      "total": 0.225,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.595697
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.085171
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.083085
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.063966
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.056346
                        }
                      ],
                      "others_margin": -0.213035
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.579867362976074,
                    "model_output": 6.5799,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0573
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0244
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0173
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0151
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0113
                        }
                      ],
                      "others": -0.0569,
                      "total": 6.5799,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.057297
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.02437
                        },
                        {
                          "name": "rating",
                          "margin": -0.017337
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.015137
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.011313
                        }
                      ],
                      "others_margin": -0.05684
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 32,
                  "role_matches": 21,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9980, quality 0.455)",
              "stats": {
                "expected_goals": 0.0954,
                "goals": 0.0924,
                "goal_rate": 0.0924,
                "shots_on_target": 0.2914,
                "total_shots": 0.7906,
                "expected_assists": 0.0134,
                "key_pass": 0.2245,
                "rating": 6.5799,
                "minutes": 20.72,
                "total_pass": 4.6798,
                "accurate_pass": 3.6081,
                "duels_won": 2.0032,
                "total_long_balls": 0.0579,
                "accurate_long_balls": 0.042,
                "total_opp_half_passes": 3.0623,
                "accurate_opp_half_passes": 2.3559,
                "crosses_total": 0.1548,
                "crosses_accurate": 0.1548,
                "touches": 10.4368,
                "possession_lost": 2.7382,
                "dispossessed": 0.8936,
                "duels_lost": 3.0533,
                "aerial_lost": 1.0763,
                "total_contest": 0.3989,
                "won_contest": 0.167,
                "ball_recovery": 0.5088,
                "challenges_lost": 0.1852,
                "fouls": 0.6819,
                "fouls_drawn": 0.8434,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0159,
                "tackles_won": 0.2003,
                "tackles": 0.2003,
                "clearances": 0.3225,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1211,
                "xgot": 0.1251,
                "offsides": 0.0687,
                "ball_carries": 2.2324,
                "total_progression": 0.0,
                "progressive_carries": 0.1524,
                "shots_off_target": 0.4992
              },
              "params": {
                "market_value_eur": 4400000,
                "quality_factor": 0.4548,
                "boost_factor": 0.998,
                "reference_quality": 0.505,
                "history_matches": 32,
                "history_shrink": 0.1351,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.7 to 25.4 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.1168,
                "goals": 0.1131,
                "goal_rate": 0.1131,
                "shots_on_target": 0.3567,
                "total_shots": 0.9677,
                "expected_assists": 0.0164,
                "key_pass": 0.2748,
                "rating": 6.5799,
                "minutes": 25.36,
                "total_pass": 5.728,
                "accurate_pass": 4.4163,
                "duels_won": 2.4519,
                "total_long_balls": 0.0709,
                "accurate_long_balls": 0.0514,
                "total_opp_half_passes": 3.7482,
                "accurate_opp_half_passes": 2.8836,
                "crosses_total": 0.1895,
                "crosses_accurate": 0.1895,
                "touches": 12.7745,
                "possession_lost": 3.3515,
                "dispossessed": 0.8936,
                "duels_lost": 3.7372,
                "aerial_lost": 1.0763,
                "total_contest": 0.4882,
                "won_contest": 0.2044,
                "ball_recovery": 0.6228,
                "challenges_lost": 0.1852,
                "fouls": 0.8346,
                "fouls_drawn": 1.0323,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0195,
                "tackles_won": 0.2452,
                "tackles": 0.2452,
                "clearances": 0.3947,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1482,
                "xgot": 0.1531,
                "offsides": 0.0687,
                "ball_carries": 2.7324,
                "total_progression": 0.0,
                "progressive_carries": 0.1865,
                "shots_off_target": 0.611,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36
              },
              "params": {
                "expected_minutes": 25.36,
                "projection_minutes": 20.72,
                "minutes_scale": 1.224,
                "appearance_probability": 0.562
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1168,
                "goals": 0.1131,
                "goal_rate": 0.1131,
                "shots_on_target": 0.3567,
                "total_shots": 0.9677,
                "expected_assists": 0.0164,
                "key_pass": 0.2748,
                "rating": 6.5799,
                "minutes": 25.36,
                "total_pass": 5.728,
                "accurate_pass": 4.4163,
                "duels_won": 2.4519,
                "total_long_balls": 0.0709,
                "accurate_long_balls": 0.0514,
                "total_opp_half_passes": 3.7482,
                "accurate_opp_half_passes": 2.8836,
                "crosses_total": 0.1895,
                "crosses_accurate": 0.1895,
                "touches": 12.7745,
                "possession_lost": 3.3515,
                "dispossessed": 0.8936,
                "duels_lost": 3.7372,
                "aerial_lost": 1.0763,
                "total_contest": 0.4882,
                "won_contest": 0.2044,
                "ball_recovery": 0.6228,
                "challenges_lost": 0.1852,
                "fouls": 0.8346,
                "fouls_drawn": 1.0323,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0195,
                "tackles_won": 0.2452,
                "tackles": 0.2452,
                "clearances": 0.3947,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1482,
                "xgot": 0.1531,
                "offsides": 0.0687,
                "ball_carries": 2.7324,
                "total_progression": 0.0,
                "progressive_carries": 0.1865,
                "shots_off_target": 0.611,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36
              },
              "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.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.1286,
                "goal_rate": 0.1131,
                "goals": 0,
                "shots_on_target": 0.3567,
                "total_shots": 0.9677,
                "expected_assists": 0.0181,
                "key_pass": 0.2748,
                "rating": 6.5799,
                "minutes": 25.36,
                "total_pass": 5.728,
                "accurate_pass": 4.4163,
                "duels_won": 2.4519,
                "total_long_balls": 0.0709,
                "accurate_long_balls": 0.0514,
                "total_opp_half_passes": 3.7482,
                "accurate_opp_half_passes": 2.8836,
                "crosses_total": 0.1895,
                "crosses_accurate": 0.1895,
                "touches": 12.7745,
                "possession_lost": 3.3515,
                "dispossessed": 0.8936,
                "duels_lost": 3.7372,
                "aerial_lost": 1.0763,
                "total_contest": 0.4882,
                "won_contest": 0.2044,
                "ball_recovery": 0.6228,
                "challenges_lost": 0.1852,
                "fouls": 0.8346,
                "fouls_drawn": 1.0323,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0195,
                "tackles_won": 0.2452,
                "tackles": 0.2452,
                "clearances": 0.3947,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1482,
                "xgot": 0.1685,
                "offsides": 0.0687,
                "ball_carries": 2.7324,
                "total_progression": 0.0,
                "progressive_carries": 0.1865,
                "shots_off_target": 0.611,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "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.9778,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 0.562
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1168,
                  "after": 0.1286
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1286,
                "goal_rate": 0.1131,
                "goals": 0,
                "shots_on_target": 0.3567,
                "total_shots": 0.9677,
                "expected_assists": 0.0181,
                "key_pass": 0.2748,
                "rating": 6.5799,
                "minutes": 25.36,
                "total_pass": 5.728,
                "accurate_pass": 4.4163,
                "duels_won": 2.4519,
                "total_long_balls": 0.0709,
                "accurate_long_balls": 0.0514,
                "total_opp_half_passes": 3.7482,
                "accurate_opp_half_passes": 2.8836,
                "crosses_total": 0.1895,
                "crosses_accurate": 0.1895,
                "touches": 12.7745,
                "possession_lost": 3.3515,
                "dispossessed": 0.8936,
                "duels_lost": 3.7372,
                "aerial_lost": 1.0763,
                "total_contest": 0.4882,
                "won_contest": 0.2044,
                "ball_recovery": 0.6228,
                "challenges_lost": 0.1852,
                "fouls": 0.8346,
                "fouls_drawn": 1.0323,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0195,
                "tackles_won": 0.2452,
                "tackles": 0.2452,
                "clearances": 0.3947,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1482,
                "xgot": 0.1685,
                "offsides": 0.0687,
                "ball_carries": 2.7324,
                "total_progression": 0.0,
                "progressive_carries": 0.1865,
                "shots_off_target": 0.611,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "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.9778,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3669,
                "fifa_rank": 2920.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1286,
                "goal_rate": 0.1131,
                "goals": 0,
                "shots_on_target": 0.3567,
                "total_shots": 0.9677,
                "expected_assists": 0.0181,
                "key_pass": 0.2748,
                "rating": 6.5799,
                "minutes": 25.36,
                "total_pass": 5.728,
                "accurate_pass": 4.4163,
                "duels_won": 2.4519,
                "total_long_balls": 0.0709,
                "accurate_long_balls": 0.0514,
                "total_opp_half_passes": 3.7482,
                "accurate_opp_half_passes": 2.8836,
                "crosses_total": 0.1895,
                "crosses_accurate": 0.1895,
                "touches": 12.7745,
                "possession_lost": 3.3515,
                "dispossessed": 0.8936,
                "duels_lost": 3.7372,
                "aerial_lost": 1.0763,
                "total_contest": 0.4882,
                "won_contest": 0.2044,
                "ball_recovery": 0.6228,
                "challenges_lost": 0.1852,
                "fouls": 0.8346,
                "fouls_drawn": 1.0323,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0195,
                "tackles_won": 0.2452,
                "tackles": 0.2452,
                "clearances": 0.3947,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1482,
                "xgot": 0.1685,
                "offsides": 0.0687,
                "ball_carries": 2.7324,
                "total_progression": 0.0,
                "progressive_carries": 0.1865,
                "shots_off_target": 0.611,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0678,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9778,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0678,
                "scorer_weight": 0.0707,
                "squad_weight_total": 1.4853,
                "weight_share": 0.0476,
                "finishing_factor": 0.9778,
                "appearance_weight": 0.562,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "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.1286,
                "goal_rate": 0.1131,
                "goals": 0,
                "shots_on_target": 0.3567,
                "total_shots": 0.9677,
                "expected_assists": 0.0181,
                "key_pass": 0.2748,
                "rating": 6.5799,
                "minutes": 25.36,
                "total_pass": 5.728,
                "accurate_pass": 4.4163,
                "duels_won": 2.4519,
                "total_long_balls": 0.0709,
                "accurate_long_balls": 0.0514,
                "total_opp_half_passes": 3.7482,
                "accurate_opp_half_passes": 2.8836,
                "crosses_total": 0.1895,
                "crosses_accurate": 0.1895,
                "touches": 12.7745,
                "possession_lost": 3.3515,
                "dispossessed": 0.8936,
                "duels_lost": 3.7372,
                "aerial_lost": 1.0763,
                "total_contest": 0.4882,
                "won_contest": 0.2044,
                "ball_recovery": 0.6228,
                "challenges_lost": 0.1852,
                "fouls": 0.8346,
                "fouls_drawn": 1.0323,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0195,
                "tackles_won": 0.2452,
                "tackles": 0.2452,
                "clearances": 0.3947,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1482,
                "xgot": 0.1685,
                "offsides": 0.0687,
                "ball_carries": 2.7324,
                "total_progression": 0.0,
                "progressive_carries": 0.1865,
                "shots_off_target": 0.611,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.36,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0678,
                "projected_assists": 0,
                "assist_probability": 0.0101,
                "finishing_factor": 0.9778,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0101,
                "provider_weight": 0.0081,
                "squad_weight_total": 0.9695,
                "weight_share": 0.0084,
                "creation_factor": 0.8,
                "appearance_weight": 0.562,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Giorgi Tsitaishvili": {
          "player_id": 875677,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 14,
          "height": 171,
          "market_value": 2700000,
          "stats": {
            "expected_goals": 0.0919,
            "goal_rate": 0.099,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0349,
            "key_pass": 0,
            "rating": 6.6224,
            "minutes": 25,
            "total_pass": 10,
            "accurate_pass": 8,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 21,
            "possession_lost": 8.5745,
            "dispossessed": 0.7646,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1212,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 48,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.547,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0491,
            "projected_assists": 0,
            "assist_probability": 0.0192,
            "finishing_factor": 1.1161,
            "creation_factor": 0.8,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 19,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0014,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 2,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 76,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1586,
                "expected_assists": 0.1149,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4701,
                "expected_assists": 0.0611,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 11,
                "key_pass": 1,
                "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": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 16,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1617,
            "combined_rank_score": 887.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 657.0,
            "sofascore_rating": 6.7333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1117.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6224,
            "source_file": "data/player_rankings.csv",
            "player_name": "Giorgi Tsitaishvili",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Khumoyunmirzo Iminov",
                  "ranking": 1612
                },
                {
                  "player_name": "Shakhboz Juraev",
                  "ranking": 1613
                },
                {
                  "player_name": "Nika Kacharava",
                  "ranking": 1614
                },
                {
                  "player_name": "Andrej Stojchevski",
                  "ranking": 1615
                },
                {
                  "player_name": "Jorge Herrando",
                  "ranking": 1616
                }
              ],
              "lower": [
                {
                  "player_name": "Rustambek Fomin",
                  "ranking": 1618
                },
                {
                  "player_name": "Khamidullo Abdunabiev",
                  "ranking": 1619
                },
                {
                  "player_name": "Jovani Welch",
                  "ranking": 1620
                },
                {
                  "player_name": "Orlando Galo",
                  "ranking": 1621
                },
                {
                  "player_name": "Marcelo Díaz",
                  "ranking": 1622
                }
              ]
            }
          },
          "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.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.9887,
            "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.0628,
                "goals": 0.0744,
                "goal_rate": 0.0744,
                "shots_on_target": 0.2722,
                "total_shots": 0.7239,
                "expected_assists": 0.0238,
                "key_pass": 0.2839,
                "rating": 6.6224,
                "minutes": 18.81,
                "total_pass": 7.1499,
                "accurate_pass": 5.715,
                "duels_won": 0.2267,
                "total_long_balls": 0.3138,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.5824,
                "accurate_opp_half_passes": 4.7281,
                "crosses_total": 1.4404,
                "crosses_accurate": 0.4935,
                "touches": 16.0601,
                "possession_lost": 6.4498,
                "dispossessed": 0.7733,
                "duels_lost": 3.3818,
                "aerial_lost": 0.8073,
                "total_contest": 0.7673,
                "won_contest": 0.0,
                "ball_recovery": 0.8073,
                "challenges_lost": 0.7673,
                "fouls": 0.2667,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.2267,
                "tackles": 0.2267,
                "clearances": 0.5806,
                "blocks": 0.0,
                "big_chances_created": 0.2667,
                "big_chances_missed": 0.3304,
                "xgot": 0.0828,
                "offsides": 0.0,
                "ball_carries": 5.9888,
                "total_progression": 36.359,
                "progressive_carries": 2.4673,
                "shots_off_target": 0.4517
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:04:40.622139+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Osasuna",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Espanyol",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Real Racing Club",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1489,
                  "totalOppositionHalfPasses": 5.5824,
                  "accurateOppositionHalfPasses": 4.7281,
                  "accuratePass": 5.715,
                  "totalShots": 1.4804
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0628182590007782,
                    "model_output": 0.0628,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0937
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0119
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0083
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0064
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0045
                        }
                      ],
                      "others": -0.0114,
                      "total": 0.0628,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.636636
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.119672
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.093475
                        },
                        {
                          "name": "goals",
                          "margin": -0.078061
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.058543
                        }
                      ],
                      "others_margin": -0.166444
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07440906763076782,
                    "model_output": 0.0744,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0964
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0156
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.011
                        },
                        {
                          "name": "goals",
                          "contribution": -0.005
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0036
                        }
                      ],
                      "others": 0.0023,
                      "total": 0.0744,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.64103
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.157314
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.12797
                        },
                        {
                          "name": "goals",
                          "margin": -0.064339
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.049066
                        }
                      ],
                      "others_margin": 0.032405
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.27221834659576416,
                    "model_output": 0.2722,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2319
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0167
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0145
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0105
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0092
                        }
                      ],
                      "others": -0.003,
                      "total": 0.2722,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.565326
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.056152
                        },
                        {
                          "name": "goals",
                          "margin": -0.051646
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.03755
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.032983
                        }
                      ],
                      "others_margin": -0.010799
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7239055633544922,
                    "model_output": 0.7239,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5663
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0835
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0695
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0279
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0261
                        }
                      ],
                      "others": -0.0205,
                      "total": 0.7239,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.566281
                        },
                        {
                          "name": "goals",
                          "margin": -0.083541
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.069477
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.02793
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.026129
                        }
                      ],
                      "others_margin": -0.020396
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.023840729147195816,
                    "model_output": 0.0238,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0214
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0059
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0038
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0022
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0019
                        }
                      ],
                      "others": -0.0091,
                      "total": 0.0238,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.404224
                        },
                        {
                          "name": "rating",
                          "margin": -0.146822
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.106905
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.069787
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.058077
                        }
                      ],
                      "others_margin": -0.322243
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.28388839960098267,
                    "model_output": 0.2839,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2882
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0283
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0243
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0151
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0127
                        }
                      ],
                      "others": -0.0215,
                      "total": 0.2839,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.557932
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.076125
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.070298
                        },
                        {
                          "name": "rating",
                          "margin": -0.04638
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.040832
                        }
                      ],
                      "others_margin": -0.073048
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.622373104095459,
                    "model_output": 6.6224,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0616
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0207
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0127
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0123
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0114
                        }
                      ],
                      "others": -0.0439,
                      "total": 6.6224,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.061637
                        },
                        {
                          "name": "rating",
                          "margin": -0.020727
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.012747
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.012323
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.011377
                        }
                      ],
                      "others_margin": -0.043728
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 4,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9887, quality 0.437)",
              "stats": {
                "expected_goals": 0.0621,
                "goals": 0.0736,
                "goal_rate": 0.0736,
                "shots_on_target": 0.2691,
                "total_shots": 0.7157,
                "expected_assists": 0.0236,
                "key_pass": 0.2807,
                "rating": 6.6224,
                "minutes": 18.81,
                "total_pass": 7.0691,
                "accurate_pass": 5.6504,
                "duels_won": 0.2241,
                "total_long_balls": 0.3103,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.5193,
                "accurate_opp_half_passes": 4.6747,
                "crosses_total": 1.4241,
                "crosses_accurate": 0.4879,
                "touches": 15.8786,
                "possession_lost": 6.3769,
                "dispossessed": 0.7646,
                "duels_lost": 3.3436,
                "aerial_lost": 0.7982,
                "total_contest": 0.7586,
                "won_contest": 0.0,
                "ball_recovery": 0.7982,
                "challenges_lost": 0.7586,
                "fouls": 0.2637,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.2241,
                "tackles": 0.2241,
                "clearances": 0.574,
                "blocks": 0.0,
                "big_chances_created": 0.2637,
                "big_chances_missed": 0.3267,
                "xgot": 0.0819,
                "offsides": 0.0,
                "ball_carries": 5.9211,
                "total_progression": 35.9481,
                "progressive_carries": 2.4394,
                "shots_off_target": 0.4466
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9887,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.8 to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0835,
                "goals": 0.099,
                "goal_rate": 0.099,
                "shots_on_target": 0.3618,
                "total_shots": 0.9623,
                "expected_assists": 0.0317,
                "key_pass": 0.3774,
                "rating": 6.6224,
                "minutes": 25.29,
                "total_pass": 9.5052,
                "accurate_pass": 7.5976,
                "duels_won": 0.3013,
                "total_long_balls": 0.4172,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.4213,
                "accurate_opp_half_passes": 6.2857,
                "crosses_total": 1.9149,
                "crosses_accurate": 0.656,
                "touches": 21.3506,
                "possession_lost": 8.5745,
                "dispossessed": 0.7646,
                "duels_lost": 4.4959,
                "aerial_lost": 0.7982,
                "total_contest": 1.02,
                "won_contest": 0.0,
                "ball_recovery": 1.0733,
                "challenges_lost": 0.7586,
                "fouls": 0.3546,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.3013,
                "tackles": 0.3013,
                "clearances": 0.7718,
                "blocks": 0.0,
                "big_chances_created": 0.3546,
                "big_chances_missed": 0.4393,
                "xgot": 0.1101,
                "offsides": 0.0,
                "ball_carries": 7.9616,
                "total_progression": 48.3364,
                "progressive_carries": 3.2801,
                "shots_off_target": 0.6005,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "projection_minutes": 18.81,
                "minutes_scale": 1.3446,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0835,
                "goals": 0.099,
                "goal_rate": 0.099,
                "shots_on_target": 0.3618,
                "total_shots": 0.9623,
                "expected_assists": 0.0317,
                "key_pass": 0.3774,
                "rating": 6.6224,
                "minutes": 25.29,
                "total_pass": 9.5052,
                "accurate_pass": 7.5976,
                "duels_won": 0.3013,
                "total_long_balls": 0.4172,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.4213,
                "accurate_opp_half_passes": 6.2857,
                "crosses_total": 1.9149,
                "crosses_accurate": 0.656,
                "touches": 21.3506,
                "possession_lost": 8.5745,
                "dispossessed": 0.7646,
                "duels_lost": 4.4959,
                "aerial_lost": 0.7982,
                "total_contest": 1.02,
                "won_contest": 0.0,
                "ball_recovery": 1.0733,
                "challenges_lost": 0.7586,
                "fouls": 0.3546,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.3013,
                "tackles": 0.3013,
                "clearances": 0.7718,
                "blocks": 0.0,
                "big_chances_created": 0.3546,
                "big_chances_missed": 0.4393,
                "xgot": 0.1101,
                "offsides": 0.0,
                "ball_carries": 7.9616,
                "total_progression": 48.3364,
                "progressive_carries": 3.2801,
                "shots_off_target": 0.6005,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "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.34 (squad xG sum 1.2164, xG scale 1.1008, xA scale 1.1008, team xA 0.95 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.0919,
                "goal_rate": 0.099,
                "goals": 0,
                "shots_on_target": 0.3618,
                "total_shots": 0.9623,
                "expected_assists": 0.0349,
                "key_pass": 0.3774,
                "rating": 6.6224,
                "minutes": 25.29,
                "total_pass": 9.5052,
                "accurate_pass": 7.5976,
                "duels_won": 0.3013,
                "total_long_balls": 0.4172,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.4213,
                "accurate_opp_half_passes": 6.2857,
                "crosses_total": 1.9149,
                "crosses_accurate": 0.656,
                "touches": 21.3506,
                "possession_lost": 8.5745,
                "dispossessed": 0.7646,
                "duels_lost": 4.4959,
                "aerial_lost": 0.7982,
                "total_contest": 1.02,
                "won_contest": 0.0,
                "ball_recovery": 1.0733,
                "challenges_lost": 0.7586,
                "fouls": 0.3546,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3013,
                "tackles": 0.3013,
                "clearances": 0.7718,
                "blocks": 0.0,
                "big_chances_created": 0.3546,
                "big_chances_missed": 0.4393,
                "xgot": 0.1212,
                "offsides": 0.0,
                "ball_carries": 7.9616,
                "total_progression": 48.3364,
                "progressive_carries": 3.2801,
                "shots_off_target": 0.6005,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1161,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.339,
                "squad_xg_sum": 1.2164,
                "squad_xa_sum": 0.8619,
                "team_expected_assists": 0.9488,
                "team_xa_to_xg_ratio": 0.7086,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1008,
                "xa_scale": 1.1008,
                "opponent_lambda": 1.0,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0835,
                  "after": 0.0919
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0919,
                "goal_rate": 0.099,
                "goals": 0,
                "shots_on_target": 0.3618,
                "total_shots": 0.9623,
                "expected_assists": 0.0349,
                "key_pass": 0.3774,
                "rating": 6.6224,
                "minutes": 25.29,
                "total_pass": 9.5052,
                "accurate_pass": 7.5976,
                "duels_won": 0.3013,
                "total_long_balls": 0.4172,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.4213,
                "accurate_opp_half_passes": 6.2857,
                "crosses_total": 1.9149,
                "crosses_accurate": 0.656,
                "touches": 21.3506,
                "possession_lost": 8.5745,
                "dispossessed": 0.7646,
                "duels_lost": 4.4959,
                "aerial_lost": 0.7982,
                "total_contest": 1.02,
                "won_contest": 0.0,
                "ball_recovery": 1.0733,
                "challenges_lost": 0.7586,
                "fouls": 0.3546,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3013,
                "tackles": 0.3013,
                "clearances": 0.7718,
                "blocks": 0.0,
                "big_chances_created": 0.3546,
                "big_chances_missed": 0.4393,
                "xgot": 0.1212,
                "offsides": 0.0,
                "ball_carries": 7.9616,
                "total_progression": 48.3364,
                "progressive_carries": 3.2801,
                "shots_off_target": 0.6005,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1161,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1617,
                "fifa_rank": 1117.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0919,
                "goal_rate": 0.099,
                "goals": 0,
                "shots_on_target": 0.3618,
                "total_shots": 0.9623,
                "expected_assists": 0.0349,
                "key_pass": 0.3774,
                "rating": 6.6224,
                "minutes": 25.29,
                "total_pass": 9.5052,
                "accurate_pass": 7.5976,
                "duels_won": 0.3013,
                "total_long_balls": 0.4172,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.4213,
                "accurate_opp_half_passes": 6.2857,
                "crosses_total": 1.9149,
                "crosses_accurate": 0.656,
                "touches": 21.3506,
                "possession_lost": 8.5745,
                "dispossessed": 0.7646,
                "duels_lost": 4.4959,
                "aerial_lost": 0.7982,
                "total_contest": 1.02,
                "won_contest": 0.0,
                "ball_recovery": 1.0733,
                "challenges_lost": 0.7586,
                "fouls": 0.3546,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3013,
                "tackles": 0.3013,
                "clearances": 0.7718,
                "blocks": 0.0,
                "big_chances_created": 0.3546,
                "big_chances_missed": 0.4393,
                "xgot": 0.1212,
                "offsides": 0.0,
                "ball_carries": 7.9616,
                "total_progression": 48.3364,
                "progressive_carries": 3.2801,
                "shots_off_target": 0.6005,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0491,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1161,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0491,
                "scorer_weight": 0.0573,
                "squad_weight_total": 1.4853,
                "weight_share": 0.0386,
                "finishing_factor": 1.1161,
                "appearance_weight": 0.559,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Camello",
                    "weight": 0.435,
                    "already": 0,
                    "effective_weight": 0.435,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.2355
                  }
                ]
              }
            },
            {
              "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.0919,
                "goal_rate": 0.099,
                "goals": 0,
                "shots_on_target": 0.3618,
                "total_shots": 0.9623,
                "expected_assists": 0.0349,
                "key_pass": 0.3774,
                "rating": 6.6224,
                "minutes": 25.29,
                "total_pass": 9.5052,
                "accurate_pass": 7.5976,
                "duels_won": 0.3013,
                "total_long_balls": 0.4172,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.4213,
                "accurate_opp_half_passes": 6.2857,
                "crosses_total": 1.9149,
                "crosses_accurate": 0.656,
                "touches": 21.3506,
                "possession_lost": 8.5745,
                "dispossessed": 0.7646,
                "duels_lost": 4.4959,
                "aerial_lost": 0.7982,
                "total_contest": 1.02,
                "won_contest": 0.0,
                "ball_recovery": 1.0733,
                "challenges_lost": 0.7586,
                "fouls": 0.3546,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3013,
                "tackles": 0.3013,
                "clearances": 0.7718,
                "blocks": 0.0,
                "big_chances_created": 0.3546,
                "big_chances_missed": 0.4393,
                "xgot": 0.1212,
                "offsides": 0.0,
                "ball_carries": 7.9616,
                "total_progression": 48.3364,
                "progressive_carries": 3.2801,
                "shots_off_target": 0.6005,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.547,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0491,
                "projected_assists": 0,
                "assist_probability": 0.0192,
                "finishing_factor": 1.1161,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0192,
                "provider_weight": 0.0156,
                "squad_weight_total": 0.9695,
                "weight_share": 0.0161,
                "creation_factor": 0.8,
                "appearance_weight": 0.559,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Adrià Pedrosa",
                    "weight": 0.1859,
                    "already": 0,
                    "effective_weight": 0.1859,
                    "runner_up": "Álvaro García",
                    "runner_up_effective_weight": 0.1496,
                    "blocked_own_goal": [
                      "Sergio Camello"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.34,
        "expected_assists": 0.95,
        "total_shots": 16,
        "shots_on_target": 3,
        "total_passes": 397,
        "interceptions": 8,
        "tackles": 15,
        "avg_rating": 6.85,
        "possession_estimated_pct": 48.9,
        "pressing_actions_per_90": 6.3
      }
    },
    "Athletic Club": {
      "formation": "4-2-3-1",
      "players": {
        "Yuri Berchiche": {
          "player_id": 84531,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 17,
          "height": 181,
          "market_value": 910000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 7.0511,
            "minutes": 82,
            "total_pass": 55,
            "accurate_pass": 50,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 20,
            "total_opp_half_passes": 34,
            "accurate_opp_half_passes": 30,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 76,
            "possession_lost": 9.8495,
            "dispossessed": 0.2677,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 5,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.1756,
            "assists": 0,
            "expected_goals": 0.0441,
            "expected_assists": 0.13,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.012,
            "ball_carries": 17,
            "total_progression": 79,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 1,
            "opponent_faced": "Jorge de Frutos",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0431,
            "projected_assists": 0,
            "assist_probability": 0.1219,
            "finishing_factor": 0.8,
            "creation_factor": 1.025,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 86,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0727,
                "expected_assists": 0.0393,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 78,
                "accurate_pass": 70,
                "key_pass": 2,
                "tackles": 6,
                "tackles_won": 5,
                "clearances": 1,
                "duels_won": 6,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1335,
                "expected_assists": 0.0482,
                "total_shots": 4,
                "shots_off_target": 2,
                "total_pass": 82,
                "accurate_pass": 77,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0131,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 32,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0536,
                "expected_assists": 0.199,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 64,
                "accurate_pass": 61,
                "key_pass": 3,
                "tackles": 1,
                "interceptions": 3,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 11,
                "rating": 3.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.05,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 14,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 9.1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0271,
                "expected_assists": 1.3013,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 77,
                "accurate_pass": 71,
                "key_pass": 3,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0351,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 43,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 4,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0044,
                "expected_assists": 0.0307,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 49,
                "accurate_pass": 43,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 63,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0523,
                "expected_assists": 0.0092,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 31,
                "accurate_pass": 29,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 81,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0182,
                "expected_assists": 0.0044,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 23,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "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": 1551,
            "combined_rank_score": 634.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 326.0,
            "sofascore_rating": 7.0156,
            "sofascore_appearances": 32.0,
            "fifa_rank": 943.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0511,
            "source_file": "data/player_rankings.csv",
            "player_name": "Yuri Berchiche",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Her Dong-min",
                  "ranking": 1546
                },
                {
                  "player_name": "Filip Jørgensen",
                  "ranking": 1547
                },
                {
                  "player_name": "Olivier Boscagli",
                  "ranking": 1548
                },
                {
                  "player_name": "Bernd Leno",
                  "ranking": 1549
                },
                {
                  "player_name": "Fredrik Aursnes",
                  "ranking": 1550
                }
              ],
              "lower": [
                {
                  "player_name": "Óscar Trejo",
                  "ranking": 1552
                },
                {
                  "player_name": "Han Jong-Mu",
                  "ranking": 1553
                },
                {
                  "player_name": "Eli Junior Kroupi",
                  "ranking": 1554
                },
                {
                  "player_name": "Firdavs Abdurakhmonov",
                  "ranking": 1555
                },
                {
                  "player_name": "Seul-chan Lee",
                  "ranking": 1556
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.761,
          "history_matches": 37,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 37,
            "data_confidence": 0.761,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9976,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 100.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.7,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.0733
            },
            "rationale": "XGBoost regressor (D_service) evaluated 37 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.07, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.9057,
                "tackles": 1.691,
                "tackles_won": 0.9443,
                "clearances": 2.4179,
                "aerial_won": 0.8845,
                "total_shots": 1.2392,
                "rating": 7.0511,
                "minutes": 81.57,
                "total_pass": 55.3639,
                "accurate_pass": 50.1558,
                "duels_won": 3.701,
                "total_long_balls": 3.2316,
                "accurate_long_balls": 1.6693,
                "total_own_half_passes": 21.4718,
                "accurate_own_half_passes": 20.4026,
                "total_opp_half_passes": 33.892,
                "accurate_opp_half_passes": 29.753,
                "crosses_total": 2.6092,
                "crosses_accurate": 0.564,
                "touches": 75.824,
                "possession_lost": 9.8732,
                "dispossessed": 0.2683,
                "duels_lost": 2.3054,
                "aerial_lost": 0.7603,
                "total_contest": 0.5732,
                "won_contest": 0.2638,
                "ball_recovery": 5.3622,
                "challenges_lost": 0.364,
                "fouls": 0.9107,
                "fouls_drawn": 0.4867,
                "blocks": 0.054,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.177,
                "assist_rate": 0.177,
                "expected_goals": 0.042,
                "expected_assists": 0.1705,
                "shots_on_target": 0.2267,
                "big_chances_created": 0.3495,
                "xgot": 0.0114,
                "ball_carries": 17.5406,
                "total_progression": 78.7438,
                "progressive_carries": 0.8066,
                "key_pass": 1.1757,
                "shots_off_target": 1.0125
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:03:23.701438+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 11.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 3.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 9.1
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Osasuna",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.8498,
                  "aerialWon": 1.1435,
                  "totalClearance_p90": 1.9303,
                  "totalTackle": 1.8346,
                  "totalPass": 55.3437
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9057238698005676,
                    "model_output": 0.9057,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1162
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0432
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0277
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0257
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0179
                        }
                      ],
                      "others": 0.0109,
                      "total": 0.9057,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.127092
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.045413
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.030237
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.028844
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.020221
                        }
                      ],
                      "others_margin": 0.01216
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.69098961353302,
                    "model_output": 1.691,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1652
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0704
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0524
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0431
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0396
                        }
                      ],
                      "others": 0.0918,
                      "total": 1.691,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.11202
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.044191
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.031657
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.025936
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.02448
                        }
                      ],
                      "others_margin": 0.055772
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.9442962408065796,
                    "model_output": 0.9443,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0975
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0426
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0409
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0338
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0307
                        }
                      ],
                      "others": -0.0028,
                      "total": 0.9443,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.108019
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.045751
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.043971
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.0362
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.032999
                        }
                      ],
                      "others_margin": -0.002939
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.4178965091705322,
                    "model_output": 2.4179,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.5914
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.3222
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3187
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2418
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.057
                        }
                      ],
                      "others": -0.1398,
                      "total": 2.4179,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.187964
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.119521
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.118285
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.088433
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.022029
                        }
                      ],
                      "others_margin": -0.056222
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.8844941854476929,
                    "model_output": 0.8845,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1831
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1713
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1506
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0968
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0683
                        }
                      ],
                      "others": -0.1936,
                      "total": 0.8845,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.124404
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.115918
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.114371
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.081026
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.06138
                        }
                      ],
                      "others_margin": -0.198002
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.239200472831726,
                    "model_output": 1.2392,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.4458
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.1947
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0784
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0268
                        },
                        {
                          "name": "touches",
                          "contribution": -0.019
                        }
                      ],
                      "others": 0.095,
                      "total": 1.2392,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.445795
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.194651
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.078383
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.026828
                        },
                        {
                          "name": "touches",
                          "margin": -0.019048
                        }
                      ],
                      "others_margin": 0.095116
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.0511250495910645,
                    "model_output": 7.0511,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0622
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0518
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0438
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0334
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0273
                        }
                      ],
                      "others": 0.0475,
                      "total": 7.0511,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.062176
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.051819
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.043836
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.033445
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.027313
                        }
                      ],
                      "others_margin": 0.047404
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 37,
                  "role_matches": 36,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9976, quality 0.437)",
              "stats": {
                "interceptions": 0.9036,
                "tackles": 1.6869,
                "tackles_won": 0.942,
                "clearances": 2.4121,
                "aerial_won": 0.8824,
                "total_shots": 1.2363,
                "rating": 7.0511,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6029,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9085,
                "fouls_drawn": 0.4855,
                "blocks": 0.0539,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1766,
                "assist_rate": 0.1766,
                "expected_goals": 0.0419,
                "expected_assists": 0.1701,
                "shots_on_target": 0.2262,
                "big_chances_created": 0.3487,
                "xgot": 0.0114,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0101
              },
              "params": {
                "market_value_eur": 910000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9976,
                "reference_quality": 0.505,
                "history_matches": 37,
                "history_shrink": 0.119,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0057)",
              "stats": {
                "interceptions": 0.9078,
                "tackles": 1.6869,
                "tackles_won": 0.9367,
                "clearances": 2.4121,
                "aerial_won": 0.8824,
                "total_shots": 1.2432,
                "rating": 7.0511,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6022,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9127,
                "fouls_drawn": 0.4827,
                "blocks": 0.0539,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1756,
                "assist_rate": 0.1756,
                "expected_goals": 0.0419,
                "expected_assists": 0.1701,
                "shots_on_target": 0.2249,
                "big_chances_created": 0.3487,
                "xgot": 0.0114,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0101
              },
              "params": {
                "blend_weight": 0.0057,
                "history_matches": 37,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9063,
                "prior_reliability": 0.0733,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.2363,
                  "after": 1.2432
                },
                {
                  "stat": "wonTackle",
                  "before": 0.942,
                  "after": 0.9367
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9078,
                "tackles": 1.6869,
                "tackles_won": 0.9367,
                "clearances": 2.4121,
                "aerial_won": 0.8824,
                "total_shots": 1.2432,
                "rating": 7.0511,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6022,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9127,
                "fouls_drawn": 0.4827,
                "blocks": 0.0539,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1756,
                "assist_rate": 0.1756,
                "expected_goals": 0.0419,
                "expected_assists": 0.1701,
                "shots_on_target": 0.2249,
                "big_chances_created": 0.3487,
                "xgot": 0.0114,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0101
              },
              "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.9078,
                "tackles": 1.6869,
                "tackles_won": 0.9367,
                "clearances": 2.4121,
                "aerial_won": 0.8824,
                "total_shots": 1.2432,
                "rating": 7.0511,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6022,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9127,
                "fouls_drawn": 0.4827,
                "blocks": 0.0539,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1756,
                "assist_rate": 0.1756,
                "expected_goals": 0.0419,
                "expected_assists": 0.1701,
                "shots_on_target": 0.2249,
                "big_chances_created": 0.3487,
                "xgot": 0.0114,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0101,
                "opponent_faced": "Jorge de Frutos",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jorge de Frutos",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "interceptions": 0.9078,
                "tackles": 1.6869,
                "tackles_won": 0.9367,
                "clearances": 2.4121,
                "aerial_won": 0.8824,
                "total_shots": 1.2432,
                "rating": 7.0511,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6022,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9127,
                "fouls_drawn": 0.4827,
                "blocks": 0.0539,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1756,
                "assists": 0,
                "expected_goals": 0.0441,
                "expected_assists": 0.13,
                "shots_on_target": 0.2249,
                "big_chances_created": 0.3487,
                "xgot": 0.012,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0101,
                "opponent_faced": "Jorge de Frutos",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.025
              },
              "params": {
                "team_lambda": 1.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1701,
                  "after": 0.13
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "interceptions": 0.9078,
                "tackles": 1.6869,
                "tackles_won": 0.9367,
                "clearances": 2.4121,
                "aerial_won": 0.8824,
                "total_shots": 1.2432,
                "rating": 7.0511,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6022,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9127,
                "fouls_drawn": 0.4827,
                "blocks": 0.0539,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1756,
                "assists": 0,
                "expected_goals": 0.0441,
                "expected_assists": 0.13,
                "shots_on_target": 0.2249,
                "big_chances_created": 0.3487,
                "xgot": 0.012,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0101,
                "opponent_faced": "Jorge de Frutos",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.025,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1551,
                "fifa_rank": 943.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 0.9078,
                "tackles": 1.6869,
                "tackles_won": 0.9367,
                "clearances": 2.4121,
                "aerial_won": 0.8824,
                "total_shots": 1.2432,
                "rating": 7.0511,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6022,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9127,
                "fouls_drawn": 0.4827,
                "blocks": 0.0539,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1756,
                "assists": 0,
                "expected_goals": 0.0441,
                "expected_assists": 0.13,
                "shots_on_target": 0.2249,
                "big_chances_created": 0.3487,
                "xgot": 0.012,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0101,
                "opponent_faced": "Jorge de Frutos",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0431,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.025,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0431,
                "scorer_weight": 0.0353,
                "squad_weight_total": 1.0169,
                "weight_share": 0.0347,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 0.9078,
                "tackles": 1.6869,
                "tackles_won": 0.9367,
                "clearances": 2.4121,
                "aerial_won": 0.8824,
                "total_shots": 1.2432,
                "rating": 7.0511,
                "minutes": 81.57,
                "total_pass": 55.231,
                "accurate_pass": 50.0354,
                "duels_won": 3.6921,
                "total_long_balls": 3.2238,
                "accurate_long_balls": 1.6653,
                "total_own_half_passes": 21.4203,
                "accurate_own_half_passes": 20.3536,
                "total_opp_half_passes": 33.8107,
                "accurate_opp_half_passes": 29.6816,
                "crosses_total": 2.6022,
                "crosses_accurate": 0.5626,
                "touches": 75.642,
                "possession_lost": 9.8495,
                "dispossessed": 0.2677,
                "duels_lost": 2.2999,
                "aerial_lost": 0.7585,
                "total_contest": 0.5718,
                "won_contest": 0.2632,
                "ball_recovery": 5.3493,
                "challenges_lost": 0.3631,
                "fouls": 0.9127,
                "fouls_drawn": 0.4827,
                "blocks": 0.0539,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1756,
                "assists": 0,
                "expected_goals": 0.0441,
                "expected_assists": 0.13,
                "shots_on_target": 0.2249,
                "big_chances_created": 0.3487,
                "xgot": 0.012,
                "ball_carries": 17.4985,
                "total_progression": 78.5548,
                "progressive_carries": 0.8047,
                "key_pass": 1.1729,
                "shots_off_target": 1.0101,
                "opponent_faced": "Jorge de Frutos",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0431,
                "projected_assists": 0,
                "assist_probability": 0.1219,
                "finishing_factor": 0.8,
                "creation_factor": 1.025,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.1219,
                "provider_weight": 0.1332,
                "squad_weight_total": 0.779,
                "weight_share": 0.171,
                "creation_factor": 1.025,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13
              }
            }
          ]
        },
        "Aymeric Laporte": {
          "player_id": 149734,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 14,
          "height": 191,
          "market_value": 8400000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 7.0067,
            "minutes": 87,
            "total_pass": 67,
            "accurate_pass": 62,
            "duels_won": 4,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 41,
            "accurate_own_half_passes": 40,
            "total_opp_half_passes": 26,
            "accurate_opp_half_passes": 22,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 77,
            "possession_lost": 5.1599,
            "dispossessed": 0.0036,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0041,
            "assists": 0,
            "expected_goals": 0.0692,
            "expected_assists": 0.0101,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0334,
            "ball_carries": 23,
            "total_progression": 109,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Sergio Camello",
            "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.0669,
            "projected_assists": 0,
            "assist_probability": 0.01,
            "finishing_factor": 0.8,
            "creation_factor": 0.856,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0188,
                "total_shots": 0,
                "total_pass": 96,
                "accurate_pass": 93,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 7,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.031,
                "total_shots": 0,
                "total_pass": 118,
                "accurate_pass": 111,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0042,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 53,
                "clearances": 8,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.432,
                "expected_assists": 0.0097,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 71,
                "accurate_pass": 69,
                "tackles": 1,
                "clearances": 7,
                "aerial_won": 3,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 31,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 32,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.098,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 36,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0131,
                "total_shots": 0,
                "total_pass": 67,
                "accurate_pass": 60,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0148,
                "expected_assists": 0.0031,
                "total_shots": 1,
                "total_pass": 26,
                "accurate_pass": 18,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 10,
                "aerial_won": 4,
                "duels_won": 7,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 23,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0083,
                "total_shots": 0,
                "total_pass": 63,
                "accurate_pass": 55,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "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": 160,
            "combined_rank_score": 140.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 59.0,
            "sofascore_rating": 7.6667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 221.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0067,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aymeric Laporte",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Guilherme Arana",
                  "ranking": 155
                },
                {
                  "player_name": "Will Smallbone",
                  "ranking": 156
                },
                {
                  "player_name": "Do-dam Kim",
                  "ranking": 157
                },
                {
                  "player_name": "Nuno Mendes",
                  "ranking": 158
                },
                {
                  "player_name": "Temurkhuja Abdukholikov",
                  "ranking": 159
                }
              ],
              "lower": [
                {
                  "player_name": "Daniel Castro",
                  "ranking": 161
                },
                {
                  "player_name": "Ryan Gravenberch",
                  "ranking": 162
                },
                {
                  "player_name": "Jhon Arias",
                  "ranking": 163
                },
                {
                  "player_name": "Oleksiy Gutsulyak",
                  "ranking": 164
                },
                {
                  "player_name": "Igor Vujačić",
                  "ranking": 165
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.774,
          "history_matches": 31,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 31,
            "data_confidence": 0.774,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9999,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 213.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.85,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.16
            },
            "rationale": "XGBoost regressor (D_service) evaluated 31 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.16, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.01,
                "tackles": 1.2819,
                "tackles_won": 0.8133,
                "clearances": 4.5849,
                "aerial_won": 1.8775,
                "total_shots": 0.5257,
                "rating": 7.0067,
                "minutes": 87.08,
                "total_pass": 66.9278,
                "accurate_pass": 62.2657,
                "duels_won": 3.7134,
                "total_long_balls": 4.7984,
                "accurate_long_balls": 2.8118,
                "total_own_half_passes": 41.1583,
                "accurate_own_half_passes": 39.8655,
                "total_opp_half_passes": 25.7695,
                "accurate_opp_half_passes": 22.4002,
                "crosses_total": 0.0784,
                "crosses_accurate": 0.0112,
                "touches": 77.1524,
                "possession_lost": 5.1604,
                "dispossessed": 0.0036,
                "duels_lost": 2.2083,
                "aerial_lost": 0.9983,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0242,
                "challenges_lost": 0.3688,
                "fouls": 0.7445,
                "fouls_drawn": 0.5472,
                "blocks": 0.2697,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0042,
                "assist_rate": 0.0042,
                "expected_goals": 0.0657,
                "expected_assists": 0.0132,
                "shots_on_target": 0.0863,
                "big_chances_created": 0.005,
                "xgot": 0.0317,
                "ball_carries": 23.3806,
                "total_progression": 108.7468,
                "progressive_carries": 0.9311,
                "key_pass": 0.0868,
                "shots_off_target": 0.4394
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:03:23.701438+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.151,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1283,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1091,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0927,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0788,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.067,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.8386,
                  "aerialWon": 1.7664,
                  "totalClearance_p90": 4.125,
                  "totalTackle": 1.3847,
                  "totalPass": 66.2658
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0099767446517944,
                    "model_output": 1.01,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1118
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0316
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0124
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0094
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0087
                        }
                      ],
                      "others": -0.0212,
                      "total": 1.01,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.122626
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.032043
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.01236
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.009217
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.008502
                        }
                      ],
                      "others_margin": -0.020821
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2819498777389526,
                    "model_output": 1.2819,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1665
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0736
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0573
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.049
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0333
                        }
                      ],
                      "others": -0.1633,
                      "total": 1.2819,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.112836
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.048315
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.039297
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.033673
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.022772
                        }
                      ],
                      "others_margin": -0.119832
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8133225440979004,
                    "model_output": 0.8133,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1015
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0341
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.031
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0284
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0202
                        }
                      ],
                      "others": -0.0971,
                      "total": 0.8133,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.11228
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.035044
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.031769
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.030104
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.021947
                        }
                      ],
                      "others_margin": -0.112719
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.584857940673828,
                    "model_output": 4.5849,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4256
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.3203
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.2829
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1242
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1175
                        }
                      ],
                      "others": -0.137,
                      "total": 4.5849,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.116284
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.079379
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.065233
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.027341
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.025206
                        }
                      ],
                      "others_margin": -0.029467
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.877548336982727,
                    "model_output": 1.8775,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.2229
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1635
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0793
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0596
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0566
                        }
                      ],
                      "others": -0.0864,
                      "total": 1.8775,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.149548
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.096985
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.043865
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.031747
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.029251
                        }
                      ],
                      "others_margin": -0.044984
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5256876349449158,
                    "model_output": 0.5257,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0609
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0323
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0199
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0194
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.0276,
                      "total": 0.5257,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.060911
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.032331
                        },
                        {
                          "name": "rating",
                          "margin": 0.01991
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.019415
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.01151
                        }
                      ],
                      "others_margin": -0.02767
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.006713390350342,
                    "model_output": 7.0067,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": 0.0672
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0378
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0334
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0303
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0137
                        }
                      ],
                      "others": 0.0392,
                      "total": 7.0067,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": 0.067245
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.037833
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.033352
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.030265
                        },
                        {
                          "name": "rating",
                          "margin": 0.013719
                        }
                      ],
                      "others_margin": 0.039167
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 31,
                  "role_matches": 29,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9999, quality 0.503)",
              "stats": {
                "interceptions": 1.0099,
                "tackles": 1.2818,
                "tackles_won": 0.8132,
                "clearances": 4.5844,
                "aerial_won": 1.8774,
                "total_shots": 0.5257,
                "rating": 7.0067,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0784,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7444,
                "fouls_drawn": 0.5471,
                "blocks": 0.2697,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0042,
                "assist_rate": 0.0042,
                "expected_goals": 0.0657,
                "expected_assists": 0.0132,
                "shots_on_target": 0.0863,
                "big_chances_created": 0.005,
                "xgot": 0.0317,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4394
              },
              "params": {
                "market_value_eur": 8400000,
                "quality_factor": 0.5035,
                "boost_factor": 0.9999,
                "reference_quality": 0.505,
                "history_matches": 31,
                "history_shrink": 0.1389,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0144)",
              "stats": {
                "interceptions": 1.007,
                "tackles": 1.2818,
                "tackles_won": 0.8189,
                "clearances": 4.5844,
                "aerial_won": 1.8774,
                "total_shots": 0.53,
                "rating": 7.0067,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0831,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7395,
                "fouls_drawn": 0.545,
                "blocks": 0.2697,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0041,
                "assist_rate": 0.0041,
                "expected_goals": 0.0657,
                "expected_assists": 0.0132,
                "shots_on_target": 0.0851,
                "big_chances_created": 0.005,
                "xgot": 0.0317,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4394
              },
              "params": {
                "blend_weight": 0.0144,
                "history_matches": 31,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9676,
                "prior_reliability": 0.16,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.8132,
                  "after": 0.8189
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.007,
                "tackles": 1.2818,
                "tackles_won": 0.8189,
                "clearances": 4.5844,
                "aerial_won": 1.8774,
                "total_shots": 0.53,
                "rating": 7.0067,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0831,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7395,
                "fouls_drawn": 0.545,
                "blocks": 0.2697,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0041,
                "assist_rate": 0.0041,
                "expected_goals": 0.0657,
                "expected_assists": 0.0132,
                "shots_on_target": 0.0851,
                "big_chances_created": 0.005,
                "xgot": 0.0317,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4394
              },
              "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.007,
                "tackles": 1.2818,
                "tackles_won": 0.8189,
                "clearances": 4.5844,
                "aerial_won": 1.8774,
                "total_shots": 0.53,
                "rating": 7.0067,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0831,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7395,
                "fouls_drawn": 0.545,
                "blocks": 0.2697,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0041,
                "assist_rate": 0.0041,
                "expected_goals": 0.0657,
                "expected_assists": 0.0132,
                "shots_on_target": 0.0851,
                "big_chances_created": 0.005,
                "xgot": 0.0317,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4394,
                "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.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Sergio Camello",
                "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": "Sergio Camello",
                  "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.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "interceptions": 1.007,
                "tackles": 1.2818,
                "tackles_won": 0.8189,
                "clearances": 4.5844,
                "aerial_won": 1.8774,
                "total_shots": 0.53,
                "rating": 7.0067,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0831,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7395,
                "fouls_drawn": 0.545,
                "blocks": 0.2697,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0041,
                "assists": 0,
                "expected_goals": 0.0692,
                "expected_assists": 0.0101,
                "shots_on_target": 0.0851,
                "big_chances_created": 0.005,
                "xgot": 0.0334,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4394,
                "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.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Sergio Camello",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.856
              },
              "params": {
                "team_lambda": 1.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 5 by projected rating, fifa_overall 84.0; not used by the projection)",
              "stats": {
                "interceptions": 1.007,
                "tackles": 1.2818,
                "tackles_won": 0.8189,
                "clearances": 4.5844,
                "aerial_won": 1.8774,
                "total_shots": 0.53,
                "rating": 7.0067,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0831,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7395,
                "fouls_drawn": 0.545,
                "blocks": 0.2697,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0041,
                "assists": 0,
                "expected_goals": 0.0692,
                "expected_assists": 0.0101,
                "shots_on_target": 0.0851,
                "big_chances_created": 0.005,
                "xgot": 0.0334,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4394,
                "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.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Sergio Camello",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.856,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 160,
                "fifa_rank": 221.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1.007,
                "tackles": 1.2818,
                "tackles_won": 0.8189,
                "clearances": 4.5844,
                "aerial_won": 1.8774,
                "total_shots": 0.53,
                "rating": 7.0067,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0831,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7395,
                "fouls_drawn": 0.545,
                "blocks": 0.2697,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0041,
                "assists": 0,
                "expected_goals": 0.0692,
                "expected_assists": 0.0101,
                "shots_on_target": 0.0851,
                "big_chances_created": 0.005,
                "xgot": 0.0334,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4394,
                "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.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Sergio Camello",
                "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.0669,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.856,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0669,
                "scorer_weight": 0.0554,
                "squad_weight_total": 1.0169,
                "weight_share": 0.0544,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.007,
                "tackles": 1.2818,
                "tackles_won": 0.8189,
                "clearances": 4.5844,
                "aerial_won": 1.8774,
                "total_shots": 0.53,
                "rating": 7.0067,
                "minutes": 87.08,
                "total_pass": 66.9211,
                "accurate_pass": 62.2595,
                "duels_won": 3.713,
                "total_long_balls": 4.7979,
                "accurate_long_balls": 2.8115,
                "total_own_half_passes": 41.1542,
                "accurate_own_half_passes": 39.8615,
                "total_opp_half_passes": 25.7669,
                "accurate_opp_half_passes": 22.398,
                "crosses_total": 0.0831,
                "crosses_accurate": 0.0112,
                "touches": 77.1447,
                "possession_lost": 5.1599,
                "dispossessed": 0.0036,
                "duels_lost": 2.2081,
                "aerial_lost": 0.9982,
                "total_contest": 0.2158,
                "won_contest": 0.1228,
                "ball_recovery": 4.0238,
                "challenges_lost": 0.3688,
                "fouls": 0.7395,
                "fouls_drawn": 0.545,
                "blocks": 0.2697,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0041,
                "assists": 0,
                "expected_goals": 0.0692,
                "expected_assists": 0.0101,
                "shots_on_target": 0.0851,
                "big_chances_created": 0.005,
                "xgot": 0.0334,
                "ball_carries": 23.3783,
                "total_progression": 108.7359,
                "progressive_carries": 0.931,
                "key_pass": 0.0868,
                "shots_off_target": 0.4394,
                "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.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Sergio Camello",
                "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.0669,
                "projected_assists": 0,
                "assist_probability": 0.01,
                "finishing_factor": 0.8,
                "creation_factor": 0.856,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.01,
                "provider_weight": 0.0086,
                "squad_weight_total": 0.779,
                "weight_share": 0.0111,
                "creation_factor": 0.856,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13
              }
            }
          ]
        },
        "Yeray Álvarez": {
          "player_id": 807648,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 5,
          "height": 183,
          "market_value": 930000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.7245,
            "minutes": 79,
            "total_pass": 53,
            "accurate_pass": 46,
            "duels_won": 3,
            "total_long_balls": 7,
            "accurate_long_balls": 3,
            "total_own_half_passes": 30,
            "accurate_own_half_passes": 29,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 17,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 64,
            "possession_lost": 8.4816,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 2,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.1229,
            "assists": 0,
            "expected_goals": 0.0296,
            "expected_assists": 0.0126,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 19,
            "total_progression": 74,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 1,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Sergio Camello",
            "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.0292,
            "projected_assists": 0,
            "assist_probability": 0.0125,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0135,
                "total_shots": 0,
                "total_pass": 110,
                "accurate_pass": 101,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 45,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 28,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0248,
                "expected_assists": 0.0024,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 26,
                "accurate_pass": 21,
                "tackles": 1,
                "interceptions": 3,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1336,
                "expected_assists": 0.0134,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 54,
                "accurate_pass": 46,
                "key_pass": 2,
                "clearances": 8,
                "aerial_won": 4,
                "duels_won": 8,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 45,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 5,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1161,
                "expected_assists": 0.1064,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 65,
                "accurate_pass": 58,
                "key_pass": 2,
                "interceptions": 5,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0307,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 7,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0129,
                "total_shots": 0,
                "total_pass": 59,
                "accurate_pass": 45,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0139,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 43,
                "key_pass": 1,
                "interceptions": 2,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0067,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 30,
                "interceptions": 2,
                "clearances": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "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": 2342,
            "combined_rank_score": 1123.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 852.0,
            "sofascore_rating": 6.5714,
            "sofascore_appearances": 7.0,
            "fifa_rank": 1394.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7245,
            "source_file": "data/player_rankings.csv",
            "player_name": "Yeray Álvarez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Walterson Silva",
                  "ranking": 2337
                },
                {
                  "player_name": "Nayef Aguerd",
                  "ranking": 2338
                },
                {
                  "player_name": "Loïc Badé",
                  "ranking": 2339
                },
                {
                  "player_name": "Jakhongir Urozov",
                  "ranking": 2340
                },
                {
                  "player_name": "Matěj Kovář",
                  "ranking": 2341
                }
              ],
              "lower": [
                {
                  "player_name": "Ilkhomzhon Vakhobov",
                  "ranking": 2343
                },
                {
                  "player_name": "Lee Min-Ki",
                  "ranking": 2344
                },
                {
                  "player_name": "Vladislav Baboglo",
                  "ranking": 2345
                },
                {
                  "player_name": "Dan Bent",
                  "ranking": 2346
                },
                {
                  "player_name": "Je-hee Yun",
                  "ranking": 2347
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.77,
          "history_matches": 11,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 11,
            "data_confidence": 0.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9937,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 180.0,
              "goals_per90": 0.0,
              "assists_per90": 0.5,
              "shots_per90": 1.5,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (D_service) evaluated 11 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.13, gls/90: 0.0, ast/90: 0.5)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.0878,
                "tackles": 1.0729,
                "tackles_won": 0.7178,
                "clearances": 4.4051,
                "aerial_won": 1.3715,
                "total_shots": 0.5553,
                "rating": 6.7245,
                "minutes": 79.45,
                "total_pass": 53.1041,
                "accurate_pass": 46.1038,
                "duels_won": 3.201,
                "total_long_balls": 6.9176,
                "accurate_long_balls": 2.7529,
                "total_own_half_passes": 29.7999,
                "accurate_own_half_passes": 28.984,
                "total_opp_half_passes": 23.3042,
                "accurate_opp_half_passes": 17.1198,
                "crosses_total": 0.6218,
                "crosses_accurate": 0.0,
                "touches": 64.4643,
                "possession_lost": 8.5354,
                "dispossessed": 0.0,
                "duels_lost": 2.3629,
                "aerial_lost": 1.5235,
                "total_contest": 0.6439,
                "won_contest": 0.4588,
                "ball_recovery": 3.8895,
                "challenges_lost": 0.4567,
                "fouls": 0.4352,
                "fouls_drawn": 0.8141,
                "blocks": 0.3996,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1147,
                "assist_rate": 0.1147,
                "expected_goals": 0.0283,
                "expected_assists": 0.0166,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1147,
                "xgot": 0.0,
                "ball_carries": 18.6252,
                "total_progression": 74.2414,
                "progressive_carries": 0.7908,
                "key_pass": 0.455,
                "shots_off_target": 0.5553
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:03:23.701438+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1801,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1531,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1302,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1106,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.094,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0799,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0679,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0578,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0491,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0417,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 11.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.5725,
                  "aerialWon": 1.3858,
                  "totalClearance_p90": 4.5191,
                  "totalTackle": 0.7061,
                  "totalPass": 50.4074
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0878361463546753,
                    "model_output": 1.0878,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1119
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0776
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0391
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0279
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0115
                        }
                      ],
                      "others": 0.0183,
                      "total": 1.0878,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.122703
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.077014
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.036679
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.02601
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.010793
                        }
                      ],
                      "others_margin": 0.017011
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.0728920698165894,
                    "model_output": 1.0729,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1497
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1403
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0832
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0455
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0406
                        }
                      ],
                      "others": -0.1423,
                      "total": 1.0729,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.113614
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.106828
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.061955
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.035592
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.03287
                        }
                      ],
                      "others_margin": -0.124527
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7177506685256958,
                    "model_output": 0.7178,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0912
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0756
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0642
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0292
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0172
                        }
                      ],
                      "others": -0.0416,
                      "total": 0.7178,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.101393
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.08332
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.076607
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.036945
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.022391
                        }
                      ],
                      "others_margin": -0.05635
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.405061721801758,
                    "model_output": 4.4051,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4889
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.307
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0913
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0919
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0754
                        }
                      ],
                      "others": -0.1008,
                      "total": 4.4051,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.132483
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.075016
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.021263
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.020961
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.016883
                        }
                      ],
                      "others_margin": -0.022635
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.3714706897735596,
                    "model_output": 1.3715,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1611
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0957
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.033
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.03
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0291
                        }
                      ],
                      "others": -0.042,
                      "total": 1.3715,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.110232
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.064037
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.023051
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.021404
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.020831
                        }
                      ],
                      "others_margin": -0.03024
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5552735924720764,
                    "model_output": 0.5553,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0628
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0246
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0194
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0175
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0117
                        }
                      ],
                      "others": -0.0026,
                      "total": 0.5553,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.062817
                        },
                        {
                          "name": "rating",
                          "margin": -0.024626
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.019375
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.017463
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.011664
                        }
                      ],
                      "others_margin": -0.002552
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.724548816680908,
                    "model_output": 6.7245,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0261
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0206
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0148
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0116
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.0069,
                      "total": 6.7245,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.026114
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": -0.020567
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.01477
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.01159
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.010178
                        }
                      ],
                      "others_margin": -0.006904
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 11,
                  "role_matches": 10,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9937, quality 0.437)",
              "stats": {
                "interceptions": 1.081,
                "tackles": 1.0661,
                "tackles_won": 0.7132,
                "clearances": 4.3773,
                "aerial_won": 1.3628,
                "total_shots": 0.5518,
                "rating": 6.7245,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.6179,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4325,
                "fouls_drawn": 0.809,
                "blocks": 0.3971,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.114,
                "assist_rate": 0.114,
                "expected_goals": 0.0281,
                "expected_assists": 0.0165,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5518
              },
              "params": {
                "market_value_eur": 930000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9937,
                "reference_quality": 0.505,
                "history_matches": 11,
                "history_shrink": 0.3125,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0271)",
              "stats": {
                "interceptions": 1.0876,
                "tackles": 1.0661,
                "tackles_won": 0.6939,
                "clearances": 4.3773,
                "aerial_won": 1.3628,
                "total_shots": 0.5727,
                "rating": 6.7245,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.649,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4327,
                "fouls_drawn": 0.799,
                "blocks": 0.3971,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1229,
                "assist_rate": 0.1229,
                "expected_goals": 0.0281,
                "expected_assists": 0.0165,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5518
              },
              "params": {
                "blend_weight": 0.0271,
                "history_matches": 11,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8828,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.6179,
                  "after": 0.649
                },
                {
                  "stat": "totalShots",
                  "before": 0.5518,
                  "after": 0.5727
                },
                {
                  "stat": "wonTackle",
                  "before": 0.7132,
                  "after": 0.6939
                },
                {
                  "stat": "wasFouled",
                  "before": 0.809,
                  "after": 0.799
                },
                {
                  "stat": "goalAssist",
                  "before": 0.114,
                  "after": 0.1229
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.081,
                  "after": 1.0876
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0876,
                "tackles": 1.0661,
                "tackles_won": 0.6939,
                "clearances": 4.3773,
                "aerial_won": 1.3628,
                "total_shots": 0.5727,
                "rating": 6.7245,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.649,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4327,
                "fouls_drawn": 0.799,
                "blocks": 0.3971,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1229,
                "assist_rate": 0.1229,
                "expected_goals": 0.0281,
                "expected_assists": 0.0165,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5518
              },
              "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.0876,
                "tackles": 1.0661,
                "tackles_won": 0.6939,
                "clearances": 4.3773,
                "aerial_won": 1.3628,
                "total_shots": 0.5727,
                "rating": 6.7245,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.649,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4327,
                "fouls_drawn": 0.799,
                "blocks": 0.3971,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1229,
                "assist_rate": 0.1229,
                "expected_goals": 0.0281,
                "expected_assists": 0.0165,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5518,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Sergio Camello",
                "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": "Sergio Camello",
                  "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.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "interceptions": 1.0876,
                "tackles": 1.0661,
                "tackles_won": 0.6939,
                "clearances": 4.3773,
                "aerial_won": 1.3628,
                "total_shots": 0.5727,
                "rating": 6.7245,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.649,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4327,
                "fouls_drawn": 0.799,
                "blocks": 0.3971,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1229,
                "assists": 0,
                "expected_goals": 0.0296,
                "expected_assists": 0.0126,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5518,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Sergio Camello",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "interceptions": 1.0876,
                "tackles": 1.0661,
                "tackles_won": 0.6939,
                "clearances": 4.3773,
                "aerial_won": 1.3628,
                "total_shots": 0.5727,
                "rating": 6.7245,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.649,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4327,
                "fouls_drawn": 0.799,
                "blocks": 0.3971,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1229,
                "assists": 0,
                "expected_goals": 0.0296,
                "expected_assists": 0.0126,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5518,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Sergio Camello",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2342,
                "fifa_rank": 1394.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1.0876,
                "tackles": 1.0661,
                "tackles_won": 0.6939,
                "clearances": 4.3773,
                "aerial_won": 1.3628,
                "total_shots": 0.5727,
                "rating": 6.7245,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.649,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4327,
                "fouls_drawn": 0.799,
                "blocks": 0.3971,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1229,
                "assists": 0,
                "expected_goals": 0.0296,
                "expected_assists": 0.0126,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5518,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Sergio Camello",
                "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.0292,
                "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.0292,
                "scorer_weight": 0.0237,
                "squad_weight_total": 1.0169,
                "weight_share": 0.0233,
                "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.0876,
                "tackles": 1.0661,
                "tackles_won": 0.6939,
                "clearances": 4.3773,
                "aerial_won": 1.3628,
                "total_shots": 0.5727,
                "rating": 6.7245,
                "minutes": 79.45,
                "total_pass": 52.7695,
                "accurate_pass": 45.8133,
                "duels_won": 3.1808,
                "total_long_balls": 6.874,
                "accurate_long_balls": 2.7356,
                "total_own_half_passes": 29.6122,
                "accurate_own_half_passes": 28.8014,
                "total_opp_half_passes": 23.1574,
                "accurate_opp_half_passes": 17.0119,
                "crosses_total": 0.649,
                "crosses_accurate": 0.0,
                "touches": 64.0582,
                "possession_lost": 8.4816,
                "dispossessed": 0.0,
                "duels_lost": 2.348,
                "aerial_lost": 1.5139,
                "total_contest": 0.6398,
                "won_contest": 0.4559,
                "ball_recovery": 3.865,
                "challenges_lost": 0.4538,
                "fouls": 0.4327,
                "fouls_drawn": 0.799,
                "blocks": 0.3971,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1229,
                "assists": 0,
                "expected_goals": 0.0296,
                "expected_assists": 0.0126,
                "shots_on_target": 0.0,
                "big_chances_created": 0.114,
                "xgot": 0.0,
                "ball_carries": 18.5079,
                "total_progression": 73.7737,
                "progressive_carries": 0.7858,
                "key_pass": 0.4521,
                "shots_off_target": 0.5518,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Sergio Camello",
                "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.0292,
                "projected_assists": 0,
                "assist_probability": 0.0125,
                "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.0125,
                "provider_weight": 0.0158,
                "squad_weight_total": 0.779,
                "weight_share": 0.0202,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 13
              }
            }
          ]
        },
        "Jesús Areso": {
          "player_id": 910267,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 12,
          "height": 183,
          "market_value": 5500000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.6751,
            "minutes": 79,
            "total_pass": 29,
            "accurate_pass": 23,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 11,
            "accurate_own_half_passes": 9,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 13,
            "crosses_total": 4,
            "crosses_accurate": 1,
            "touches": 51,
            "possession_lost": 12.279,
            "dispossessed": 0.4165,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0223,
            "assists": 0,
            "expected_goals": 0.0117,
            "expected_assists": 0.0382,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 11,
            "total_progression": 60,
            "progressive_carries": 2,
            "key_pass": 1,
            "shots_off_target": 1,
            "tackles_in_zone": 2.0,
            "tackles_won_in_zone": 1.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.544,
            "opponent_faced": "Jorge de Frutos",
            "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.0116,
            "projected_assists": 0,
            "assist_probability": 0.0375,
            "finishing_factor": 0.8183,
            "creation_factor": 0.8,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0149,
                "expected_assists": 0.1023,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 40,
                "accurate_pass": 37,
                "key_pass": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 65,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0189,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 25,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 3,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0227,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 21,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 5,
                "duels_won": 9,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 86,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1085,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 24,
                "key_pass": 2,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 58,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0696,
                "expected_assists": 0.0773,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 19,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 71,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0463,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 17,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 17,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081813,
              "match_date": "2026-04-05",
              "home_team": "Getafe",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 26,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0424,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 18,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083632,
              "match_date": "2026-03-14",
              "home_team": "Girona FC",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 45,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0406,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 23,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081790,
              "match_date": "2026-02-28",
              "home_team": "Rayo Vallecano",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 73,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0271,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "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": 1711,
            "combined_rank_score": 696.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 26.0,
            "fifa_rank": 694.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6751,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jesús Areso",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Valentín Vidal",
                  "ranking": 1706
                },
                {
                  "player_name": "Tyler Adams",
                  "ranking": 1707
                },
                {
                  "player_name": "Ryu Jun-sun",
                  "ranking": 1708
                },
                {
                  "player_name": "Dan Burn",
                  "ranking": 1709
                },
                {
                  "player_name": "Mingueza",
                  "ranking": 1710
                }
              ],
              "lower": [
                {
                  "player_name": "Si-heon Lee",
                  "ranking": 1712
                },
                {
                  "player_name": "Ignacio Jeraldino",
                  "ranking": 1713
                },
                {
                  "player_name": "Augusto Aguirre",
                  "ranking": 1714
                },
                {
                  "player_name": "Adnan Januzaj",
                  "ranking": 1715
                },
                {
                  "player_name": "Cho Jin-hyuk",
                  "ranking": 1716
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.766,
          "history_matches": 31,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 31,
            "data_confidence": 0.766,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9985,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 142.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.63,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1067
            },
            "rationale": "XGBoost regressor (D_service) evaluated 31 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.11, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.1288,
                "tackles": 1.7021,
                "tackles_won": 1.0826,
                "clearances": 2.2471,
                "aerial_won": 1.0314,
                "total_shots": 0.5279,
                "rating": 6.6751,
                "minutes": 79.12,
                "total_pass": 28.6146,
                "accurate_pass": 22.7679,
                "duels_won": 3.8995,
                "total_long_balls": 1.3004,
                "accurate_long_balls": 0.3522,
                "total_own_half_passes": 11.2365,
                "accurate_own_half_passes": 9.3032,
                "total_opp_half_passes": 17.3782,
                "accurate_opp_half_passes": 13.4647,
                "crosses_total": 3.76,
                "crosses_accurate": 1.0405,
                "touches": 51.1127,
                "possession_lost": 12.2974,
                "dispossessed": 0.4171,
                "duels_lost": 2.7645,
                "aerial_lost": 0.5995,
                "total_contest": 0.9289,
                "won_contest": 0.3362,
                "ball_recovery": 2.755,
                "challenges_lost": 0.3984,
                "fouls": 0.9377,
                "fouls_drawn": 0.5316,
                "blocks": 0.2522,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0225,
                "assist_rate": 0.0225,
                "expected_goals": 0.0111,
                "expected_assists": 0.05,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0552,
                "xgot": 0.0,
                "ball_carries": 11.1287,
                "total_progression": 59.8547,
                "progressive_carries": 1.6164,
                "key_pass": 1.0916,
                "shots_off_target": 0.5279
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:03:23.701438+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.151,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.1283,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1091,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.0927,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0788,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.067,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0569,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-04-05",
                    "opponent": "Getafe",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0484,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Girona FC",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0411,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-02-28",
                    "opponent": "Rayo Vallecano",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.6533,
                  "aerialWon": 1.3222,
                  "totalClearance_p90": 2.5208,
                  "totalTackle": 1.2125,
                  "totalPass": 26.4454
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1287875175476074,
                    "model_output": 1.1288,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.119
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0627
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0553
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0521
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0323
                        }
                      ],
                      "others": 0.0147,
                      "total": 1.1288,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.130002
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.062276
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.05189
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.046521
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.028542
                        }
                      ],
                      "others_margin": 0.012997
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.7020701169967651,
                    "model_output": 1.7021,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1828
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0563
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0484
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0493
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0432
                        }
                      ],
                      "others": 0.0146,
                      "total": 1.7021,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.123208
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.035114
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.029191
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.028904
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.025256
                        }
                      ],
                      "others_margin": 0.008595
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.0825624465942383,
                    "model_output": 1.0826,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1104
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0503
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.038
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.033
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0263
                        }
                      ],
                      "others": 0.0888,
                      "total": 1.0826,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.121477
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.050852
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.036728
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.031887
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.026116
                        }
                      ],
                      "others_margin": 0.08569
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.247135877609253,
                    "model_output": 2.2471,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.7718
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3677
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.2838
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2462
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2227
                        }
                      ],
                      "others": -0.0475,
                      "total": 2.2471,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.253103
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.128595
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.09776
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.093314
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.092618
                        }
                      ],
                      "others_margin": -0.020926
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.031449556350708,
                    "model_output": 1.0314,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.1287
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1007
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1003
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0746
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0472
                        }
                      ],
                      "others": -0.1941,
                      "total": 1.0314,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.097718
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.083797
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.083434
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.061367
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.039262
                        }
                      ],
                      "others_margin": -0.172403
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5279228091239929,
                    "model_output": 0.5279,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0873
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0541
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0389
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0151
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0141
                        }
                      ],
                      "others": 0.0501,
                      "total": 0.5279,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.087336
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.054126
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.038866
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.015127
                        },
                        {
                          "name": "rating",
                          "margin": -0.014146
                        }
                      ],
                      "others_margin": 0.050154
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.675128936767578,
                    "model_output": 6.6751,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0264
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0146
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0132
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0124
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.0319,
                      "total": 6.6751,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.026379
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.014585
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.013188
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.012368
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.011491
                        }
                      ],
                      "others_margin": -0.031991
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 31,
                  "role_matches": 18,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9985, quality 0.468)",
              "stats": {
                "interceptions": 1.1271,
                "tackles": 1.6995,
                "tackles_won": 1.0809,
                "clearances": 2.2438,
                "aerial_won": 1.0299,
                "total_shots": 0.5271,
                "rating": 6.6751,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.7544,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9363,
                "fouls_drawn": 0.5308,
                "blocks": 0.2518,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0225,
                "assist_rate": 0.0225,
                "expected_goals": 0.0111,
                "expected_assists": 0.0499,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.5271
              },
              "params": {
                "market_value_eur": 5500000,
                "quality_factor": 0.4683,
                "boost_factor": 0.9985,
                "reference_quality": 0.505,
                "history_matches": 31,
                "history_shrink": 0.1389,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0096)",
              "stats": {
                "interceptions": 1.1215,
                "tackles": 1.6995,
                "tackles_won": 1.0758,
                "clearances": 2.2438,
                "aerial_won": 1.0299,
                "total_shots": 0.5274,
                "rating": 6.6751,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.75,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9379,
                "fouls_drawn": 0.5416,
                "blocks": 0.2518,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0223,
                "assist_rate": 0.0223,
                "expected_goals": 0.0111,
                "expected_assists": 0.0499,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.5271
              },
              "params": {
                "blend_weight": 0.0096,
                "history_matches": 31,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8791,
                "prior_reliability": 0.1067,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.5308,
                  "after": 0.5416
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.1271,
                  "after": 1.1215
                },
                {
                  "stat": "wonTackle",
                  "before": 1.0809,
                  "after": 1.0758
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1215,
                "tackles": 1.6995,
                "tackles_won": 1.0758,
                "clearances": 2.2438,
                "aerial_won": 1.0299,
                "total_shots": 0.5274,
                "rating": 6.6751,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.75,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9379,
                "fouls_drawn": 0.5416,
                "blocks": 0.2518,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0223,
                "assist_rate": 0.0223,
                "expected_goals": 0.0111,
                "expected_assists": 0.0499,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.5271
              },
              "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.1215,
                "tackles": 1.6995,
                "tackles_won": 1.0758,
                "clearances": 2.2438,
                "aerial_won": 1.0299,
                "total_shots": 0.5274,
                "rating": 6.6751,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.75,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9379,
                "fouls_drawn": 0.5416,
                "blocks": 0.2518,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0223,
                "assist_rate": 0.0223,
                "expected_goals": 0.0111,
                "expected_assists": 0.0499,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.5271,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.544,
                "opponent_faced": "Jorge de Frutos",
                "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": "Jorge de Frutos",
                  "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.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "interceptions": 1.1215,
                "tackles": 1.6995,
                "tackles_won": 1.0758,
                "clearances": 2.2438,
                "aerial_won": 1.0299,
                "total_shots": 0.5274,
                "rating": 6.6751,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.75,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9379,
                "fouls_drawn": 0.5416,
                "blocks": 0.2518,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0223,
                "assists": 0,
                "expected_goals": 0.0117,
                "expected_assists": 0.0382,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.5271,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.544,
                "opponent_faced": "Jorge de Frutos",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8183,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0499,
                  "after": 0.0382
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "interceptions": 1.1215,
                "tackles": 1.6995,
                "tackles_won": 1.0758,
                "clearances": 2.2438,
                "aerial_won": 1.0299,
                "total_shots": 0.5274,
                "rating": 6.6751,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.75,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9379,
                "fouls_drawn": 0.5416,
                "blocks": 0.2518,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0223,
                "assists": 0,
                "expected_goals": 0.0117,
                "expected_assists": 0.0382,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.5271,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.544,
                "opponent_faced": "Jorge de Frutos",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8183,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1711,
                "fifa_rank": 694.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1.1215,
                "tackles": 1.6995,
                "tackles_won": 1.0758,
                "clearances": 2.2438,
                "aerial_won": 1.0299,
                "total_shots": 0.5274,
                "rating": 6.6751,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.75,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9379,
                "fouls_drawn": 0.5416,
                "blocks": 0.2518,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0223,
                "assists": 0,
                "expected_goals": 0.0117,
                "expected_assists": 0.0382,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.5271,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.544,
                "opponent_faced": "Jorge de Frutos",
                "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.0116,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8183,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0116,
                "scorer_weight": 0.0096,
                "squad_weight_total": 1.0169,
                "weight_share": 0.0094,
                "finishing_factor": 0.8183,
                "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.1215,
                "tackles": 1.6995,
                "tackles_won": 1.0758,
                "clearances": 2.2438,
                "aerial_won": 1.0299,
                "total_shots": 0.5274,
                "rating": 6.6751,
                "minutes": 79.12,
                "total_pass": 28.5717,
                "accurate_pass": 22.7337,
                "duels_won": 3.8937,
                "total_long_balls": 1.2984,
                "accurate_long_balls": 0.3517,
                "total_own_half_passes": 11.2196,
                "accurate_own_half_passes": 9.2892,
                "total_opp_half_passes": 17.3521,
                "accurate_opp_half_passes": 13.4445,
                "crosses_total": 3.75,
                "crosses_accurate": 1.0389,
                "touches": 51.036,
                "possession_lost": 12.279,
                "dispossessed": 0.4165,
                "duels_lost": 2.7604,
                "aerial_lost": 0.5986,
                "total_contest": 0.9275,
                "won_contest": 0.3357,
                "ball_recovery": 2.7509,
                "challenges_lost": 0.3978,
                "fouls": 0.9379,
                "fouls_drawn": 0.5416,
                "blocks": 0.2518,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0223,
                "assists": 0,
                "expected_goals": 0.0117,
                "expected_assists": 0.0382,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0551,
                "xgot": 0.0,
                "ball_carries": 11.112,
                "total_progression": 59.7649,
                "progressive_carries": 1.614,
                "key_pass": 1.09,
                "shots_off_target": 0.5271,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.544,
                "opponent_faced": "Jorge de Frutos",
                "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.0116,
                "projected_assists": 0,
                "assist_probability": 0.0375,
                "finishing_factor": 0.8183,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0375,
                "provider_weight": 0.0306,
                "squad_weight_total": 0.779,
                "weight_share": 0.0392,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13
              }
            }
          ]
        },
        "Unai Simón": {
          "player_id": 797291,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 189,
          "market_value": 21000000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.0999,
            "rating": 7.0054,
            "minutes": 90,
            "total_pass": 33,
            "accurate_pass": 23,
            "total_long_balls": 17,
            "accurate_long_balls": 7,
            "touches": 44,
            "clearances": 1,
            "ball_recovery": 10,
            "high_claims": 1,
            "punches": 0.3896,
            "aerial_won": 0,
            "sweeper_actions": 2,
            "sweeper_accurate": 2,
            "saves_inside_box": 2,
            "possession_lost": 10.5831,
            "duels_won": 1,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 18,
            "gk_engine_opponent_lambda": 1.217,
            "shots_faced": 12.7,
            "expected_saves": 3.11,
            "high_pressure_saves": 1.07,
            "opponent_faced": "Sergio Camello, Álvaro 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": 85.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 21,
                "clearances": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 28,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 9,
                "goals_prevented": -0.1346
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 8.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 34,
                "clearances": 2,
                "ball_recovery": 14,
                "saves": 5,
                "goals_prevented": 1.2353
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 22,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 7,
                "saves": 2,
                "goals_prevented": 0.3212
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 9.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 23,
                "clearances": 3,
                "ball_recovery": 14,
                "saves": 8,
                "goals_prevented": 1.8497
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 4.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0116,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 29,
                "clearances": 1,
                "ball_recovery": 7,
                "saves": 2,
                "goals_prevented": -1.3506
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 12,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 13,
                "saves": 1,
                "goals_prevented": -0.6162
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0083,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 15,
                "duels_won": 1,
                "ball_recovery": 15,
                "saves": 3,
                "goals_prevented": -0.9032
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 22,
                "ball_recovery": 15,
                "saves": 2,
                "goals_prevented": 0.3069
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0075,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 13,
                "ball_recovery": 7,
                "saves": 2,
                "goals_prevented": -0.9854
              },
              "has_player_stats": true,
              "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": 323,
            "combined_rank_score": 218.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 278.0,
            "sofascore_rating": 7.0667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 158.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0054,
            "source_file": "data/player_rankings.csv",
            "player_name": "Unai Simón",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bryan Mbeumo",
                  "ranking": 318
                },
                {
                  "player_name": "Sandzhar Kuvvatov",
                  "ranking": 319
                },
                {
                  "player_name": "Jon Ander Olasagasti",
                  "ranking": 320
                },
                {
                  "player_name": "Mario Rivas",
                  "ranking": 321
                },
                {
                  "player_name": "Nico Paz",
                  "ranking": 322
                }
              ],
              "lower": [
                {
                  "player_name": "Aleksandre Andronikashvili",
                  "ranking": 324
                },
                {
                  "player_name": "Javier Correa",
                  "ranking": 325
                },
                {
                  "player_name": "Alejandro Santander",
                  "ranking": 326
                },
                {
                  "player_name": "Diego Murillo",
                  "ranking": 327
                },
                {
                  "player_name": "Boubacar Kamara",
                  "ranking": 328
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 43,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "G_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "accurateLongBalls",
              "totalOwnHalfPasses",
              "accurateOwnHalfPasses",
              "saves",
              "savedShotsFromInsideTheBox",
              "goodHighClaim",
              "punches",
              "aerialWon",
              "totalKeeperSweeper",
              "accurateKeeperSweeper",
              "totalClearance",
              "ballRecovery",
              "touches",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "goalsPrevented",
              "rating",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 43,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0042,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (G_service) evaluated 43 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.8687,
                "goals_prevented": -0.0995,
                "rating": 7.0054,
                "minutes": 90.0,
                "total_pass": 32.9052,
                "accurate_pass": 22.5836,
                "total_long_balls": 17.205,
                "accurate_long_balls": 7.2557,
                "touches": 43.7656,
                "clearances": 0.9875,
                "ball_recovery": 9.7336,
                "high_claims": 1.4529,
                "punches": 0.388,
                "aerial_won": 0.3341,
                "sweeper_actions": 1.9839,
                "sweeper_accurate": 1.7286,
                "saves_inside_box": 1.5829,
                "possession_lost": 10.5388,
                "duels_won": 0.518,
                "duels_lost": 0.0784,
                "total_contest": 0.0922,
                "won_contest": 0.0922,
                "fouls": 0.0,
                "fouls_drawn": 0.0927,
                "total_own_half_passes": 20.2603,
                "accurate_own_half_passes": 18.0691
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-09T10:02:40.828652+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 199,
                    "rows": 6796
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 8.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 9.0
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 4.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 1.5716,
                  "distribution_accuracy": 0.8765,
                  "sweeper_accuracy": 0.6835,
                  "goalkeeperValueNormalized": 0.0946,
                  "save_contribution": 2.4398,
                  "accurateKeeperSweeper": 1.7286
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.86871337890625,
                    "model_output": 2.8687,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0415
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0394
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0368
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0362
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0362
                      }
                    ],
                    "decomposition": {
                      "base": 2.9286,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0569
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0227
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.015
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0143
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0129
                        }
                      ],
                      "others": 0.0075,
                      "total": 2.8687,
                      "log_link": true,
                      "margin_base": 1.074537,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.019619
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.007952
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.005282
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.005031
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.004513
                        }
                      ],
                      "others_margin": 0.002635
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.09947255998849869,
                    "model_output": -0.0995,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "punches",
                        "importance": 0.041
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0398
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0385
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0356
                      }
                    ],
                    "decomposition": {
                      "base": -0.0166,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0443
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.0352
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": -0.0265
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0248
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0244
                        }
                      ],
                      "others": 0.0019,
                      "total": -0.0995,
                      "log_link": false,
                      "margin_base": -0.016613,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.044273
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": 0.035248
                        },
                        {
                          "name": "inside_box_save_rate",
                          "margin": -0.026453
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.024837
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.024383
                        }
                      ],
                      "others_margin": 0.001837
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.005446910858154,
                    "model_output": 7.0054,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0429
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0371
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.036
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0359
                      }
                    ],
                    "decomposition": {
                      "base": 7.0091,
                      "items": [
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": -0.0174
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0166
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0164
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0131
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0104
                        }
                      ],
                      "others": -0.01,
                      "total": 7.0054,
                      "log_link": false,
                      "margin_base": 7.009122,
                      "item_margins": [
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": -0.017375
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.016648
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.016414
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.013142
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.010411
                        }
                      ],
                      "others_margin": -0.010088
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 43,
                  "role_matches": 43,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0042, quality 0.641)",
              "stats": {
                "saves": 2.8808,
                "goals_prevented": -0.0999,
                "rating": 7.0054,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0931,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.0042,
                "reference_quality": 0.505,
                "history_matches": 43,
                "history_shrink": 0.1042,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0135)",
              "stats": {
                "saves": 2.896,
                "goals_prevented": -0.0999,
                "rating": 7.0054,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0918,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145
              },
              "params": {
                "blend_weight": 0.0135,
                "history_matches": 43,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.8808,
                  "after": 2.896
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.896,
                "goals_prevented": -0.0999,
                "rating": 7.0054,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0918,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 2.896,
                "goals_prevented": -0.0999,
                "rating": 7.0054,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0918,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145,
                "gk_engine_opponent_lambda": 1.217,
                "shots_faced": 11.6,
                "expected_saves": 2.84,
                "high_pressure_saves": 0.97,
                "opponent_faced": "Sergio Camello, Álvaro García",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Sergio Camello, Álvaro García",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.217
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "saves": 2.896,
                "goals_prevented": -0.0999,
                "rating": 7.0054,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0918,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145,
                "gk_engine_opponent_lambda": 1.217,
                "shots_faced": 12.7,
                "expected_saves": 3.11,
                "high_pressure_saves": 1.07,
                "opponent_faced": "Sergio Camello, Álvaro 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.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 11.6,
                  "after": 12.7
                },
                {
                  "stat": "expected_saves",
                  "before": 2.84,
                  "after": 3.11
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 0.97,
                  "after": 1.07
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 6 by projected rating, fifa_overall 85.0; not used by the projection)",
              "stats": {
                "saves": 2.896,
                "goals_prevented": -0.0999,
                "rating": 7.0054,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0918,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145,
                "gk_engine_opponent_lambda": 1.217,
                "shots_faced": 12.7,
                "expected_saves": 3.11,
                "high_pressure_saves": 1.07,
                "opponent_faced": "Sergio Camello, Álvaro 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": 85.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": 323,
                "fifa_rank": 158.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 85.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "saves": 2.896,
                "goals_prevented": -0.0999,
                "rating": 7.0054,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0918,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145,
                "gk_engine_opponent_lambda": 1.217,
                "shots_faced": 12.7,
                "expected_saves": 3.11,
                "high_pressure_saves": 1.07,
                "opponent_faced": "Sergio Camello, Álvaro 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": 85.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.0169,
                "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.896,
                "goals_prevented": -0.0999,
                "rating": 7.0054,
                "minutes": 90.0,
                "total_pass": 33.0434,
                "accurate_pass": 22.6785,
                "total_long_balls": 17.2773,
                "accurate_long_balls": 7.2862,
                "touches": 43.9494,
                "clearances": 0.9916,
                "ball_recovery": 9.7745,
                "high_claims": 1.459,
                "punches": 0.3896,
                "aerial_won": 0.3355,
                "sweeper_actions": 1.9922,
                "sweeper_accurate": 1.7359,
                "saves_inside_box": 1.5895,
                "possession_lost": 10.5831,
                "duels_won": 0.5202,
                "duels_lost": 0.0787,
                "total_contest": 0.0926,
                "won_contest": 0.0926,
                "fouls": 0.0,
                "fouls_drawn": 0.0918,
                "total_own_half_passes": 20.3454,
                "accurate_own_half_passes": 18.145,
                "gk_engine_opponent_lambda": 1.217,
                "shots_faced": 12.7,
                "expected_saves": 3.11,
                "high_pressure_saves": 1.07,
                "opponent_faced": "Sergio Camello, Álvaro 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": 85.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 0.779,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0
              }
            }
          ]
        },
        "Iñigo Ruiz de Galarreta": {
          "player_id": 96365,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 16,
          "height": 174,
          "market_value": 1800000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1341,
            "assist_rate": 0.1084,
            "assists": 0,
            "expected_goals": 0.0467,
            "goal_rate": 0.046,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.1037,
            "minutes": 72,
            "total_pass": 46,
            "accurate_pass": 39,
            "duels_won": 5,
            "total_long_balls": 5,
            "accurate_long_balls": 2,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 14,
            "total_opp_half_passes": 31,
            "accurate_opp_half_passes": 25,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 61,
            "possession_lost": 11.6136,
            "dispossessed": 0.9805,
            "duels_lost": 5,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0025,
            "ball_carries": 16,
            "total_progression": 44,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0353,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.424,
            "pressing_faced": "LOW",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Álvaro García",
            "opponent_faced": "Álvaro García",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0456,
            "projected_assists": 0,
            "assist_probability": 0.1255,
            "finishing_factor": 1.0169,
            "creation_factor": 0.8,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0725,
                "expected_assists": 0.056,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 85,
                "accurate_pass": 75,
                "key_pass": 2,
                "tackles": 3,
                "interceptions": 2,
                "aerial_won": 3,
                "duels_won": 12,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 65,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0369,
                "expected_assists": 0.0268,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 45,
                "accurate_pass": 35,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 60,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1595,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 29,
                "key_pass": 1,
                "interceptions": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 65,
                "rating": 7.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0321,
                "expected_assists": 0.5762,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 44,
                "accurate_pass": 41,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 14,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0168,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 10
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 60,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.011,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 15,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.6101,
                "total_shots": 0,
                "total_pass": 79,
                "accurate_pass": 69,
                "key_pass": 4,
                "interceptions": 2,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 12
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 63,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3752,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 18,
                "key_pass": 3,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0165,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 17,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 70,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.243,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 27,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "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": 711,
            "combined_rank_score": 385.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 342.0,
            "sofascore_rating": 6.9912,
            "sofascore_appearances": 34.0,
            "fifa_rank": 429.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1037,
            "source_file": "data/player_rankings.csv",
            "player_name": "Iñigo Ruiz de Galarreta",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bradley Barcola",
                  "ranking": 706
                },
                {
                  "player_name": "Luka Jovanovic",
                  "ranking": 707
                },
                {
                  "player_name": "Jung-won Choi",
                  "ranking": 708
                },
                {
                  "player_name": "Cristhofer Mesías",
                  "ranking": 709
                },
                {
                  "player_name": "Luis Javier Suárez",
                  "ranking": 710
                }
              ],
              "lower": [
                {
                  "player_name": "Javokhir Roziyev",
                  "ranking": 712
                },
                {
                  "player_name": "Victor Froholdt",
                  "ranking": 713
                },
                {
                  "player_name": "Koke",
                  "ranking": 714
                },
                {
                  "player_name": "Aleksandar Vojnović",
                  "ranking": 715
                },
                {
                  "player_name": "Ørjan Nyland",
                  "ranking": 716
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.758,
          "history_matches": 39,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.758,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9977,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "minutes": 72.0,
              "goals_per90": 0.0,
              "assists_per90": 1.25,
              "shots_per90": 1.25,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.0533
            },
            "rationale": "XGBoost regressor (M_service) evaluated 39 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.05, gls/90: 0.0, ast/90: 1.25)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.4224,
                "expected_assists": 0.1758,
                "assists": 0.1052,
                "assist_rate": 0.1052,
                "expected_goals": 0.043,
                "goals": 0.0447,
                "goal_rate": 0.0447,
                "shots_on_target": 0.246,
                "total_shots": 0.982,
                "rating": 7.1037,
                "minutes": 71.55,
                "total_pass": 46.2418,
                "accurate_pass": 39.1435,
                "duels_won": 4.7296,
                "total_long_balls": 4.6571,
                "accurate_long_balls": 2.3634,
                "total_own_half_passes": 15.3661,
                "accurate_own_half_passes": 14.3617,
                "total_opp_half_passes": 30.8757,
                "accurate_opp_half_passes": 24.7818,
                "crosses_total": 2.4912,
                "crosses_accurate": 0.671,
                "touches": 60.6657,
                "possession_lost": 11.6404,
                "dispossessed": 0.9828,
                "duels_lost": 4.7023,
                "aerial_won": 0.9863,
                "aerial_lost": 0.5197,
                "interceptions": 1.2748,
                "tackles_won": 0.4892,
                "tackles": 1.2663,
                "clearances": 0.4597,
                "total_contest": 1.7008,
                "won_contest": 1.0756,
                "challenges_lost": 0.8973,
                "fouls": 1.7432,
                "fouls_drawn": 1.4014,
                "blocks": 0.0928,
                "big_chances_created": 0.2922,
                "big_chances_missed": 0.0,
                "xgot": 0.0023,
                "ball_carries": 15.9235,
                "total_progression": 43.6428,
                "progressive_carries": 0.7028,
                "shots_off_target": 0.736
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-09T10:04:11.914604+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.8446,
                  "creative_index": 0.6256,
                  "expectedGoals": 0.0236,
                  "expectedAssists": 0.1672,
                  "onTargetScoringAttempt": 0.0118
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.422419786453247,
                    "model_output": 1.4224,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1331
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.1064
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0835
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0633
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0345
                        }
                      ],
                      "others": 0.1154,
                      "total": 1.4224,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.139923
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.09929
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.071551
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.05104
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.026733
                        }
                      ],
                      "others_margin": 0.084638
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.17584843933582306,
                    "model_output": 0.1758,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.017
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0148
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0159
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0055
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0042
                        }
                      ],
                      "others": 0.0326,
                      "total": 0.1758,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.181009
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.134273
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.127083
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.040155
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.029679
                        }
                      ],
                      "others_margin": 0.205717
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.10518092662096024,
                    "model_output": 0.1052,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0066
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0067
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0071
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0038
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0037
                        }
                      ],
                      "others": -0.0003,
                      "total": 0.1052,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.074457
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.070504
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.069514
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.036178
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.035601
                        }
                      ],
                      "others_margin": -0.003567
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.043030254542827606,
                    "model_output": 0.043,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0318
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0083
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0066
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0052
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0109,
                      "total": 0.043,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.410998
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.141838
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.115027
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.089575
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.032315
                        }
                      ],
                      "others_margin": -0.226234
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04474344477057457,
                    "model_output": 0.0447,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.02
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0124
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0092
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0049
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0043
                        }
                      ],
                      "others": -0.0021,
                      "total": 0.0447,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.229268
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.174392
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.152439
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.091557
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.08841
                        }
                      ],
                      "others_margin": -0.044331
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.24595017731189728,
                    "model_output": 0.246,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0572
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0359
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0333
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0233
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0165
                        }
                      ],
                      "others": -0.0302,
                      "total": 0.246,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.194377
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.126118
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.116718
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.082937
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.058179
                        }
                      ],
                      "others_margin": -0.115368
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9819145798683167,
                    "model_output": 0.9819,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1496
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0622
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0583
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0484
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0301
                        }
                      ],
                      "others": -0.0836,
                      "total": 0.9819,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.149553
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.062177
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.058298
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.048422
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.030111
                        }
                      ],
                      "others_margin": -0.083449
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.103726863861084,
                    "model_output": 7.1037,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1005
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0356
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0344
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0286
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0194
                        }
                      ],
                      "others": 0.0363,
                      "total": 7.1037,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.100537
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.035642
                        },
                        {
                          "name": "rating",
                          "margin": 0.034369
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.028623
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.019391
                        }
                      ],
                      "others_margin": 0.036293
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 39,
                  "role_matches": 34,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9977, quality 0.437)",
              "stats": {
                "key_pass": 1.4191,
                "expected_assists": 0.1754,
                "assists": 0.1049,
                "assist_rate": 0.1049,
                "expected_goals": 0.0429,
                "goals": 0.0446,
                "goal_rate": 0.0446,
                "shots_on_target": 0.2454,
                "total_shots": 0.9797,
                "rating": 7.1037,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4855,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.984,
                "aerial_lost": 0.5185,
                "interceptions": 1.2719,
                "tackles_won": 0.4881,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.7392,
                "fouls_drawn": 1.3982,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.0023,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.7343
              },
              "params": {
                "market_value_eur": 1800000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9977,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0039)",
              "stats": {
                "key_pass": 1.4191,
                "expected_assists": 0.1754,
                "assists": 0.1084,
                "assist_rate": 0.1084,
                "expected_goals": 0.0429,
                "goals": 0.0444,
                "goal_rate": 0.0444,
                "shots_on_target": 0.2444,
                "total_shots": 0.9798,
                "rating": 7.1037,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4835,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.984,
                "aerial_lost": 0.5185,
                "interceptions": 1.2708,
                "tackles_won": 0.4901,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.748,
                "fouls_drawn": 1.3966,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.0023,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.7343
              },
              "params": {
                "blend_weight": 0.0039,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.795,
                "prior_reliability": 0.0533,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 1.7392,
                  "after": 1.748
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.4191,
                "expected_assists": 0.1754,
                "assists": 0.1084,
                "assist_rate": 0.1084,
                "expected_goals": 0.0429,
                "goals": 0.0444,
                "goal_rate": 0.0444,
                "shots_on_target": 0.2444,
                "total_shots": 0.9798,
                "rating": 7.1037,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4835,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.984,
                "aerial_lost": 0.5185,
                "interceptions": 1.2708,
                "tackles_won": 0.4901,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.748,
                "fouls_drawn": 1.3966,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.0023,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.7343
              },
              "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.4191,
                "expected_assists": 0.1754,
                "assists": 0.1084,
                "assist_rate": 0.1084,
                "expected_goals": 0.0444,
                "goals": 0.046,
                "goal_rate": 0.046,
                "shots_on_target": 0.253,
                "total_shots": 1.0144,
                "rating": 7.1037,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4835,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.9,
                "aerial_lost": 0.5185,
                "interceptions": 1.2708,
                "tackles_won": 0.4901,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.748,
                "fouls_drawn": 1.3966,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.0024,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.7602,
                "duel_xg_multiplier": 1.0353,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.424,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Álvaro García",
                "opponent_faced": "Álvaro García",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Álvaro García",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.424,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0353,
                  "skill_edge": 0.0,
                  "height_edge": 0.024,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.4374,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Álvaro García",
                      "market_value": 1500000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.0444
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.984,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 0.9798,
                  "after": 1.0144
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7343,
                  "after": 0.7602
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2444,
                  "after": 0.253
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "key_pass": 1.4191,
                "expected_assists": 0.1341,
                "assist_rate": 0.1084,
                "assists": 0,
                "expected_goals": 0.0467,
                "goal_rate": 0.046,
                "goals": 0,
                "shots_on_target": 0.253,
                "total_shots": 1.0144,
                "rating": 7.1037,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4835,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.9,
                "aerial_lost": 0.5185,
                "interceptions": 1.2708,
                "tackles_won": 0.4901,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.748,
                "fouls_drawn": 1.3966,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.0025,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.7602,
                "duel_xg_multiplier": 1.0353,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.424,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Álvaro García",
                "opponent_faced": "Álvaro García",
                "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.0169,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1754,
                  "after": 0.1341
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 2 by projected rating, fifa_overall 82.0; not used by the projection)",
              "stats": {
                "key_pass": 1.4191,
                "expected_assists": 0.1341,
                "assist_rate": 0.1084,
                "assists": 0,
                "expected_goals": 0.0467,
                "goal_rate": 0.046,
                "goals": 0,
                "shots_on_target": 0.253,
                "total_shots": 1.0144,
                "rating": 7.1037,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4835,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.9,
                "aerial_lost": 0.5185,
                "interceptions": 1.2708,
                "tackles_won": 0.4901,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.748,
                "fouls_drawn": 1.3966,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.0025,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.7602,
                "duel_xg_multiplier": 1.0353,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.424,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Álvaro García",
                "opponent_faced": "Álvaro García",
                "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.0169,
                "creation_factor": 0.8,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 711,
                "fifa_rank": 429.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1.4191,
                "expected_assists": 0.1341,
                "assist_rate": 0.1084,
                "assists": 0,
                "expected_goals": 0.0467,
                "goal_rate": 0.046,
                "goals": 0,
                "shots_on_target": 0.253,
                "total_shots": 1.0144,
                "rating": 7.1037,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4835,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.9,
                "aerial_lost": 0.5185,
                "interceptions": 1.2708,
                "tackles_won": 0.4901,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.748,
                "fouls_drawn": 1.3966,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.0025,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.7602,
                "duel_xg_multiplier": 1.0353,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.424,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Álvaro García",
                "opponent_faced": "Álvaro García",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0456,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0169,
                "creation_factor": 0.8,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0456,
                "scorer_weight": 0.0475,
                "squad_weight_total": 1.0169,
                "weight_share": 0.0467,
                "finishing_factor": 1.0169,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1.4191,
                "expected_assists": 0.1341,
                "assist_rate": 0.1084,
                "assists": 0,
                "expected_goals": 0.0467,
                "goal_rate": 0.046,
                "goals": 0,
                "shots_on_target": 0.253,
                "total_shots": 1.0144,
                "rating": 7.1037,
                "minutes": 71.55,
                "total_pass": 46.1354,
                "accurate_pass": 39.0535,
                "duels_won": 4.7187,
                "total_long_balls": 4.6464,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 15.3308,
                "accurate_own_half_passes": 14.3287,
                "total_opp_half_passes": 30.8047,
                "accurate_opp_half_passes": 24.7248,
                "crosses_total": 2.4835,
                "crosses_accurate": 0.6695,
                "touches": 60.5262,
                "possession_lost": 11.6136,
                "dispossessed": 0.9805,
                "duels_lost": 4.6915,
                "aerial_won": 0.9,
                "aerial_lost": 0.5185,
                "interceptions": 1.2708,
                "tackles_won": 0.4901,
                "tackles": 1.2634,
                "clearances": 0.4586,
                "total_contest": 1.6969,
                "won_contest": 1.0731,
                "challenges_lost": 0.8952,
                "fouls": 1.748,
                "fouls_drawn": 1.3966,
                "blocks": 0.0926,
                "big_chances_created": 0.2915,
                "big_chances_missed": 0.0,
                "xgot": 0.0025,
                "ball_carries": 15.8869,
                "total_progression": 43.5424,
                "progressive_carries": 0.7012,
                "shots_off_target": 0.7602,
                "duel_xg_multiplier": 1.0353,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.424,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Álvaro García",
                "opponent_faced": "Álvaro García",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0456,
                "projected_assists": 0,
                "assist_probability": 0.1255,
                "finishing_factor": 1.0169,
                "creation_factor": 0.8,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.1255,
                "provider_weight": 0.1073,
                "squad_weight_total": 0.779,
                "weight_share": 0.1377,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13
              }
            }
          ]
        },
        "Beñat Gerenabarrena": {
          "player_id": 1171619,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 24,
          "height": 173,
          "market_value": 1000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0379,
            "assist_rate": 0.0687,
            "assists": 0,
            "expected_goals": 0.0268,
            "goal_rate": 0.0315,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.8026,
            "minutes": 88,
            "total_pass": 39,
            "accurate_pass": 34,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 21,
            "accurate_opp_half_passes": 17,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 53,
            "possession_lost": 8.9722,
            "dispossessed": 0.2244,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 3,
            "tackles_won": 2,
            "tackles": 2,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 2,
            "fouls": 3,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0141,
            "ball_carries": 11,
            "total_progression": 38,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "duel_xg_multiplier": 1.0294,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.42,
            "pressing_faced": "LOW",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Álvaro García",
            "opponent_faced": "Álvaro García",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0264,
            "projected_assists": 0,
            "assist_probability": 0.0372,
            "finishing_factor": 1.0795,
            "creation_factor": 1.1918,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0187,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 40,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0041,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 19,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 4,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0176,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 44,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 20,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1869,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 10,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 83,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0312,
                "expected_assists": 0.0182,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 41,
                "accurate_pass": 33,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 4,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1747,
            "combined_rank_score": 696.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 3.0,
            "fifa_rank": 694.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8026,
            "source_file": "data/player_rankings.csv",
            "player_name": "Beñat Gerenabarrena",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Vicente Vega",
                  "ranking": 1742
                },
                {
                  "player_name": "Enes Mahmutović",
                  "ranking": 1743
                },
                {
                  "player_name": "Ľubomír Šatka",
                  "ranking": 1744
                },
                {
                  "player_name": "Myeong-heui Choi",
                  "ranking": 1745
                },
                {
                  "player_name": "Ku Hyun-jun",
                  "ranking": 1746
                }
              ],
              "lower": [
                {
                  "player_name": "Kauã Moraes",
                  "ranking": 1748
                },
                {
                  "player_name": "Tomás Rincón",
                  "ranking": 1749
                },
                {
                  "player_name": "Wilker Ángel",
                  "ranking": 1750
                },
                {
                  "player_name": "Damion Lowe",
                  "ranking": 1751
                },
                {
                  "player_name": "Michael Hector",
                  "ranking": 1752
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.584,
          "history_matches": 5,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 5,
            "data_confidence": 0.584,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9899,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 193.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.47,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.14
            },
            "rationale": "XGBoost regressor (M_service) evaluated 5 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.14, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.5678,
                "expected_assists": 0.0501,
                "assists": 0.0728,
                "assist_rate": 0.0728,
                "expected_goals": 0.025,
                "goals": 0.0324,
                "goal_rate": 0.0324,
                "shots_on_target": 0.1253,
                "total_shots": 0.4571,
                "rating": 6.8026,
                "minutes": 87.77,
                "total_pass": 39.7087,
                "accurate_pass": 33.9564,
                "duels_won": 4.5251,
                "total_long_balls": 2.0471,
                "accurate_long_balls": 1.1682,
                "total_own_half_passes": 18.8818,
                "accurate_own_half_passes": 17.2027,
                "total_opp_half_passes": 20.8268,
                "accurate_opp_half_passes": 16.7536,
                "crosses_total": 1.2643,
                "crosses_accurate": 0.0,
                "touches": 53.6367,
                "possession_lost": 9.0637,
                "dispossessed": 0.2267,
                "duels_lost": 4.3399,
                "aerial_won": 0.96,
                "aerial_lost": 0.0,
                "interceptions": 2.6051,
                "tackles_won": 1.8789,
                "tackles": 2.3724,
                "clearances": 0.4935,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6676,
                "fouls": 2.6723,
                "fouls_drawn": 1.1927,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0131,
                "ball_carries": 10.7123,
                "total_progression": 37.9053,
                "progressive_carries": 0.6276,
                "shots_off_target": 0.3318
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-09T10:04:11.914604+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1656,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.1408,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.1408,
                  "creative_index": 0.092,
                  "expectedGoals": 0.0044,
                  "expectedAssists": 0.0429,
                  "onTargetScoringAttempt": 0.1408
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5678120255470276,
                    "model_output": 0.5678,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.111
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.087
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0689
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0537
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0522
                        }
                      ],
                      "others": -0.275,
                      "total": 0.5678,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.118021
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.091288
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.078685
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.061921
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.060048
                        }
                      ],
                      "others_margin": -0.39507
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05013314262032509,
                    "model_output": 0.0501,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0117
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.011
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0083
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0045
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0043
                        }
                      ],
                      "others": -0.0269,
                      "total": 0.0501,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.146477
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.13891
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.102366
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.056499
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.053729
                        }
                      ],
                      "others_margin": -0.429864
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.0727643147110939,
                    "model_output": 0.0728,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0094
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0087
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0074
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0063
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.004
                        }
                      ],
                      "others": -0.008,
                      "total": 0.0728,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.104979
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.096335
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.089632
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.077467
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.048279
                        }
                      ],
                      "others_margin": -0.106324
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.025047997012734413,
                    "model_output": 0.025,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.036
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0159
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0072
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0055
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0048
                        }
                      ],
                      "others": -0.0096,
                      "total": 0.025,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.48
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.317478
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.185346
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.170145
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.150513
                        }
                      ],
                      "others_margin": -0.324588
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.032402731478214264,
                    "model_output": 0.0324,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.027
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0152
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.007
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0046
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0044
                        }
                      ],
                      "others": -0.0158,
                      "total": 0.0324,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.324289
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.242329
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.13476
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.100786
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.09534
                        }
                      ],
                      "others_margin": -0.396276
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.12528066337108612,
                    "model_output": 0.1253,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0958
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0511
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.036
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0184
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.013
                        }
                      ],
                      "others": -0.0212,
                      "total": 0.1253,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.350452
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.253351
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.227294
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.122864
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.084721
                        }
                      ],
                      "others_margin": -0.157205
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.45706939697265625,
                    "model_output": 0.4571,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2883
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1133
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0642
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0504
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0386
                        }
                      ],
                      "others": -0.2052,
                      "total": 0.4571,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.28835
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.113346
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.06416
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.050387
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.038603
                        }
                      ],
                      "others_margin": -0.205241
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.802582740783691,
                    "model_output": 6.8026,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0409
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0352
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0278
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0222
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0139
                        }
                      ],
                      "others": -0.0601,
                      "total": 6.8026,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.04087
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.035211
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.027835
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.022174
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.013906
                        }
                      ],
                      "others_margin": -0.060196
                    }
                  }
                ],
                "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.5621,
                "expected_assists": 0.0496,
                "assists": 0.072,
                "assist_rate": 0.072,
                "expected_goals": 0.0248,
                "goals": 0.0321,
                "goal_rate": 0.0321,
                "shots_on_target": 0.124,
                "total_shots": 0.4525,
                "rating": 6.8026,
                "minutes": 87.77,
                "total_pass": 39.3076,
                "accurate_pass": 33.6134,
                "duels_won": 4.4794,
                "total_long_balls": 2.0264,
                "accurate_long_balls": 1.1564,
                "total_own_half_passes": 18.6911,
                "accurate_own_half_passes": 17.029,
                "total_opp_half_passes": 20.6164,
                "accurate_opp_half_passes": 16.5844,
                "crosses_total": 1.2515,
                "crosses_accurate": 0.0,
                "touches": 53.095,
                "possession_lost": 8.9722,
                "dispossessed": 0.2244,
                "duels_lost": 4.2961,
                "aerial_won": 0.9503,
                "aerial_lost": 0.0,
                "interceptions": 2.5788,
                "tackles_won": 1.8599,
                "tackles": 2.3484,
                "clearances": 0.4885,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6508,
                "fouls": 2.6453,
                "fouls_drawn": 1.1807,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.013,
                "ball_carries": 10.6041,
                "total_progression": 37.5225,
                "progressive_carries": 0.6213,
                "shots_off_target": 0.3284
              },
              "params": {
                "market_value_eur": 1000000,
                "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.0455)",
              "stats": {
                "key_pass": 0.5621,
                "expected_assists": 0.0496,
                "assists": 0.0687,
                "assist_rate": 0.0687,
                "expected_goals": 0.0248,
                "goals": 0.0306,
                "goal_rate": 0.0306,
                "shots_on_target": 0.1392,
                "total_shots": 0.4528,
                "rating": 6.8026,
                "minutes": 87.77,
                "total_pass": 39.3076,
                "accurate_pass": 33.6134,
                "duels_won": 4.4794,
                "total_long_balls": 2.0264,
                "accurate_long_balls": 1.1564,
                "total_own_half_passes": 18.6911,
                "accurate_own_half_passes": 17.029,
                "total_opp_half_passes": 20.6164,
                "accurate_opp_half_passes": 16.5844,
                "crosses_total": 1.3213,
                "crosses_accurate": 0.0,
                "touches": 53.095,
                "possession_lost": 8.9722,
                "dispossessed": 0.2244,
                "duels_lost": 4.2961,
                "aerial_won": 0.9503,
                "aerial_lost": 0.0,
                "interceptions": 2.6094,
                "tackles_won": 1.8809,
                "tackles": 2.3484,
                "clearances": 0.4885,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6508,
                "fouls": 2.6728,
                "fouls_drawn": 1.2115,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.013,
                "ball_carries": 10.6041,
                "total_progression": 37.5225,
                "progressive_carries": 0.6213,
                "shots_off_target": 0.3284
              },
              "params": {
                "blend_weight": 0.0455,
                "history_matches": 5,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9752,
                "prior_reliability": 0.14,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.2515,
                  "after": 1.3213
                },
                {
                  "stat": "wasFouled",
                  "before": 1.1807,
                  "after": 1.2115
                },
                {
                  "stat": "interceptionWon",
                  "before": 2.5788,
                  "after": 2.6094
                },
                {
                  "stat": "fouls",
                  "before": 2.6453,
                  "after": 2.6728
                },
                {
                  "stat": "wonTackle",
                  "before": 1.8599,
                  "after": 1.8809
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.124,
                  "after": 0.1392
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5621,
                "expected_assists": 0.0496,
                "assists": 0.0687,
                "assist_rate": 0.0687,
                "expected_goals": 0.0248,
                "goals": 0.0306,
                "goal_rate": 0.0306,
                "shots_on_target": 0.1392,
                "total_shots": 0.4676,
                "rating": 6.8026,
                "minutes": 87.77,
                "total_pass": 39.3076,
                "accurate_pass": 33.6134,
                "duels_won": 4.4794,
                "total_long_balls": 2.0264,
                "accurate_long_balls": 1.1564,
                "total_own_half_passes": 18.6911,
                "accurate_own_half_passes": 17.029,
                "total_opp_half_passes": 20.6164,
                "accurate_opp_half_passes": 16.5844,
                "crosses_total": 1.3213,
                "crosses_accurate": 0.0,
                "touches": 53.095,
                "possession_lost": 8.9722,
                "dispossessed": 0.2244,
                "duels_lost": 4.2961,
                "aerial_won": 0.9503,
                "aerial_lost": 0.0,
                "interceptions": 2.6094,
                "tackles_won": 1.8809,
                "tackles": 2.3484,
                "clearances": 0.4885,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6508,
                "fouls": 2.6728,
                "fouls_drawn": 1.2115,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.013,
                "ball_carries": 10.6041,
                "total_progression": 37.5225,
                "progressive_carries": 0.6213,
                "shots_off_target": 0.3284
              },
              "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.5621,
                "expected_assists": 0.0496,
                "assists": 0.0687,
                "assist_rate": 0.0687,
                "expected_goals": 0.0255,
                "goals": 0.0315,
                "goal_rate": 0.0315,
                "shots_on_target": 0.1433,
                "total_shots": 0.4814,
                "rating": 6.8026,
                "minutes": 87.77,
                "total_pass": 39.3076,
                "accurate_pass": 33.6134,
                "duels_won": 4.4794,
                "total_long_balls": 2.0264,
                "accurate_long_balls": 1.1564,
                "total_own_half_passes": 18.6911,
                "accurate_own_half_passes": 17.029,
                "total_opp_half_passes": 20.6164,
                "accurate_opp_half_passes": 16.5844,
                "crosses_total": 1.3213,
                "crosses_accurate": 0.0,
                "touches": 53.095,
                "possession_lost": 8.9722,
                "dispossessed": 0.2244,
                "duels_lost": 4.2961,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 2.6094,
                "tackles_won": 1.8809,
                "tackles": 2.3484,
                "clearances": 0.4885,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6508,
                "fouls": 2.6728,
                "fouls_drawn": 1.2115,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0134,
                "ball_carries": 10.6041,
                "total_progression": 37.5225,
                "progressive_carries": 0.6213,
                "shots_off_target": 0.3381,
                "duel_xg_multiplier": 1.0294,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.42,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Álvaro García",
                "opponent_faced": "Álvaro García",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Álvaro García",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.42,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0294,
                  "skill_edge": 0.0,
                  "height_edge": 0.02,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.4374,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Álvaro García",
                      "market_value": 1500000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.0255
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.9503,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 0.4676,
                  "after": 0.4814
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.3284,
                  "after": 0.3381
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.5621,
                "expected_assists": 0.0379,
                "assist_rate": 0.0687,
                "assists": 0,
                "expected_goals": 0.0268,
                "goal_rate": 0.0315,
                "goals": 0,
                "shots_on_target": 0.1433,
                "total_shots": 0.4814,
                "rating": 6.8026,
                "minutes": 87.77,
                "total_pass": 39.3076,
                "accurate_pass": 33.6134,
                "duels_won": 4.4794,
                "total_long_balls": 2.0264,
                "accurate_long_balls": 1.1564,
                "total_own_half_passes": 18.6911,
                "accurate_own_half_passes": 17.029,
                "total_opp_half_passes": 20.6164,
                "accurate_opp_half_passes": 16.5844,
                "crosses_total": 1.3213,
                "crosses_accurate": 0.0,
                "touches": 53.095,
                "possession_lost": 8.9722,
                "dispossessed": 0.2244,
                "duels_lost": 4.2961,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 2.6094,
                "tackles_won": 1.8809,
                "tackles": 2.3484,
                "clearances": 0.4885,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6508,
                "fouls": 2.6728,
                "fouls_drawn": 1.2115,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0141,
                "ball_carries": 10.6041,
                "total_progression": 37.5225,
                "progressive_carries": 0.6213,
                "shots_off_target": 0.3381,
                "duel_xg_multiplier": 1.0294,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.42,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Álvaro García",
                "opponent_faced": "Álvaro García",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0795,
                "creation_factor": 1.1918
              },
              "params": {
                "team_lambda": 1.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0496,
                  "after": 0.0379
                }
              ]
            },
            {
              "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": {
                "key_pass": 0.5621,
                "expected_assists": 0.0379,
                "assist_rate": 0.0687,
                "assists": 0,
                "expected_goals": 0.0268,
                "goal_rate": 0.0315,
                "goals": 0,
                "shots_on_target": 0.1433,
                "total_shots": 0.4814,
                "rating": 6.8026,
                "minutes": 87.77,
                "total_pass": 39.3076,
                "accurate_pass": 33.6134,
                "duels_won": 4.4794,
                "total_long_balls": 2.0264,
                "accurate_long_balls": 1.1564,
                "total_own_half_passes": 18.6911,
                "accurate_own_half_passes": 17.029,
                "total_opp_half_passes": 20.6164,
                "accurate_opp_half_passes": 16.5844,
                "crosses_total": 1.3213,
                "crosses_accurate": 0.0,
                "touches": 53.095,
                "possession_lost": 8.9722,
                "dispossessed": 0.2244,
                "duels_lost": 4.2961,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 2.6094,
                "tackles_won": 1.8809,
                "tackles": 2.3484,
                "clearances": 0.4885,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6508,
                "fouls": 2.6728,
                "fouls_drawn": 1.2115,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0141,
                "ball_carries": 10.6041,
                "total_progression": 37.5225,
                "progressive_carries": 0.6213,
                "shots_off_target": 0.3381,
                "duel_xg_multiplier": 1.0294,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.42,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Álvaro García",
                "opponent_faced": "Álvaro García",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0795,
                "creation_factor": 1.1918,
                "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": 1747,
                "fifa_rank": 694.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.5621,
                "expected_assists": 0.0379,
                "assist_rate": 0.0687,
                "assists": 0,
                "expected_goals": 0.0268,
                "goal_rate": 0.0315,
                "goals": 0,
                "shots_on_target": 0.1433,
                "total_shots": 0.4814,
                "rating": 6.8026,
                "minutes": 87.77,
                "total_pass": 39.3076,
                "accurate_pass": 33.6134,
                "duels_won": 4.4794,
                "total_long_balls": 2.0264,
                "accurate_long_balls": 1.1564,
                "total_own_half_passes": 18.6911,
                "accurate_own_half_passes": 17.029,
                "total_opp_half_passes": 20.6164,
                "accurate_opp_half_passes": 16.5844,
                "crosses_total": 1.3213,
                "crosses_accurate": 0.0,
                "touches": 53.095,
                "possession_lost": 8.9722,
                "dispossessed": 0.2244,
                "duels_lost": 4.2961,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 2.6094,
                "tackles_won": 1.8809,
                "tackles": 2.3484,
                "clearances": 0.4885,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6508,
                "fouls": 2.6728,
                "fouls_drawn": 1.2115,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0141,
                "ball_carries": 10.6041,
                "total_progression": 37.5225,
                "progressive_carries": 0.6213,
                "shots_off_target": 0.3381,
                "duel_xg_multiplier": 1.0294,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.42,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Álvaro García",
                "opponent_faced": "Álvaro García",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0264,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0795,
                "creation_factor": 1.1918,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0264,
                "scorer_weight": 0.0289,
                "squad_weight_total": 1.0169,
                "weight_share": 0.0284,
                "finishing_factor": 1.0795,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.5621,
                "expected_assists": 0.0379,
                "assist_rate": 0.0687,
                "assists": 0,
                "expected_goals": 0.0268,
                "goal_rate": 0.0315,
                "goals": 0,
                "shots_on_target": 0.1433,
                "total_shots": 0.4814,
                "rating": 6.8026,
                "minutes": 87.77,
                "total_pass": 39.3076,
                "accurate_pass": 33.6134,
                "duels_won": 4.4794,
                "total_long_balls": 2.0264,
                "accurate_long_balls": 1.1564,
                "total_own_half_passes": 18.6911,
                "accurate_own_half_passes": 17.029,
                "total_opp_half_passes": 20.6164,
                "accurate_opp_half_passes": 16.5844,
                "crosses_total": 1.3213,
                "crosses_accurate": 0.0,
                "touches": 53.095,
                "possession_lost": 8.9722,
                "dispossessed": 0.2244,
                "duels_lost": 4.2961,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 2.6094,
                "tackles_won": 1.8809,
                "tackles": 2.3484,
                "clearances": 0.4885,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 1.6508,
                "fouls": 2.6728,
                "fouls_drawn": 1.2115,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0141,
                "ball_carries": 10.6041,
                "total_progression": 37.5225,
                "progressive_carries": 0.6213,
                "shots_off_target": 0.3381,
                "duel_xg_multiplier": 1.0294,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.42,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Álvaro García",
                "opponent_faced": "Álvaro García",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0264,
                "projected_assists": 0,
                "assist_probability": 0.0372,
                "finishing_factor": 1.0795,
                "creation_factor": 1.1918,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0372,
                "provider_weight": 0.0452,
                "squad_weight_total": 0.779,
                "weight_share": 0.058,
                "creation_factor": 1.1918,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13
              }
            }
          ]
        },
        "Robert Navarro": {
          "player_id": 944165,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 23,
          "height": 178,
          "market_value": 6500000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.112,
            "assist_rate": 0.1314,
            "assists": 0,
            "expected_goals": 0.1813,
            "goal_rate": 0.1807,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 7.0198,
            "minutes": 74,
            "total_pass": 22,
            "accurate_pass": 18,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 14,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 38,
            "possession_lost": 9.8215,
            "dispossessed": 0.7848,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.3835,
            "ball_carries": 13,
            "total_progression": 49,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0332,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.3,
            "crosses_attempted": 1.9,
            "duel_win_rate": 0.503,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Adrià Pedrosa",
            "opponent_faced": "Adrià Pedrosa",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1658,
            "projected_assists": 0,
            "assist_probability": 0.106,
            "finishing_factor": 1.0383,
            "creation_factor": 0.9232,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 75,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1533,
                "expected_assists": 0.1992,
                "total_shots": 4,
                "shots_on_target": 2,
                "total_pass": 30,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 72,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2942,
                "expected_assists": 0.1134,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 19,
                "key_pass": 4,
                "tackles": 1,
                "interceptions": 3,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 66,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1954,
                "expected_assists": 0.0827,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 17,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 2,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 74,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7256,
                "expected_assists": 0.0381,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 34,
                "accurate_pass": 31,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 30,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0384,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "interceptions": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0325,
                "expected_assists": 0.1948,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 25,
                "accurate_pass": 20,
                "key_pass": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 45,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3792,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 26,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0329,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 12,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 70,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.053,
                "expected_assists": 0.013,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 17,
                "accurate_pass": 14,
                "tackles": 3,
                "tackles_won": 1,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2717,
                "expected_assists": 0.0127,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 7,
                "accurate_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "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": 3133,
            "combined_rank_score": 1100.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 229.0,
            "sofascore_rating": 7.15,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1972.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0198,
            "source_file": "data/player_rankings.csv",
            "player_name": "Robert Navarro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Diego Conde",
                  "ranking": 3128
                },
                {
                  "player_name": "Lawrence Shankland",
                  "ranking": 3129
                },
                {
                  "player_name": "Cameron Carter-Vickers",
                  "ranking": 3130
                },
                {
                  "player_name": "Patrick Wimmer",
                  "ranking": 3131
                },
                {
                  "player_name": "Thomas Lemar",
                  "ranking": 3132
                }
              ],
              "lower": [
                {
                  "player_name": "Luka Sučić",
                  "ranking": 3134
                },
                {
                  "player_name": "Che Adams",
                  "ranking": 3135
                },
                {
                  "player_name": "Carlos Vicente",
                  "ranking": 3136
                },
                {
                  "player_name": "Lautaro Di Lollo",
                  "ranking": 3137
                },
                {
                  "player_name": "Hugo Larsson",
                  "ranking": 3138
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 37,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "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": 37,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9991,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 37 historical appearances across 8 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.6191,
                "expected_assists": 0.1466,
                "assists": 0.1316,
                "assist_rate": 0.1316,
                "expected_goals": 0.1668,
                "goals": 0.175,
                "goal_rate": 0.175,
                "shots_on_target": 0.6573,
                "total_shots": 1.7749,
                "rating": 7.0198,
                "minutes": 73.98,
                "total_pass": 22.3734,
                "accurate_pass": 18.3333,
                "duels_won": 2.7505,
                "total_long_balls": 1.0138,
                "accurate_long_balls": 0.2995,
                "total_own_half_passes": 5.3508,
                "accurate_own_half_passes": 4.7878,
                "total_opp_half_passes": 17.0226,
                "accurate_opp_half_passes": 13.5455,
                "crosses_total": 3.3232,
                "crosses_accurate": 1.1755,
                "touches": 38.2431,
                "possession_lost": 9.8303,
                "dispossessed": 0.7855,
                "duels_lost": 3.8144,
                "aerial_won": 0.1229,
                "aerial_lost": 1.2238,
                "interceptions": 0.826,
                "tackles_won": 0.5327,
                "tackles": 1.0627,
                "clearances": 0.307,
                "total_contest": 1.9785,
                "won_contest": 1.0687,
                "challenges_lost": 0.371,
                "fouls": 0.5243,
                "fouls_drawn": 0.4961,
                "blocks": 0.0,
                "big_chances_created": 0.1493,
                "big_chances_missed": 0.1669,
                "xgot": 0.3528,
                "ball_carries": 13.278,
                "total_progression": 48.6158,
                "progressive_carries": 2.7321,
                "shots_off_target": 1.1176
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-09T10:04:11.914604+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0785,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.4427,
                  "creative_index": 0.5549,
                  "expectedGoals": 0.1797,
                  "expectedAssists": 0.1058,
                  "onTargetScoringAttempt": 0.7018
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.61912202835083,
                    "model_output": 1.6191,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.113
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0906
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0799
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0663
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0408
                        }
                      ],
                      "others": 0.3423,
                      "total": 1.6191,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.120059
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.086815
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.070742
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.05513
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.032492
                        }
                      ],
                      "others_margin": 0.237462
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.14662984013557434,
                    "model_output": 0.1466,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0111
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0097
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0071
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0048
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0038
                        }
                      ],
                      "others": 0.0243,
                      "total": 0.1466,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.122159
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.09534
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.064335
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.041462
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.031391
                        }
                      ],
                      "others_margin": 0.181516
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.13156571984291077,
                    "model_output": 0.1316,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0142
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0115
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0083
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0075
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0055
                        }
                      ],
                      "others": 0.0104,
                      "total": 0.1316,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.153991
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.109613
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.072104
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.061277
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.044234
                        }
                      ],
                      "others_margin": 0.081405
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.16682596504688263,
                    "model_output": 0.1668,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0267
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0153
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0126
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0136
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0124
                        }
                      ],
                      "others": -0.0082,
                      "total": 0.1668,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.24913
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.118847
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.088352
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.087077
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.073687
                        }
                      ],
                      "others_margin": -0.047979
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.17501860857009888,
                    "model_output": 0.175,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0182
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0186
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0169
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0141
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0142
                        }
                      ],
                      "others": -0.0046,
                      "total": 0.175,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.170884
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.148548
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.118175
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.089163
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.082188
                        }
                      ],
                      "others_margin": -0.025408
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6572657823562622,
                    "model_output": 0.6573,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0786
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0596
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0626
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0557
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.029
                        }
                      ],
                      "others": 0.0478,
                      "total": 0.6573,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.217271
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.138064
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12705
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.100834
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.048765
                        }
                      ],
                      "others_margin": 0.075388
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.7748441696166992,
                    "model_output": 1.7748,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.2703
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1765
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0989
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0656
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0555
                        }
                      ],
                      "others": 0.2285,
                      "total": 1.7748,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.27034
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.176457
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.09886
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.065563
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.055503
                        }
                      ],
                      "others_margin": 0.228663
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.019752025604248,
                    "model_output": 7.0198,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0368
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0245
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0233
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0182
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0164
                        }
                      ],
                      "others": 0.0517,
                      "total": 7.0198,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.036759
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.024502
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.023251
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.018222
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.016355
                        }
                      ],
                      "others_margin": 0.051792
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 37,
                  "role_matches": 14,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9991, quality 0.481)",
              "stats": {
                "key_pass": 1.6177,
                "expected_assists": 0.1465,
                "assists": 0.1314,
                "assist_rate": 0.1314,
                "expected_goals": 0.1667,
                "goals": 0.1749,
                "goal_rate": 0.1749,
                "shots_on_target": 0.6567,
                "total_shots": 1.7733,
                "rating": 7.0198,
                "minutes": 73.98,
                "total_pass": 22.3533,
                "accurate_pass": 18.3168,
                "duels_won": 2.748,
                "total_long_balls": 1.0129,
                "accurate_long_balls": 0.2992,
                "total_own_half_passes": 5.346,
                "accurate_own_half_passes": 4.7835,
                "total_opp_half_passes": 17.0073,
                "accurate_opp_half_passes": 13.5333,
                "crosses_total": 3.3202,
                "crosses_accurate": 1.1744,
                "touches": 38.2087,
                "possession_lost": 9.8215,
                "dispossessed": 0.7848,
                "duels_lost": 3.811,
                "aerial_won": 0.1228,
                "aerial_lost": 1.2227,
                "interceptions": 0.8253,
                "tackles_won": 0.5322,
                "tackles": 1.0617,
                "clearances": 0.3067,
                "total_contest": 1.9767,
                "won_contest": 1.0677,
                "challenges_lost": 0.3707,
                "fouls": 0.5238,
                "fouls_drawn": 0.4957,
                "blocks": 0.0,
                "big_chances_created": 0.1492,
                "big_chances_missed": 0.1667,
                "xgot": 0.3525,
                "ball_carries": 13.266,
                "total_progression": 48.572,
                "progressive_carries": 2.7296,
                "shots_off_target": 1.1166
              },
              "params": {
                "market_value_eur": 6500000,
                "quality_factor": 0.4805,
                "boost_factor": 0.9991,
                "reference_quality": 0.505,
                "history_matches": 37,
                "history_shrink": 0.119,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.6177,
                "expected_assists": 0.1465,
                "assists": 0.1314,
                "assist_rate": 0.1314,
                "expected_goals": 0.1667,
                "goals": 0.1749,
                "goal_rate": 0.1749,
                "shots_on_target": 0.6567,
                "total_shots": 1.7733,
                "rating": 7.0198,
                "minutes": 73.98,
                "total_pass": 22.3533,
                "accurate_pass": 18.3168,
                "duels_won": 2.748,
                "total_long_balls": 1.0129,
                "accurate_long_balls": 0.2992,
                "total_own_half_passes": 5.346,
                "accurate_own_half_passes": 4.7835,
                "total_opp_half_passes": 17.0073,
                "accurate_opp_half_passes": 13.5333,
                "crosses_total": 3.3202,
                "crosses_accurate": 1.1744,
                "touches": 38.2087,
                "possession_lost": 9.8215,
                "dispossessed": 0.7848,
                "duels_lost": 3.811,
                "aerial_won": 0.1228,
                "aerial_lost": 1.2227,
                "interceptions": 0.8253,
                "tackles_won": 0.5322,
                "tackles": 1.0617,
                "clearances": 0.3067,
                "total_contest": 1.9767,
                "won_contest": 1.0677,
                "challenges_lost": 0.3707,
                "fouls": 0.5238,
                "fouls_drawn": 0.4957,
                "blocks": 0.0,
                "big_chances_created": 0.1492,
                "big_chances_missed": 0.1667,
                "xgot": 0.3525,
                "ball_carries": 13.266,
                "total_progression": 48.572,
                "progressive_carries": 2.7296,
                "shots_off_target": 1.1166
              },
              "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.6177,
                "expected_assists": 0.1465,
                "assists": 0.1314,
                "assist_rate": 0.1314,
                "expected_goals": 0.1722,
                "goals": 0.1807,
                "goal_rate": 0.1807,
                "shots_on_target": 0.6785,
                "total_shots": 1.8322,
                "rating": 7.0198,
                "minutes": 73.98,
                "total_pass": 22.3533,
                "accurate_pass": 18.3168,
                "duels_won": 2.748,
                "total_long_balls": 1.0129,
                "accurate_long_balls": 0.2992,
                "total_own_half_passes": 5.346,
                "accurate_own_half_passes": 4.7835,
                "total_opp_half_passes": 17.0073,
                "accurate_opp_half_passes": 13.5333,
                "crosses_total": 3.3202,
                "crosses_accurate": 1.1744,
                "touches": 38.2087,
                "possession_lost": 9.8215,
                "dispossessed": 0.7848,
                "duels_lost": 3.811,
                "aerial_won": 1.0,
                "aerial_lost": 1.2227,
                "interceptions": 0.8253,
                "tackles_won": 0.5322,
                "tackles": 1.0617,
                "clearances": 0.3067,
                "total_contest": 1.9767,
                "won_contest": 1.0677,
                "challenges_lost": 0.3707,
                "fouls": 0.5238,
                "fouls_drawn": 0.4957,
                "blocks": 0.0,
                "big_chances_created": 0.1492,
                "big_chances_missed": 0.1722,
                "xgot": 0.3642,
                "ball_carries": 13.266,
                "total_progression": 48.572,
                "progressive_carries": 2.7296,
                "shots_off_target": 1.1537,
                "duel_xg_multiplier": 1.0332,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.503,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrià Pedrosa",
                "opponent_faced": "Adrià Pedrosa",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Adrià Pedrosa",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                  "duel_win_rate": 0.503,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0332,
                  "skill_edge": 0.0146,
                  "height_edge": 0.008,
                  "attacker_skill": 0.4805,
                  "defender_skill": 0.4481,
                  "attacker_role": "LW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Adrià Pedrosa",
                      "market_value": 2700000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.4481
                    }
                  ],
                  "xg_override": 0.1722
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.1228,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 1.7733,
                  "after": 1.8322
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.1166,
                  "after": 1.1537
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6567,
                  "after": 0.6785
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.3525,
                  "after": 0.3642
                },
                {
                  "stat": "goals",
                  "before": 0.1749,
                  "after": 0.1807
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1667,
                  "after": 0.1722
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1667,
                  "after": 0.1722
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "key_pass": 1.6177,
                "expected_assists": 0.112,
                "assist_rate": 0.1314,
                "assists": 0,
                "expected_goals": 0.1813,
                "goal_rate": 0.1807,
                "goals": 0,
                "shots_on_target": 0.6785,
                "total_shots": 1.8322,
                "rating": 7.0198,
                "minutes": 73.98,
                "total_pass": 22.3533,
                "accurate_pass": 18.3168,
                "duels_won": 2.748,
                "total_long_balls": 1.0129,
                "accurate_long_balls": 0.2992,
                "total_own_half_passes": 5.346,
                "accurate_own_half_passes": 4.7835,
                "total_opp_half_passes": 17.0073,
                "accurate_opp_half_passes": 13.5333,
                "crosses_total": 3.3202,
                "crosses_accurate": 1.1744,
                "touches": 38.2087,
                "possession_lost": 9.8215,
                "dispossessed": 0.7848,
                "duels_lost": 3.811,
                "aerial_won": 1.0,
                "aerial_lost": 1.2227,
                "interceptions": 0.8253,
                "tackles_won": 0.5322,
                "tackles": 1.0617,
                "clearances": 0.3067,
                "total_contest": 1.9767,
                "won_contest": 1.0677,
                "challenges_lost": 0.3707,
                "fouls": 0.5238,
                "fouls_drawn": 0.4957,
                "blocks": 0.0,
                "big_chances_created": 0.1492,
                "big_chances_missed": 0.1722,
                "xgot": 0.3835,
                "ball_carries": 13.266,
                "total_progression": 48.572,
                "progressive_carries": 2.7296,
                "shots_off_target": 1.1537,
                "duel_xg_multiplier": 1.0332,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.503,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrià Pedrosa",
                "opponent_faced": "Adrià Pedrosa",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0383,
                "creation_factor": 0.9232
              },
              "params": {
                "team_lambda": 1.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1722,
                  "after": 0.1813
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1465,
                  "after": 0.112
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 4 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "key_pass": 1.6177,
                "expected_assists": 0.112,
                "assist_rate": 0.1314,
                "assists": 0,
                "expected_goals": 0.1813,
                "goal_rate": 0.1807,
                "goals": 0,
                "shots_on_target": 0.6785,
                "total_shots": 1.8322,
                "rating": 7.0198,
                "minutes": 73.98,
                "total_pass": 22.3533,
                "accurate_pass": 18.3168,
                "duels_won": 2.748,
                "total_long_balls": 1.0129,
                "accurate_long_balls": 0.2992,
                "total_own_half_passes": 5.346,
                "accurate_own_half_passes": 4.7835,
                "total_opp_half_passes": 17.0073,
                "accurate_opp_half_passes": 13.5333,
                "crosses_total": 3.3202,
                "crosses_accurate": 1.1744,
                "touches": 38.2087,
                "possession_lost": 9.8215,
                "dispossessed": 0.7848,
                "duels_lost": 3.811,
                "aerial_won": 1.0,
                "aerial_lost": 1.2227,
                "interceptions": 0.8253,
                "tackles_won": 0.5322,
                "tackles": 1.0617,
                "clearances": 0.3067,
                "total_contest": 1.9767,
                "won_contest": 1.0677,
                "challenges_lost": 0.3707,
                "fouls": 0.5238,
                "fouls_drawn": 0.4957,
                "blocks": 0.0,
                "big_chances_created": 0.1492,
                "big_chances_missed": 0.1722,
                "xgot": 0.3835,
                "ball_carries": 13.266,
                "total_progression": 48.572,
                "progressive_carries": 2.7296,
                "shots_off_target": 1.1537,
                "duel_xg_multiplier": 1.0332,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.503,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrià Pedrosa",
                "opponent_faced": "Adrià Pedrosa",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0383,
                "creation_factor": 0.9232,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3133,
                "fifa_rank": 1972.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1.6177,
                "expected_assists": 0.112,
                "assist_rate": 0.1314,
                "assists": 0,
                "expected_goals": 0.1813,
                "goal_rate": 0.1807,
                "goals": 0,
                "shots_on_target": 0.6785,
                "total_shots": 1.8322,
                "rating": 7.0198,
                "minutes": 73.98,
                "total_pass": 22.3533,
                "accurate_pass": 18.3168,
                "duels_won": 2.748,
                "total_long_balls": 1.0129,
                "accurate_long_balls": 0.2992,
                "total_own_half_passes": 5.346,
                "accurate_own_half_passes": 4.7835,
                "total_opp_half_passes": 17.0073,
                "accurate_opp_half_passes": 13.5333,
                "crosses_total": 3.3202,
                "crosses_accurate": 1.1744,
                "touches": 38.2087,
                "possession_lost": 9.8215,
                "dispossessed": 0.7848,
                "duels_lost": 3.811,
                "aerial_won": 1.0,
                "aerial_lost": 1.2227,
                "interceptions": 0.8253,
                "tackles_won": 0.5322,
                "tackles": 1.0617,
                "clearances": 0.3067,
                "total_contest": 1.9767,
                "won_contest": 1.0677,
                "challenges_lost": 0.3707,
                "fouls": 0.5238,
                "fouls_drawn": 0.4957,
                "blocks": 0.0,
                "big_chances_created": 0.1492,
                "big_chances_missed": 0.1722,
                "xgot": 0.3835,
                "ball_carries": 13.266,
                "total_progression": 48.572,
                "progressive_carries": 2.7296,
                "shots_off_target": 1.1537,
                "duel_xg_multiplier": 1.0332,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.503,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrià Pedrosa",
                "opponent_faced": "Adrià Pedrosa",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1658,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0383,
                "creation_factor": 0.9232,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.1658,
                "scorer_weight": 0.1882,
                "squad_weight_total": 1.0169,
                "weight_share": 0.1851,
                "finishing_factor": 1.0383,
                "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.6177,
                "expected_assists": 0.112,
                "assist_rate": 0.1314,
                "assists": 0,
                "expected_goals": 0.1813,
                "goal_rate": 0.1807,
                "goals": 0,
                "shots_on_target": 0.6785,
                "total_shots": 1.8322,
                "rating": 7.0198,
                "minutes": 73.98,
                "total_pass": 22.3533,
                "accurate_pass": 18.3168,
                "duels_won": 2.748,
                "total_long_balls": 1.0129,
                "accurate_long_balls": 0.2992,
                "total_own_half_passes": 5.346,
                "accurate_own_half_passes": 4.7835,
                "total_opp_half_passes": 17.0073,
                "accurate_opp_half_passes": 13.5333,
                "crosses_total": 3.3202,
                "crosses_accurate": 1.1744,
                "touches": 38.2087,
                "possession_lost": 9.8215,
                "dispossessed": 0.7848,
                "duels_lost": 3.811,
                "aerial_won": 1.0,
                "aerial_lost": 1.2227,
                "interceptions": 0.8253,
                "tackles_won": 0.5322,
                "tackles": 1.0617,
                "clearances": 0.3067,
                "total_contest": 1.9767,
                "won_contest": 1.0677,
                "challenges_lost": 0.3707,
                "fouls": 0.5238,
                "fouls_drawn": 0.4957,
                "blocks": 0.0,
                "big_chances_created": 0.1492,
                "big_chances_missed": 0.1722,
                "xgot": 0.3835,
                "ball_carries": 13.266,
                "total_progression": 48.572,
                "progressive_carries": 2.7296,
                "shots_off_target": 1.1537,
                "duel_xg_multiplier": 1.0332,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.503,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Adrià Pedrosa",
                "opponent_faced": "Adrià Pedrosa",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1658,
                "projected_assists": 0,
                "assist_probability": 0.106,
                "finishing_factor": 1.0383,
                "creation_factor": 0.9232,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.106,
                "provider_weight": 0.1034,
                "squad_weight_total": 0.779,
                "weight_share": 0.1327,
                "creation_factor": 0.9232,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13
              }
            }
          ]
        },
        "Peio Canales": {
          "player_id": 1464648,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 28,
          "height": 175,
          "market_value": 9700000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0734,
            "assist_rate": 0.0827,
            "assists": 0,
            "expected_goals": 0.0884,
            "goal_rate": 0.0761,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8825,
            "minutes": 88,
            "total_pass": 31,
            "accurate_pass": 27,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 13,
            "accurate_own_half_passes": 12,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 14,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 39,
            "possession_lost": 6.4527,
            "dispossessed": 0.4204,
            "duels_lost": 2,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.018,
            "ball_carries": 14,
            "total_progression": 44,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "opponent_faced": "Isi Palazón",
            "matchup_zone": "Midfield lane",
            "antagonist_source": "midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0846,
            "projected_assists": 0,
            "assist_probability": 0.0708,
            "finishing_factor": 0.941,
            "creation_factor": 0.9089,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 15,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0337,
                "expected_assists": 0.0243,
                "total_shots": 1,
                "total_pass": 21,
                "accurate_pass": 20,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 25,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0058,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0116,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 26,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1649,
                "expected_assists": 0.2617,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 69,
                "accurate_pass": 60,
                "key_pass": 3,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4167,
            "combined_rank_score": 2176.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 856.0,
            "sofascore_rating": 6.5667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3497.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8825,
            "source_file": "data/player_rankings.csv",
            "player_name": "Peio Canales",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Carlos Forbs",
                  "ranking": 4162
                },
                {
                  "player_name": "Kees Smit",
                  "ranking": 4163
                },
                {
                  "player_name": "Tjaronn Chery",
                  "ranking": 4164
                },
                {
                  "player_name": "Nick Olij",
                  "ranking": 4165
                },
                {
                  "player_name": "Anel Ahmedhodžić",
                  "ranking": 4166
                }
              ],
              "lower": [
                {
                  "player_name": "Vasilios Barkas",
                  "ranking": 4168
                },
                {
                  "player_name": "Charles Vanhoutte",
                  "ranking": 4169
                },
                {
                  "player_name": "Allan",
                  "ranking": 4170
                },
                {
                  "player_name": "Yoann Cathline",
                  "ranking": 4171
                },
                {
                  "player_name": "Mika Mármol",
                  "ranking": 4172
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.523,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.523,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0023,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 206.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.31,
              "shots_on_target_pct": 66.7,
              "prior_reliability": 0.1533
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.15, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.2329,
                "expected_assists": 0.0958,
                "assists": 0.0873,
                "assist_rate": 0.0873,
                "expected_goals": 0.0838,
                "goals": 0.0804,
                "goal_rate": 0.0804,
                "shots_on_target": 0.3663,
                "total_shots": 1.0909,
                "rating": 6.8825,
                "minutes": 88.0,
                "total_pass": 30.5706,
                "accurate_pass": 26.6685,
                "duels_won": 2.6498,
                "total_long_balls": 1.2398,
                "accurate_long_balls": 0.6276,
                "total_own_half_passes": 13.0746,
                "accurate_own_half_passes": 12.4624,
                "total_opp_half_passes": 17.496,
                "accurate_opp_half_passes": 14.206,
                "crosses_total": 1.1527,
                "crosses_accurate": 0.1927,
                "touches": 38.5587,
                "possession_lost": 6.4379,
                "dispossessed": 0.4194,
                "duels_lost": 1.8025,
                "aerial_won": 0.3138,
                "aerial_lost": 0.0,
                "interceptions": 0.2267,
                "tackles_won": 0.4535,
                "tackles": 0.4535,
                "clearances": 0.2667,
                "total_contest": 1.5418,
                "won_contest": 0.7709,
                "challenges_lost": 0.4194,
                "fouls": 0.1927,
                "fouls_drawn": 1.1116,
                "blocks": 0.0,
                "big_chances_created": 0.2809,
                "big_chances_missed": 0.0,
                "xgot": 0.0171,
                "ball_carries": 14.0123,
                "total_progression": 44.0953,
                "progressive_carries": 1.0847,
                "shots_off_target": 0.7245
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-09T10:04:11.914604+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.892,
                  "creative_index": 0.4848,
                  "expectedGoals": 0.0424,
                  "expectedAssists": 0.0622,
                  "onTargetScoringAttempt": 0.3854
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.2328755855560303,
                    "model_output": 1.2329,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1268
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.1007
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0582
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0531
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0359
                        }
                      ],
                      "others": 0.15,
                      "total": 1.2329,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.133739
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.094782
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.050956
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.046342
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.032576
                        }
                      ],
                      "others_margin": 0.129605
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.09581192582845688,
                    "model_output": 0.0958,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0119
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0073
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0049
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0043
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0039
                        }
                      ],
                      "others": 0.0099,
                      "total": 0.0958,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.12987
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.078166
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.056063
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.049245
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.04476
                        }
                      ],
                      "others_margin": 0.110553
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08726294338703156,
                    "model_output": 0.0873,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.01
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0068
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0069
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0043
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0041
                        }
                      ],
                      "others": -0.0014,
                      "total": 0.0873,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.124731
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.086127
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.080263
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.049046
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.047594
                        }
                      ],
                      "others_margin": -0.01663
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08376415073871613,
                    "model_output": 0.0838,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0126
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0108
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.008
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0052
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0045
                        }
                      ],
                      "others": -0.0051,
                      "total": 0.0838,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.125348
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.106558
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.086763
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.057669
                        },
                        {
                          "name": "goals",
                          "margin": -0.04911
                        }
                      ],
                      "others_margin": -0.060418
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.08036790788173676,
                    "model_output": 0.0804,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0129
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0102
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0086
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0085
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0055
                        }
                      ],
                      "others": -0.0091,
                      "total": 0.0804,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.141932
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.113154
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.08661
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.085603
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.059452
                        }
                      ],
                      "others_margin": -0.107504
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.36633747816085815,
                    "model_output": 0.3663,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0457
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.038
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0258
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0173
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0106
                        }
                      ],
                      "others": -0.0223,
                      "total": 0.3663,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.132083
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.097886
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.065435
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.044193
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.026965
                        }
                      ],
                      "others_margin": -0.058921
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0908818244934082,
                    "model_output": 1.0909,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1484
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0508
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.044
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0256
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0202
                        }
                      ],
                      "others": -0.087,
                      "total": 1.0909,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.148431
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.050808
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.04398
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.025607
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.02023
                        }
                      ],
                      "others_margin": -0.087022
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.882548809051514,
                    "model_output": 6.8825,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0458
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.035
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0329
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0148
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0146
                        }
                      ],
                      "others": -0.0179,
                      "total": 6.8825,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.045845
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.035003
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.032913
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.014848
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.014555
                        }
                      ],
                      "others_margin": -0.017796
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 4,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0023, quality 0.519)",
              "stats": {
                "key_pass": 1.2357,
                "expected_assists": 0.096,
                "assists": 0.0875,
                "assist_rate": 0.0875,
                "expected_goals": 0.084,
                "goals": 0.0806,
                "goal_rate": 0.0806,
                "shots_on_target": 0.3672,
                "total_shots": 1.0934,
                "rating": 6.8825,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1554,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.3145,
                "aerial_lost": 0.0,
                "interceptions": 0.2272,
                "tackles_won": 0.4545,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.1931,
                "fouls_drawn": 1.1142,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.0171,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.7262
              },
              "params": {
                "market_value_eur": 9700000,
                "quality_factor": 0.5189,
                "boost_factor": 1.0023,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0554)",
              "stats": {
                "key_pass": 1.2357,
                "expected_assists": 0.096,
                "assists": 0.0827,
                "assist_rate": 0.0827,
                "expected_goals": 0.084,
                "goals": 0.0761,
                "goal_rate": 0.0761,
                "shots_on_target": 0.394,
                "total_shots": 1.1038,
                "rating": 6.8825,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1856,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.3145,
                "aerial_lost": 0.0,
                "interceptions": 0.2382,
                "tackles_won": 0.4764,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.2059,
                "fouls_drawn": 1.1467,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.0171,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.7262
              },
              "params": {
                "blend_weight": 0.0554,
                "history_matches": 4,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9778,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 1.1142,
                  "after": 1.1467
                },
                {
                  "stat": "totalCross",
                  "before": 1.1554,
                  "after": 1.1856
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3672,
                  "after": 0.394
                },
                {
                  "stat": "wonTackle",
                  "before": 0.4545,
                  "after": 0.4764
                },
                {
                  "stat": "fouls",
                  "before": 0.1931,
                  "after": 0.2059
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.2272,
                  "after": 0.2382
                },
                {
                  "stat": "totalShots",
                  "before": 1.0934,
                  "after": 1.1038
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.2357,
                "expected_assists": 0.096,
                "assists": 0.0827,
                "assist_rate": 0.0827,
                "expected_goals": 0.084,
                "goals": 0.0761,
                "goal_rate": 0.0761,
                "shots_on_target": 0.394,
                "total_shots": 1.1202,
                "rating": 6.8825,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1856,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.3145,
                "aerial_lost": 0.0,
                "interceptions": 0.2382,
                "tackles_won": 0.4545,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.2059,
                "fouls_drawn": 1.1467,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.0171,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.7262
              },
              "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.2357,
                "expected_assists": 0.096,
                "assists": 0.0827,
                "assist_rate": 0.0827,
                "expected_goals": 0.084,
                "goals": 0.0761,
                "goal_rate": 0.0761,
                "shots_on_target": 0.394,
                "total_shots": 1.1202,
                "rating": 6.8825,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1856,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.3145,
                "aerial_lost": 0.0,
                "interceptions": 0.2382,
                "tackles_won": 0.4545,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.2059,
                "fouls_drawn": 1.1467,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.0171,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.7262,
                "opponent_faced": "Isi Palazón",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Isi Palazón",
                  "matchup_zone": "Midfield lane"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "key_pass": 1.2357,
                "expected_assists": 0.0734,
                "assist_rate": 0.0827,
                "assists": 0,
                "expected_goals": 0.0884,
                "goal_rate": 0.0761,
                "goals": 0,
                "shots_on_target": 0.394,
                "total_shots": 1.1202,
                "rating": 6.8825,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1856,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.3145,
                "aerial_lost": 0.0,
                "interceptions": 0.2382,
                "tackles_won": 0.4545,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.2059,
                "fouls_drawn": 1.1467,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.018,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.7262,
                "opponent_faced": "Isi Palazón",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.941,
                "creation_factor": 0.9089
              },
              "params": {
                "team_lambda": 1.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.096,
                  "after": 0.0734
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 9 by projected rating, fifa_overall 73.0; not used by the projection)",
              "stats": {
                "key_pass": 1.2357,
                "expected_assists": 0.0734,
                "assist_rate": 0.0827,
                "assists": 0,
                "expected_goals": 0.0884,
                "goal_rate": 0.0761,
                "goals": 0,
                "shots_on_target": 0.394,
                "total_shots": 1.1202,
                "rating": 6.8825,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1856,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.3145,
                "aerial_lost": 0.0,
                "interceptions": 0.2382,
                "tackles_won": 0.4545,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.2059,
                "fouls_drawn": 1.1467,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.018,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.7262,
                "opponent_faced": "Isi Palazón",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.941,
                "creation_factor": 0.9089,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4167,
                "fifa_rank": 3497.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1.2357,
                "expected_assists": 0.0734,
                "assist_rate": 0.0827,
                "assists": 0,
                "expected_goals": 0.0884,
                "goal_rate": 0.0761,
                "goals": 0,
                "shots_on_target": 0.394,
                "total_shots": 1.1202,
                "rating": 6.8825,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1856,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.3145,
                "aerial_lost": 0.0,
                "interceptions": 0.2382,
                "tackles_won": 0.4545,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.2059,
                "fouls_drawn": 1.1467,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.018,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.7262,
                "opponent_faced": "Isi Palazón",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0846,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.941,
                "creation_factor": 0.9089,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0846,
                "scorer_weight": 0.0832,
                "squad_weight_total": 1.0169,
                "weight_share": 0.0818,
                "finishing_factor": 0.941,
                "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": 1.2357,
                "expected_assists": 0.0734,
                "assist_rate": 0.0827,
                "assists": 0,
                "expected_goals": 0.0884,
                "goal_rate": 0.0761,
                "goals": 0,
                "shots_on_target": 0.394,
                "total_shots": 1.1202,
                "rating": 6.8825,
                "minutes": 88.0,
                "total_pass": 30.6409,
                "accurate_pass": 26.7298,
                "duels_won": 2.6559,
                "total_long_balls": 1.2427,
                "accurate_long_balls": 0.629,
                "total_own_half_passes": 13.1047,
                "accurate_own_half_passes": 12.4911,
                "total_opp_half_passes": 17.5362,
                "accurate_opp_half_passes": 14.2387,
                "crosses_total": 1.1856,
                "crosses_accurate": 0.1931,
                "touches": 38.6474,
                "possession_lost": 6.4527,
                "dispossessed": 0.4204,
                "duels_lost": 1.8066,
                "aerial_won": 0.3145,
                "aerial_lost": 0.0,
                "interceptions": 0.2382,
                "tackles_won": 0.4545,
                "tackles": 0.4545,
                "clearances": 0.2673,
                "total_contest": 1.5453,
                "won_contest": 0.7727,
                "challenges_lost": 0.4204,
                "fouls": 0.2059,
                "fouls_drawn": 1.1467,
                "blocks": 0.0,
                "big_chances_created": 0.2815,
                "big_chances_missed": 0.0,
                "xgot": 0.018,
                "ball_carries": 14.0445,
                "total_progression": 44.1967,
                "progressive_carries": 1.0872,
                "shots_off_target": 0.7262,
                "opponent_faced": "Isi Palazón",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0846,
                "projected_assists": 0,
                "assist_probability": 0.0708,
                "finishing_factor": 0.941,
                "creation_factor": 0.9089,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0708,
                "provider_weight": 0.0667,
                "squad_weight_total": 0.779,
                "weight_share": 0.0856,
                "creation_factor": 0.9089,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13
              }
            }
          ]
        },
        "Iñaki Williams": {
          "player_id": 783374,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 9,
          "height": 186,
          "market_value": 7300000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1002,
            "assist_rate": 0.1943,
            "assists": 0,
            "expected_goals": 0.3038,
            "goal_rate": 0.3207,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 3,
            "rating": 6.7485,
            "minutes": 72,
            "total_pass": 12,
            "accurate_pass": 7,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 9.331,
            "dispossessed": 0.7532,
            "duels_lost": 5,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "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.3131,
            "ball_carries": 6,
            "total_progression": 25,
            "progressive_carries": 1,
            "shots_off_target": 2,
            "duel_xg_multiplier": 1.0556,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.3,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.498,
            "pressing_faced": "LOW",
            "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pathé Ismaël Ciss",
            "opponent_faced": "Pathé Ismaël Ciss",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.262,
            "projected_assists": 0,
            "assist_probability": 0.0953,
            "finishing_factor": 1.0951,
            "creation_factor": 1.25,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1997,
                "expected_assists": 0.001,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 5,
                "accurate_pass": 4,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 81,
                "rating": 6.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.3179,
                "expected_assists": 0.0008,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 6,
                "accurate_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 66,
                "rating": 6.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1691,
                "expected_assists": 0.0271,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 8,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 65,
                "rating": 6.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.686,
                "expected_assists": 0.0255,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 13,
                "accurate_pass": 8,
                "key_pass": 1,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 60,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 58,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1497,
                "expected_assists": 0.0233,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 12,
                "accurate_pass": 8,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_assists": 0.5147,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 5,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 86,
                "rating": 6.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.1391,
                "expected_assists": 0.0493,
                "total_shots": 7,
                "shots_on_target": 3,
                "shots_off_target": 3,
                "total_pass": 17,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 63,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2513,
                "expected_assists": 0.0395,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "key_pass": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 54,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1708,
                "expected_assists": 0.1005,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 10,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "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": 2065,
            "combined_rank_score": 785.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 821.0,
            "sofascore_rating": 6.6033,
            "sofascore_appearances": 30.0,
            "fifa_rank": 749.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7485,
            "source_file": "data/player_rankings.csv",
            "player_name": "Iñaki Williams",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jonas Weissenhofer",
                  "ranking": 2060
                },
                {
                  "player_name": "Manolis Siopis",
                  "ranking": 2061
                },
                {
                  "player_name": "Diego Antonio Sabando Sanhueza",
                  "ranking": 2062
                },
                {
                  "player_name": "Lee Kyu-Min",
                  "ranking": 2063
                },
                {
                  "player_name": "Salem Al Dawsari",
                  "ranking": 2064
                }
              ],
              "lower": [
                {
                  "player_name": "Youssef En-Nesyri",
                  "ranking": 2066
                },
                {
                  "player_name": "Dominic Calvert-Lewin",
                  "ranking": 2067
                },
                {
                  "player_name": "Kim Jong-Seok",
                  "ranking": 2068
                },
                {
                  "player_name": "Ariel Cáceres",
                  "ranking": 2069
                },
                {
                  "player_name": "Lucas Zelarayán",
                  "ranking": 2070
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.77,
          "history_matches": 36,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "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": 36,
            "data_confidence": 0.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9995,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 180.0,
              "goals_per90": 0.0,
              "assists_per90": 0.5,
              "shots_per90": 2.0,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (M_service) evaluated 36 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.13, gls/90: 0.0, ast/90: 0.5)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.22,
                "expected_assists": 0.1312,
                "assists": 0.1922,
                "assist_rate": 0.1922,
                "expected_goals": 0.2734,
                "goals": 0.3071,
                "goal_rate": 0.3071,
                "shots_on_target": 0.9923,
                "total_shots": 2.4398,
                "rating": 6.7485,
                "minutes": 71.57,
                "total_pass": 11.5187,
                "accurate_pass": 7.1582,
                "duels_won": 2.7633,
                "total_long_balls": 0.2868,
                "accurate_long_balls": 0.0072,
                "total_own_half_passes": 2.6845,
                "accurate_own_half_passes": 2.119,
                "total_opp_half_passes": 8.8342,
                "accurate_opp_half_passes": 5.0392,
                "crosses_total": 1.2812,
                "crosses_accurate": 0.2304,
                "touches": 23.1005,
                "possession_lost": 9.3357,
                "dispossessed": 0.7536,
                "duels_lost": 4.6675,
                "aerial_won": 0.9696,
                "aerial_lost": 1.4569,
                "interceptions": 0.303,
                "tackles_won": 0.4449,
                "tackles": 0.5521,
                "clearances": 0.4007,
                "total_contest": 1.6364,
                "won_contest": 0.5723,
                "challenges_lost": 0.3656,
                "fouls": 1.0312,
                "fouls_drawn": 0.6694,
                "blocks": 0.1153,
                "big_chances_created": 0.2983,
                "big_chances_missed": 0.4188,
                "xgot": 0.2818,
                "ball_carries": 6.4897,
                "total_progression": 25.0121,
                "progressive_carries": 1.4453,
                "shots_off_target": 1.4475
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-09T10:04:11.914604+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 54.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 2.124,
                  "creative_index": 0.4028,
                  "expectedGoals": 0.3865,
                  "expectedAssists": 0.0724,
                  "onTargetScoringAttempt": 0.7215
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.2199910879135132,
                    "model_output": 1.22,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1291
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0599
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0437
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0414
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0402
                        }
                      ],
                      "others": 0.0999,
                      "total": 1.22,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.136046
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.057343
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.039797
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.036369
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.035292
                        }
                      ],
                      "others_margin": 0.085395
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.13121464848518372,
                    "model_output": 0.1312,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0108
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0077
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0057
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0058
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0054
                        }
                      ],
                      "others": 0.01,
                      "total": 0.1312,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.119003
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.07637
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.053591
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.051219
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.045608
                        }
                      ],
                      "others_margin": 0.079335
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.19217339158058167,
                    "model_output": 0.1922,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0166
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.011
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0115
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0093
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0087
                        }
                      ],
                      "others": 0.0499,
                      "total": 0.1922,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.177589
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.103049
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.097326
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.072453
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.063193
                        }
                      ],
                      "others_margin": 0.29944
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.27340278029441833,
                    "model_output": 0.2734,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0482
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0227
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0219
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.02
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0162
                        }
                      ],
                      "others": 0.05,
                      "total": 0.2734,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.412547
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.147409
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124476
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.101486
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.075467
                        }
                      ],
                      "others_margin": 0.201723
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.3071238398551941,
                    "model_output": 0.3071,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0395
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0237
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0178
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0192
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0167
                        }
                      ],
                      "others": 0.0926,
                      "total": 0.3071,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.339339
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.159399
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.104838
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.102209
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.081221
                        }
                      ],
                      "others_margin": 0.358904
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.9923194050788879,
                    "model_output": 0.9923,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1052
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0761
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0781
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0694
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0735
                        }
                      ],
                      "others": 0.266,
                      "total": 0.9923,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.28109
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.163332
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.143803
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.112354
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.106637
                        }
                      ],
                      "others_margin": 0.312113
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.4398159980773926,
                    "model_output": 2.4398,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.6227
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.2233
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2155
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0957
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0887
                        }
                      ],
                      "others": 0.2034,
                      "total": 2.4398,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.62275
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.223302
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.215492
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.095676
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.088651
                        }
                      ],
                      "others_margin": 0.20348
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.74849271774292,
                    "model_output": 6.7485,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0683
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0418
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0396
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.034
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0247
                        }
                      ],
                      "others": -0.025,
                      "total": 6.7485,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.068306
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.041825
                        },
                        {
                          "name": "rating",
                          "margin": -0.039641
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.033969
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.024689
                        }
                      ],
                      "others_margin": -0.024975
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 36,
                  "role_matches": 31,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9995, quality 0.490)",
              "stats": {
                "key_pass": 1.2194,
                "expected_assists": 0.1311,
                "assists": 0.1921,
                "assist_rate": 0.1921,
                "expected_goals": 0.2733,
                "goals": 0.307,
                "goal_rate": 0.307,
                "shots_on_target": 0.9918,
                "total_shots": 2.4386,
                "rating": 6.7485,
                "minutes": 71.57,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_own_half_passes": 2.6832,
                "accurate_own_half_passes": 2.1179,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2806,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_won": 0.9691,
                "aerial_lost": 1.4562,
                "interceptions": 0.3028,
                "tackles_won": 0.4447,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "challenges_lost": 0.3654,
                "fouls": 1.0307,
                "fouls_drawn": 0.6691,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4186,
                "xgot": 0.2817,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.4468
              },
              "params": {
                "market_value_eur": 7300000,
                "quality_factor": 0.4903,
                "boost_factor": 0.9995,
                "reference_quality": 0.505,
                "history_matches": 36,
                "history_shrink": 0.122,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0106)",
              "stats": {
                "key_pass": 1.2194,
                "expected_assists": 0.1311,
                "assists": 0.1943,
                "assist_rate": 0.1943,
                "expected_goals": 0.2733,
                "goals": 0.3038,
                "goal_rate": 0.3038,
                "shots_on_target": 0.9981,
                "total_shots": 2.4296,
                "rating": 6.7485,
                "minutes": 71.57,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_own_half_passes": 2.6832,
                "accurate_own_half_passes": 2.1179,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2755,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_won": 0.9691,
                "aerial_lost": 1.4562,
                "interceptions": 0.2996,
                "tackles_won": 0.4484,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "challenges_lost": 0.3654,
                "fouls": 1.024,
                "fouls_drawn": 0.6746,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4186,
                "xgot": 0.2817,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.4468
              },
              "params": {
                "blend_weight": 0.0106,
                "history_matches": 36,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.7952,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.4386,
                  "after": 2.4296
                },
                {
                  "stat": "fouls",
                  "before": 1.0307,
                  "after": 1.024
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.9918,
                  "after": 0.9981
                },
                {
                  "stat": "wasFouled",
                  "before": 0.6691,
                  "after": 0.6746
                },
                {
                  "stat": "totalCross",
                  "before": 1.2806,
                  "after": 1.2755
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.2194,
                "expected_assists": 0.1311,
                "assists": 0.1943,
                "assist_rate": 0.1943,
                "expected_goals": 0.2733,
                "goals": 0.3038,
                "goal_rate": 0.3038,
                "shots_on_target": 0.9981,
                "total_shots": 2.4449,
                "rating": 6.7485,
                "minutes": 71.57,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_own_half_passes": 2.6832,
                "accurate_own_half_passes": 2.1179,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2755,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_won": 0.9691,
                "aerial_lost": 1.4562,
                "interceptions": 0.2996,
                "tackles_won": 0.4484,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "challenges_lost": 0.3654,
                "fouls": 1.024,
                "fouls_drawn": 0.6746,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4186,
                "xgot": 0.2817,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.4468
              },
              "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.2194,
                "expected_assists": 0.1311,
                "assists": 0.1943,
                "assist_rate": 0.1943,
                "expected_goals": 0.2885,
                "goals": 0.3207,
                "goal_rate": 0.3207,
                "shots_on_target": 1.0536,
                "total_shots": 2.5808,
                "rating": 6.7485,
                "minutes": 71.57,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_own_half_passes": 2.6832,
                "accurate_own_half_passes": 2.1179,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2755,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_won": 1.2,
                "aerial_lost": 1.4562,
                "interceptions": 0.2996,
                "tackles_won": 0.4484,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "challenges_lost": 0.3654,
                "fouls": 1.024,
                "fouls_drawn": 0.6746,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4419,
                "xgot": 0.2974,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.5272,
                "duel_xg_multiplier": 1.0556,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.498,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pathé Ismaël Ciss",
                "opponent_faced": "Pathé Ismaël Ciss",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pathé Ismaël Ciss",
                  "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                  "duel_win_rate": 0.498,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0556,
                  "skill_edge": 0.0259,
                  "height_edge": 0.012,
                  "attacker_skill": 0.4949,
                  "defender_skill": 0.4374,
                  "attacker_role": "CAM",
                  "attacker_mv_price_index": 0.95,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pathé Ismaël Ciss",
                      "market_value": 1600000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.2885
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.9691,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 2.4449,
                  "after": 2.5808
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.4468,
                  "after": 1.5272
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.9981,
                  "after": 1.0536
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.4186,
                  "after": 0.4419
                },
                {
                  "stat": "goals",
                  "before": 0.3038,
                  "after": 0.3207
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.2817,
                  "after": 0.2974
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2733,
                  "after": 0.2885
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "key_pass": 1.2194,
                "expected_assists": 0.1002,
                "assist_rate": 0.1943,
                "assists": 0,
                "expected_goals": 0.3038,
                "goal_rate": 0.3207,
                "goals": 0,
                "shots_on_target": 1.0536,
                "total_shots": 2.5808,
                "rating": 6.7485,
                "minutes": 71.57,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_own_half_passes": 2.6832,
                "accurate_own_half_passes": 2.1179,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2755,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_won": 1.2,
                "aerial_lost": 1.4562,
                "interceptions": 0.2996,
                "tackles_won": 0.4484,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "challenges_lost": 0.3654,
                "fouls": 1.024,
                "fouls_drawn": 0.6746,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4419,
                "xgot": 0.3131,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.5272,
                "duel_xg_multiplier": 1.0556,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.498,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pathé Ismaël Ciss",
                "opponent_faced": "Pathé Ismaël Ciss",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0951,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2885,
                  "after": 0.3038
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1311,
                  "after": 0.1002
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "key_pass": 1.2194,
                "expected_assists": 0.1002,
                "assist_rate": 0.1943,
                "assists": 0,
                "expected_goals": 0.3038,
                "goal_rate": 0.3207,
                "goals": 0,
                "shots_on_target": 1.0536,
                "total_shots": 2.5808,
                "rating": 6.7485,
                "minutes": 71.57,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_own_half_passes": 2.6832,
                "accurate_own_half_passes": 2.1179,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2755,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_won": 1.2,
                "aerial_lost": 1.4562,
                "interceptions": 0.2996,
                "tackles_won": 0.4484,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "challenges_lost": 0.3654,
                "fouls": 1.024,
                "fouls_drawn": 0.6746,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4419,
                "xgot": 0.3131,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.5272,
                "duel_xg_multiplier": 1.0556,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.498,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pathé Ismaël Ciss",
                "opponent_faced": "Pathé Ismaël Ciss",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0951,
                "creation_factor": 1.25,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2065,
                "fifa_rank": 749.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1.2194,
                "expected_assists": 0.1002,
                "assist_rate": 0.1943,
                "assists": 0,
                "expected_goals": 0.3038,
                "goal_rate": 0.3207,
                "goals": 0,
                "shots_on_target": 1.0536,
                "total_shots": 2.5808,
                "rating": 6.7485,
                "minutes": 71.57,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_own_half_passes": 2.6832,
                "accurate_own_half_passes": 2.1179,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2755,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_won": 1.2,
                "aerial_lost": 1.4562,
                "interceptions": 0.2996,
                "tackles_won": 0.4484,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "challenges_lost": 0.3654,
                "fouls": 1.024,
                "fouls_drawn": 0.6746,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4419,
                "xgot": 0.3131,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.5272,
                "duel_xg_multiplier": 1.0556,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.498,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pathé Ismaël Ciss",
                "opponent_faced": "Pathé Ismaël Ciss",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.262,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0951,
                "creation_factor": 1.25,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.262,
                "scorer_weight": 0.3327,
                "squad_weight_total": 1.0169,
                "weight_share": 0.3271,
                "finishing_factor": 1.0951,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1.2194,
                "expected_assists": 0.1002,
                "assist_rate": 0.1943,
                "assists": 0,
                "expected_goals": 0.3038,
                "goal_rate": 0.3207,
                "goals": 0,
                "shots_on_target": 1.0536,
                "total_shots": 2.5808,
                "rating": 6.7485,
                "minutes": 71.57,
                "total_pass": 11.5129,
                "accurate_pass": 7.1546,
                "duels_won": 2.7619,
                "total_long_balls": 0.2867,
                "accurate_long_balls": 0.0072,
                "total_own_half_passes": 2.6832,
                "accurate_own_half_passes": 2.1179,
                "total_opp_half_passes": 8.8298,
                "accurate_opp_half_passes": 5.0367,
                "crosses_total": 1.2755,
                "crosses_accurate": 0.2303,
                "touches": 23.0889,
                "possession_lost": 9.331,
                "dispossessed": 0.7532,
                "duels_lost": 4.6652,
                "aerial_won": 1.2,
                "aerial_lost": 1.4562,
                "interceptions": 0.2996,
                "tackles_won": 0.4484,
                "tackles": 0.5518,
                "clearances": 0.4005,
                "total_contest": 1.6356,
                "won_contest": 0.572,
                "challenges_lost": 0.3654,
                "fouls": 1.024,
                "fouls_drawn": 0.6746,
                "blocks": 0.1152,
                "big_chances_created": 0.2982,
                "big_chances_missed": 0.4419,
                "xgot": 0.3131,
                "ball_carries": 6.4865,
                "total_progression": 24.9996,
                "progressive_carries": 1.4446,
                "shots_off_target": 1.5272,
                "duel_xg_multiplier": 1.0556,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.498,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pathé Ismaël Ciss",
                "opponent_faced": "Pathé Ismaël Ciss",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.262,
                "projected_assists": 0,
                "assist_probability": 0.0953,
                "finishing_factor": 1.0951,
                "creation_factor": 1.25,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0953,
                "provider_weight": 0.1253,
                "squad_weight_total": 0.779,
                "weight_share": 0.1608,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13
              }
            }
          ]
        },
        "Álex Berenguer": {
          "player_id": 592012,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 7,
          "height": 175,
          "market_value": 4099999,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1073,
            "assist_rate": 0.1335,
            "assists": 0,
            "expected_goals": 0.0728,
            "goal_rate": 0.0774,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9071,
            "minutes": 84,
            "total_pass": 32,
            "accurate_pass": 24,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 10,
            "accurate_own_half_passes": 8,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 17,
            "crosses_total": 6,
            "crosses_accurate": 1,
            "touches": 55,
            "possession_lost": 19.3186,
            "dispossessed": 1.7208,
            "duels_lost": 7,
            "aerial_won": 1,
            "aerial_lost": 2,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 3,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1803,
            "ball_carries": 14,
            "total_progression": 54,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.7698,
            "dribbles_attempted": 3,
            "dribbles_successful": 0.9,
            "crosses_attempted": 1.9,
            "duel_win_rate": 0.323,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Andrei Rațiu",
            "opponent_faced": "Andrei Rațiu",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0702,
            "projected_assists": 0,
            "assist_probability": 0.1017,
            "finishing_factor": 1.0697,
            "creation_factor": 0.9643,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 28,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.017,
                "expected_assists": 0.1394,
                "total_shots": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 18,
                "rating": 7.5,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.234,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7,
                "key_pass": 2,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 24,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 4,
                "tackles": 1,
                "interceptions": 2,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.089,
                "expected_assists": 0.4139,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 37,
                "accurate_pass": 29,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 30,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.028,
                "expected_assists": 0.0496,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 3,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.052,
                "expected_assists": 0.1058,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 49,
                "accurate_pass": 42,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 82,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0421,
                "expected_assists": 0.0304,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3488,
                "expected_assists": 0.0676,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 4,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 6,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 25,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1179,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 12,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 20,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0562,
                "expected_assists": 0.0632,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 8,
                "key_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "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": 600,
            "combined_rank_score": 436.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 310.0,
            "sofascore_rating": 7.0333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 563.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9071,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álex Berenguer",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Claudio Sepúlveda",
                  "ranking": 595
                },
                {
                  "player_name": "Juan Manuel Requena",
                  "ranking": 596
                },
                {
                  "player_name": "Siavash Haghnazari",
                  "ranking": 597
                },
                {
                  "player_name": "Andreas Pereira",
                  "ranking": 598
                },
                {
                  "player_name": "Pavel Zabelin",
                  "ranking": 599
                }
              ],
              "lower": [
                {
                  "player_name": "Nonato",
                  "ranking": 601
                },
                {
                  "player_name": "Charles De Ketelaere",
                  "ranking": 602
                },
                {
                  "player_name": "Andrej Kramarić",
                  "ranking": 603
                },
                {
                  "player_name": "Daniel Muñoz",
                  "ranking": 604
                },
                {
                  "player_name": "Nemanja Ćalasan",
                  "ranking": 605
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.773,
          "history_matches": 37,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "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": 37,
            "data_confidence": 0.773,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9981,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 211.0,
              "goals_per90": 0.4347826086956522,
              "assists_per90": 0.0,
              "shots_per90": 2.13,
              "shots_on_target_pct": 40.0,
              "prior_reliability": 0.1533
            },
            "rationale": "XGBoost regressor (M_service) evaluated 37 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Athletic Club, rel: 0.15, gls/90: 0.4347826086956522, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.4366,
                "expected_assists": 0.1406,
                "assists": 0.1354,
                "assist_rate": 0.1354,
                "expected_goals": 0.09,
                "goals": 0.0971,
                "goal_rate": 0.0971,
                "shots_on_target": 0.3694,
                "total_shots": 1.2007,
                "rating": 6.9071,
                "minutes": 83.87,
                "total_pass": 31.6036,
                "accurate_pass": 24.528,
                "duels_won": 4.0633,
                "total_long_balls": 3.0489,
                "accurate_long_balls": 1.2622,
                "total_own_half_passes": 9.6329,
                "accurate_own_half_passes": 7.9354,
                "total_opp_half_passes": 21.9707,
                "accurate_opp_half_passes": 16.5926,
                "crosses_total": 6.4783,
                "crosses_accurate": 1.2089,
                "touches": 55.5786,
                "possession_lost": 19.3554,
                "dispossessed": 1.7241,
                "duels_lost": 6.5371,
                "aerial_won": 1.5172,
                "aerial_lost": 1.5651,
                "interceptions": 0.6203,
                "tackles_won": 0.99,
                "tackles": 1.1072,
                "clearances": 0.7311,
                "total_contest": 2.6704,
                "won_contest": 0.8146,
                "challenges_lost": 0.5605,
                "fouls": 0.9607,
                "fouls_drawn": 0.6399,
                "blocks": 0.0933,
                "big_chances_created": 0.2552,
                "big_chances_missed": 0.1492,
                "xgot": 0.2228,
                "ball_carries": 14.4307,
                "total_progression": 54.3887,
                "progressive_carries": 2.4358,
                "shots_off_target": 0.8313
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-09T10:04:11.914604+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1504,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.1278,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.1086,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0785,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.0163,
                  "creative_index": 0.7388,
                  "expectedGoals": 0.0655,
                  "expectedAssists": 0.1441,
                  "onTargetScoringAttempt": 0.3062
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.4365535974502563,
                    "model_output": 1.4366,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1259
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.142
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.092
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0911
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.046
                        }
                      ],
                      "others": 0.1454,
                      "total": 1.4366,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.132858
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.131271
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.076708
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.070567
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.035044
                        }
                      ],
                      "others_margin": 0.106701
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.14060582220554352,
                    "model_output": 0.1406,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0133
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0121
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0121
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0057
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0053
                        }
                      ],
                      "others": 0.0063,
                      "total": 0.1406,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.144139
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.115434
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.10363
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.044978
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.04006
                        }
                      ],
                      "others_margin": 0.04601
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.13535815477371216,
                    "model_output": 0.1354,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0116
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0073
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0076
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0075
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0048
                        }
                      ],
                      "others": 0.021,
                      "total": 0.1354,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.127162
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.072899
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.070281
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.065138
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.041416
                        }
                      ],
                      "others_margin": 0.168511
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08997967839241028,
                    "model_output": 0.09,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0133
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0096
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0038
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0036
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0029
                        }
                      ],
                      "others": 0.0022,
                      "total": 0.09,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.131767
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.093287
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.039191
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.038775
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.032872
                        }
                      ],
                      "others_margin": 0.024104
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.09708783030509949,
                    "model_output": 0.0971,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0124
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0101
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0064
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0048
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0047
                        }
                      ],
                      "others": -0.0013,
                      "total": 0.0971,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.136155
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.112281
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.069117
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.052838
                        },
                        {
                          "name": "goals",
                          "margin": 0.048863
                        }
                      ],
                      "others_margin": -0.014437
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3693675696849823,
                    "model_output": 0.3694,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.048
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0168
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0168
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0167
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0074
                        }
                      ],
                      "others": 0.0067,
                      "total": 0.3694,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.138033
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.046357
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.046132
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.046039
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.020519
                        }
                      ],
                      "others_margin": 0.018788
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.2006269693374634,
                    "model_output": 1.2006,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1571
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0436
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0269
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0236
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0215
                        }
                      ],
                      "others": 0.0246,
                      "total": 1.2006,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.157143
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.043602
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.026911
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.023645
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.021471
                        }
                      ],
                      "others_margin": 0.024594
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.907093524932861,
                    "model_output": 6.9071,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0348
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0157
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0148
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0087
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0079
                        }
                      ],
                      "others": 0.0077,
                      "total": 6.9071,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.034786
                        },
                        {
                          "name": "rating",
                          "margin": -0.015702
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.014826
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.008676
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.007904
                        }
                      ],
                      "others_margin": 0.007733
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 37,
                  "role_matches": 27,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9981, quality 0.451)",
              "stats": {
                "key_pass": 1.4338,
                "expected_assists": 0.1403,
                "assists": 0.1351,
                "assist_rate": 0.1351,
                "expected_goals": 0.0898,
                "goals": 0.0969,
                "goal_rate": 0.0969,
                "shots_on_target": 0.3687,
                "total_shots": 1.1984,
                "rating": 6.9071,
                "minutes": 83.87,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 9.6146,
                "accurate_own_half_passes": 7.9203,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.466,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_won": 1.5143,
                "aerial_lost": 1.5621,
                "interceptions": 0.6191,
                "tackles_won": 0.9881,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "challenges_lost": 0.5594,
                "fouls": 0.9589,
                "fouls_drawn": 0.6387,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1489,
                "xgot": 0.2224,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.8297
              },
              "params": {
                "market_value_eur": 4099999,
                "quality_factor": 0.4511,
                "boost_factor": 0.9981,
                "reference_quality": 0.505,
                "history_matches": 37,
                "history_shrink": 0.119,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0119)",
              "stats": {
                "key_pass": 1.4338,
                "expected_assists": 0.1403,
                "assists": 0.1335,
                "assist_rate": 0.1335,
                "expected_goals": 0.0898,
                "goals": 0.1006,
                "goal_rate": 0.1006,
                "shots_on_target": 0.3737,
                "total_shots": 1.2077,
                "rating": 6.9071,
                "minutes": 83.87,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 9.6146,
                "accurate_own_half_passes": 7.9203,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.471,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_won": 1.5143,
                "aerial_lost": 1.5621,
                "interceptions": 0.6214,
                "tackles_won": 0.9908,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "challenges_lost": 0.5594,
                "fouls": 0.9571,
                "fouls_drawn": 0.6359,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1489,
                "xgot": 0.2224,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.8297
              },
              "params": {
                "blend_weight": 0.0119,
                "history_matches": 37,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9319,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.1984,
                  "after": 1.2077
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.4338,
                "expected_assists": 0.1403,
                "assists": 0.1335,
                "assist_rate": 0.1335,
                "expected_goals": 0.0898,
                "goals": 0.1006,
                "goal_rate": 0.1006,
                "shots_on_target": 0.3737,
                "total_shots": 1.2077,
                "rating": 6.9071,
                "minutes": 83.87,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 9.6146,
                "accurate_own_half_passes": 7.9203,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.471,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_won": 1.5143,
                "aerial_lost": 1.5621,
                "interceptions": 0.6214,
                "tackles_won": 0.9908,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "challenges_lost": 0.5594,
                "fouls": 0.9571,
                "fouls_drawn": 0.6359,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1489,
                "xgot": 0.2224,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.8297
              },
              "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.4338,
                "expected_assists": 0.1403,
                "assists": 0.1335,
                "assist_rate": 0.1335,
                "expected_goals": 0.0691,
                "goals": 0.0774,
                "goal_rate": 0.0774,
                "shots_on_target": 0.2877,
                "total_shots": 0.9297,
                "rating": 6.9071,
                "minutes": 83.87,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 9.6146,
                "accurate_own_half_passes": 7.9203,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.471,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_won": 0.9,
                "aerial_lost": 1.5621,
                "interceptions": 0.6214,
                "tackles_won": 0.9908,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "challenges_lost": 0.5594,
                "fouls": 0.9571,
                "fouls_drawn": 0.6359,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1146,
                "xgot": 0.1712,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.6387,
                "duel_xg_multiplier": 0.7698,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.323,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Andrei Rațiu",
                "opponent_faced": "Andrei Rațiu",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Andrei Rațiu",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                  "duel_win_rate": 0.323,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.7698,
                  "skill_edge": -0.1246,
                  "height_edge": -0.032,
                  "attacker_skill": 0.4511,
                  "defender_skill": 0.728,
                  "attacker_role": "RW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Andrei Rațiu",
                      "market_value": 22000000,
                      "role": "LB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.728
                    }
                  ],
                  "xg_override": 0.0691
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.5143,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 1.2077,
                  "after": 0.9297
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.8297,
                  "after": 0.6387
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3737,
                  "after": 0.2877
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.2224,
                  "after": 0.1712
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1489,
                  "after": 0.1146
                },
                {
                  "stat": "goals",
                  "before": 0.1006,
                  "after": 0.0774
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0898,
                  "after": 0.0691
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "key_pass": 1.4338,
                "expected_assists": 0.1073,
                "assist_rate": 0.1335,
                "assists": 0,
                "expected_goals": 0.0728,
                "goal_rate": 0.0774,
                "goals": 0,
                "shots_on_target": 0.2877,
                "total_shots": 0.9297,
                "rating": 6.9071,
                "minutes": 83.87,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 9.6146,
                "accurate_own_half_passes": 7.9203,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.471,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_won": 0.9,
                "aerial_lost": 1.5621,
                "interceptions": 0.6214,
                "tackles_won": 0.9908,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "challenges_lost": 0.5594,
                "fouls": 0.9571,
                "fouls_drawn": 0.6359,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1146,
                "xgot": 0.1803,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.6387,
                "duel_xg_multiplier": 0.7698,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.323,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Andrei Rațiu",
                "opponent_faced": "Andrei Rațiu",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0697,
                "creation_factor": 0.9643
              },
              "params": {
                "team_lambda": 1.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1403,
                  "after": 0.1073
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 8 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "key_pass": 1.4338,
                "expected_assists": 0.1073,
                "assist_rate": 0.1335,
                "assists": 0,
                "expected_goals": 0.0728,
                "goal_rate": 0.0774,
                "goals": 0,
                "shots_on_target": 0.2877,
                "total_shots": 0.9297,
                "rating": 6.9071,
                "minutes": 83.87,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 9.6146,
                "accurate_own_half_passes": 7.9203,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.471,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_won": 0.9,
                "aerial_lost": 1.5621,
                "interceptions": 0.6214,
                "tackles_won": 0.9908,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "challenges_lost": 0.5594,
                "fouls": 0.9571,
                "fouls_drawn": 0.6359,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1146,
                "xgot": 0.1803,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.6387,
                "duel_xg_multiplier": 0.7698,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.323,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Andrei Rațiu",
                "opponent_faced": "Andrei Rațiu",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0697,
                "creation_factor": 0.9643,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 600,
                "fifa_rank": 563.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1.4338,
                "expected_assists": 0.1073,
                "assist_rate": 0.1335,
                "assists": 0,
                "expected_goals": 0.0728,
                "goal_rate": 0.0774,
                "goals": 0,
                "shots_on_target": 0.2877,
                "total_shots": 0.9297,
                "rating": 6.9071,
                "minutes": 83.87,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 9.6146,
                "accurate_own_half_passes": 7.9203,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.471,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_won": 0.9,
                "aerial_lost": 1.5621,
                "interceptions": 0.6214,
                "tackles_won": 0.9908,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "challenges_lost": 0.5594,
                "fouls": 0.9571,
                "fouls_drawn": 0.6359,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1146,
                "xgot": 0.1803,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.6387,
                "duel_xg_multiplier": 0.7698,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.323,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Andrei Rațiu",
                "opponent_faced": "Andrei Rațiu",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0702,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0697,
                "creation_factor": 0.9643,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0702,
                "scorer_weight": 0.0779,
                "squad_weight_total": 1.0169,
                "weight_share": 0.0766,
                "finishing_factor": 1.0697,
                "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": 1.4338,
                "expected_assists": 0.1073,
                "assist_rate": 0.1335,
                "assists": 0,
                "expected_goals": 0.0728,
                "goal_rate": 0.0774,
                "goals": 0,
                "shots_on_target": 0.2877,
                "total_shots": 0.9297,
                "rating": 6.9071,
                "minutes": 83.87,
                "total_pass": 31.5436,
                "accurate_pass": 24.4814,
                "duels_won": 4.0556,
                "total_long_balls": 3.0431,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 9.6146,
                "accurate_own_half_passes": 7.9203,
                "total_opp_half_passes": 21.929,
                "accurate_opp_half_passes": 16.5611,
                "crosses_total": 6.471,
                "crosses_accurate": 1.2066,
                "touches": 55.473,
                "possession_lost": 19.3186,
                "dispossessed": 1.7208,
                "duels_lost": 6.5247,
                "aerial_won": 0.9,
                "aerial_lost": 1.5621,
                "interceptions": 0.6214,
                "tackles_won": 0.9908,
                "tackles": 1.1051,
                "clearances": 0.7297,
                "total_contest": 2.6653,
                "won_contest": 0.8131,
                "challenges_lost": 0.5594,
                "fouls": 0.9571,
                "fouls_drawn": 0.6359,
                "blocks": 0.0931,
                "big_chances_created": 0.2547,
                "big_chances_missed": 0.1146,
                "xgot": 0.1803,
                "ball_carries": 14.4033,
                "total_progression": 54.2854,
                "progressive_carries": 2.4312,
                "shots_off_target": 0.6387,
                "duel_xg_multiplier": 0.7698,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.323,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Andrei Rațiu",
                "opponent_faced": "Andrei Rațiu",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0702,
                "projected_assists": 0,
                "assist_probability": 0.1017,
                "finishing_factor": 1.0697,
                "creation_factor": 0.9643,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.1017,
                "provider_weight": 0.1035,
                "squad_weight_total": 0.779,
                "weight_share": 0.1328,
                "creation_factor": 0.9643,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "bench_players": {
        "Alex Padilla": {
          "player_id": 1155116,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 190,
          "market_value": 3100000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.0091,
            "rating": 7.1857,
            "minutes": 4,
            "total_pass": 5,
            "accurate_pass": 2,
            "total_long_balls": 4,
            "accurate_long_balls": 1,
            "touches": 6,
            "clearances": 0,
            "ball_recovery": 1,
            "high_claims": 0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 3.1862,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 0,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.263,
            "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": [
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0014,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 11,
                "ball_recovery": 7,
                "saves": 4,
                "goals_prevented": -1.8191
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 5722,
            "combined_rank_score": 3995.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 1018.0,
            "sofascore_rating": 5.1,
            "sofascore_appearances": 1.0,
            "fifa_rank": 6972.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1857,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alex Padilla",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Elmin Rastoder",
                  "ranking": 5717
                },
                {
                  "player_name": "Max Bird",
                  "ranking": 5718
                },
                {
                  "player_name": "Rob Atkinson",
                  "ranking": 5719
                },
                {
                  "player_name": "Tariq Lamptey",
                  "ranking": 5720
                },
                {
                  "player_name": "Liberato Cacace",
                  "ranking": 5721
                }
              ],
              "lower": [
                {
                  "player_name": "Jordan Beyer",
                  "ranking": 5723
                },
                {
                  "player_name": "Nathan Wood",
                  "ranking": 5724
                },
                {
                  "player_name": "Tomoki Iwata",
                  "ranking": 5725
                },
                {
                  "player_name": "Harrison Burrows",
                  "ranking": 5726
                },
                {
                  "player_name": "Pelle Mattsson",
                  "ranking": 5727
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.312,
          "history_matches": 1,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "G_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "accurateLongBalls",
              "totalOwnHalfPasses",
              "accurateOwnHalfPasses",
              "saves",
              "savedShotsFromInsideTheBox",
              "goodHighClaim",
              "punches",
              "aerialWon",
              "totalKeeperSweeper",
              "accurateKeeperSweeper",
              "totalClearance",
              "ballRecovery",
              "touches",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "goalsPrevented",
              "rating",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 4.397143516617772,
            "bench_appearance_prob": 0.10896106893717145,
            "market_value_adjustment": 0.9834,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection scaled from XGBoost G_service (1 historical appearances) to 4.4 expected mins (appearance prob 0.11); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 3.0166,
                "goals_prevented": 0.0598,
                "rating": 7.1857,
                "minutes": 28.5,
                "total_pass": 31.0,
                "accurate_pass": 11.0,
                "total_long_balls": 27.0,
                "accurate_long_balls": 8.0,
                "touches": 42.0,
                "clearances": 0.0,
                "ball_recovery": 7.0,
                "high_claims": 1.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 2.0,
                "possession_lost": 21.0,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 5.0,
                "accurate_own_half_passes": 3.0
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-09T10:02:40.828652+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 199,
                    "rows": 6796
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 1.0,
                    "rating": 5.1
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "sweeper_actions_p90": 0.0,
                  "distribution_accuracy": 0.6,
                  "sweeper_accuracy": 0.0,
                  "goalkeeperValueNormalized": -0.8,
                  "save_contribution": 2.1809,
                  "accurateKeeperSweeper": 0.0
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 3.016634225845337,
                    "model_output": 3.0166,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0415
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0394
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0368
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0362
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0362
                      }
                    ],
                    "decomposition": {
                      "base": 2.9286,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1839
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0713
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0675
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0272
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0274
                        }
                      ],
                      "others": 0.0785,
                      "total": 3.0166,
                      "log_link": true,
                      "margin_base": 1.074537,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.06486
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.025634
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.023691
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.009385
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.009371
                        }
                      ],
                      "others_margin": 0.026383
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.0598328560590744,
                    "model_output": 0.0598,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "punches",
                        "importance": 0.041
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0398
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0385
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0356
                      }
                    ],
                    "decomposition": {
                      "base": -0.0166,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0418
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0224
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0203
                        },
                        {
                          "name": "commanding_index",
                          "contribution": 0.0181
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0174
                        }
                      ],
                      "others": -0.003,
                      "total": 0.0598,
                      "log_link": false,
                      "margin_base": -0.016613,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.041831
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.022354
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.02033
                        },
                        {
                          "name": "commanding_index",
                          "margin": 0.018105
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.017396
                        }
                      ],
                      "others_margin": -0.002911
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.18568229675293,
                    "model_output": 7.1857,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0429
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0371
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.036
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0359
                      }
                    ],
                    "decomposition": {
                      "base": 7.0091,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.1081
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0446
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0219
                        },
                        {
                          "name": "punches",
                          "contribution": -0.0191
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0188
                        }
                      ],
                      "others": 0.0023,
                      "total": 7.1857,
                      "log_link": false,
                      "margin_base": 7.009122,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.108065
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.044616
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.02187
                        },
                        {
                          "name": "punches",
                          "margin": -0.019141
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.01882
                        }
                      ],
                      "others_margin": 0.002331
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 1,
                  "role_matches": 0,
                  "minutes_source": "position_median",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9834, quality 0.439)",
              "stats": {
                "saves": 2.9666,
                "goals_prevented": 0.0588,
                "rating": 7.1857,
                "minutes": 28.5,
                "total_pass": 30.4854,
                "accurate_pass": 10.8174,
                "total_long_balls": 26.5518,
                "accurate_long_balls": 7.8672,
                "touches": 41.3028,
                "clearances": 0.0,
                "ball_recovery": 6.8838,
                "high_claims": 0.9834,
                "aerial_won": 0.0,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 1.9668,
                "possession_lost": 20.6514,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 4.917,
                "accurate_own_half_passes": 2.9502
              },
              "params": {
                "market_value_eur": 3100000,
                "quality_factor": 0.4387,
                "boost_factor": 0.9834,
                "reference_quality": 0.505,
                "history_matches": 1,
                "history_shrink": 0.8333,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.5 to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0.4577,
                "goals_prevented": 0.0091,
                "rating": 7.1857,
                "minutes": 4.4,
                "total_pass": 4.7035,
                "accurate_pass": 1.669,
                "total_long_balls": 4.0966,
                "accurate_long_balls": 1.2138,
                "touches": 6.3724,
                "clearances": 0.0,
                "ball_recovery": 1.0621,
                "high_claims": 0.1517,
                "aerial_won": 0.0,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 0.3034,
                "possession_lost": 3.1862,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 0.7586,
                "accurate_own_half_passes": 0.4552,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4
              },
              "params": {
                "expected_minutes": 4.4,
                "projection_minutes": 28.5,
                "minutes_scale": 0.1543,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.4577,
                "goals_prevented": 0.0091,
                "rating": 7.1857,
                "minutes": 4.4,
                "total_pass": 4.7035,
                "accurate_pass": 1.669,
                "total_long_balls": 4.0966,
                "accurate_long_balls": 1.2138,
                "touches": 6.3724,
                "clearances": 0.0,
                "ball_recovery": 1.0621,
                "high_claims": 0.1517,
                "aerial_won": 0.0,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 0.3034,
                "possession_lost": 3.1862,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 0.7586,
                "accurate_own_half_passes": 0.4552,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "saves": 0.4577,
                "goals_prevented": 0.0091,
                "rating": 7.1857,
                "minutes": 4.4,
                "total_pass": 4.7035,
                "accurate_pass": 1.669,
                "total_long_balls": 4.0966,
                "accurate_long_balls": 1.2138,
                "touches": 6.3724,
                "clearances": 0.0,
                "ball_recovery": 1.0621,
                "high_claims": 0.1517,
                "aerial_won": 0.0,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 0.3034,
                "possession_lost": 3.1862,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 0.7586,
                "accurate_own_half_passes": 0.4552,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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 1 by projected rating, fifa_overall 69.0; not used by the projection)",
              "stats": {
                "saves": 0.4577,
                "goals_prevented": 0.0091,
                "rating": 7.1857,
                "minutes": 4.4,
                "total_pass": 4.7035,
                "accurate_pass": 1.669,
                "total_long_balls": 4.0966,
                "accurate_long_balls": 1.2138,
                "touches": 6.3724,
                "clearances": 0.0,
                "ball_recovery": 1.0621,
                "high_claims": 0.1517,
                "aerial_won": 0.0,
                "sweeper_actions": 0.0,
                "sweeper_accurate": 0.0,
                "saves_inside_box": 0.3034,
                "possession_lost": 3.1862,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 0.7586,
                "accurate_own_half_passes": 0.4552,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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": 1,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5722,
                "fifa_rank": 6972.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            }
          ]
        },
        "Dani Vivian": {
          "player_id": 910978,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 3,
          "height": 183,
          "market_value": 18200000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7306,
            "minutes": 14,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 0,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 14,
            "possession_lost": 2.3553,
            "dispossessed": 0.5642,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0023,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 18,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.33,
            "bench_expected_minutes": 14.27,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0038,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 19,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0528,
                "expected_assists": 0.0021,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 18,
                "accurate_pass": 16,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0099,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 36,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0348,
                "expected_assists": 0.0077,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 56,
                "accurate_pass": 49,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 15,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1,
                "clearances": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083102,
              "match_date": "2026-04-12",
              "home_team": "Athletic Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.164,
                "total_shots": 0,
                "total_pass": 84,
                "accurate_pass": 77,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081813,
              "match_date": "2026-04-05",
              "home_team": "Getafe",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0314,
                "total_shots": 0,
                "total_pass": 59,
                "accurate_pass": 51,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083657,
              "match_date": "2026-03-22",
              "home_team": "Athletic Club",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0431,
                "expected_assists": 0.0046,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 32,
                "accurate_pass": 28,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083632,
              "match_date": "2026-03-14",
              "home_team": "Girona FC",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0206,
                "total_shots": 0,
                "total_pass": 68,
                "accurate_pass": 62,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083597,
              "match_date": "2026-03-07",
              "home_team": "Athletic Club",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0193,
                "expected_assists": 0.0587,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 34,
                "accurate_pass": 29,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 7,
                "duels_won": 5,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "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": 2014,
            "combined_rank_score": 938.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 766.0,
            "sofascore_rating": 6.6484,
            "sofascore_appearances": 31.0,
            "fifa_rank": 1110.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7306,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dani Vivian",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Egor Khvalko",
                  "ranking": 2009
                },
                {
                  "player_name": "Vladislav Malkevich",
                  "ranking": 2010
                },
                {
                  "player_name": "Ayoub El Kaabi",
                  "ranking": 2011
                },
                {
                  "player_name": "Viktor Tsygankov",
                  "ranking": 2012
                },
                {
                  "player_name": "Brennan Johnson",
                  "ranking": 2013
                }
              ],
              "lower": [
                {
                  "player_name": "Joaquín Larrivey",
                  "ranking": 2015
                },
                {
                  "player_name": "Dominik Livaković",
                  "ranking": 2016
                },
                {
                  "player_name": "Alexander Nübel",
                  "ranking": 2017
                },
                {
                  "player_name": "Domingos Duarte",
                  "ranking": 2018
                },
                {
                  "player_name": "Davide Frattesi",
                  "ranking": 2019
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 31,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 31,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 14.267480644499035,
            "bench_appearance_prob": 0.3303400292954107,
            "market_value_adjustment": 1.0045,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (31 historical appearances) to 14.3 expected mins (appearance prob 0.33)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3582,
                "tackles": 0.6714,
                "tackles_won": 0.4646,
                "clearances": 1.3115,
                "aerial_won": 0.3692,
                "total_shots": 0.1577,
                "rating": 6.7306,
                "minutes": 30.27,
                "total_pass": 22.1234,
                "accurate_pass": 19.0495,
                "duels_won": 0.6696,
                "total_long_balls": 3.6356,
                "accurate_long_balls": 1.2313,
                "total_own_half_passes": 11.5335,
                "accurate_own_half_passes": 11.2526,
                "total_opp_half_passes": 10.5899,
                "accurate_opp_half_passes": 7.7969,
                "crosses_total": 0.6696,
                "crosses_accurate": 0.0,
                "touches": 28.7502,
                "possession_lost": 4.9747,
                "dispossessed": 0.5617,
                "duels_lost": 1.62,
                "aerial_lost": 0.7775,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.62,
                "challenges_lost": 0.0,
                "fouls": 0.2809,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0048,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 8.1856,
                "total_progression": 38.8873,
                "progressive_carries": 1.0811,
                "key_pass": 0.0,
                "shots_off_target": 0.1577
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:03:23.701438+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.151,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1283,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1091,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0927,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Osasuna",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0788,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.067,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-04-05",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-03-07",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 3.8385,
                  "aerialWon": 0.8387,
                  "totalClearance_p90": 6.8543,
                  "totalTackle": 1.6876,
                  "totalPass": 37.2454
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.35822272300720215,
                    "model_output": 0.3582,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4745
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0369
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0127
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0074
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0057
                        }
                      ],
                      "others": -0.0135,
                      "total": 0.3582,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.806294
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.101409
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.036026
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.020328
                        },
                        {
                          "name": "touches",
                          "margin": 0.015527
                        }
                      ],
                      "others_margin": -0.03678
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.6714116930961609,
                    "model_output": 0.6714,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7779
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0217
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.018
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0175
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0174
                        }
                      ],
                      "others": -0.0192,
                      "total": 0.6714,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.816715
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.034621
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.027901
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.026372
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.025545
                        }
                      ],
                      "others_margin": -0.028185
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.4646238684654236,
                    "model_output": 0.4646,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4373
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0181
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0154
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.015
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.014
                        }
                      ],
                      "others": 0.043,
                      "total": 0.4646,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.717204
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.042519
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.034809
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.033766
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.032643
                        }
                      ],
                      "others_margin": 0.097171
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.3115001916885376,
                    "model_output": 1.3115,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1919
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1462
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0723
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0488
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0384
                        }
                      ],
                      "others": -0.0793,
                      "total": 1.3115,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -1.008079
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.109823
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.05013
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.033572
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.027223
                        }
                      ],
                      "others_margin": -0.05869
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.36924752593040466,
                    "model_output": 0.3692,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8717
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1061
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0295
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0212
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.015
                        }
                      ],
                      "others": -0.0707,
                      "total": 0.3692,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.9963
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.233004
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.070446
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.047794
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.03342
                        }
                      ],
                      "others_margin": -0.175357
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.1577257663011551,
                    "model_output": 0.1577,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.247
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0252
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0152
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0088
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0078
                        }
                      ],
                      "others": -0.0398,
                      "total": 0.1577,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.247048
                        },
                        {
                          "name": "rating",
                          "margin": -0.025169
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.01523
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.00877
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.007838
                        }
                      ],
                      "others_margin": -0.039811
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.730599880218506,
                    "model_output": 6.7306,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0159
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0156
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0156
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0135
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0126
                        }
                      ],
                      "others": -0.0689,
                      "total": 6.7306,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.015941
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.015561
                        },
                        {
                          "name": "touches",
                          "margin": 0.015552
                        },
                        {
                          "name": "rating",
                          "margin": -0.013455
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.012603
                        }
                      ],
                      "others_margin": -0.068852
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 31,
                  "role_matches": 3,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0045, quality 0.613)",
              "stats": {
                "interceptions": 0.3598,
                "tackles": 0.6744,
                "tackles_won": 0.4667,
                "clearances": 1.3174,
                "aerial_won": 0.3709,
                "total_shots": 0.1584,
                "rating": 6.7306,
                "minutes": 30.27,
                "total_pass": 22.223,
                "accurate_pass": 19.1352,
                "duels_won": 0.6726,
                "total_long_balls": 3.652,
                "accurate_long_balls": 1.2368,
                "total_own_half_passes": 11.5854,
                "accurate_own_half_passes": 11.3032,
                "total_opp_half_passes": 10.6376,
                "accurate_opp_half_passes": 7.832,
                "crosses_total": 0.6726,
                "crosses_accurate": 0.0,
                "touches": 28.8796,
                "possession_lost": 4.9971,
                "dispossessed": 0.5642,
                "duels_lost": 1.6273,
                "aerial_lost": 0.781,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.6273,
                "challenges_lost": 0.0,
                "fouls": 0.2822,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0048,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 8.2224,
                "total_progression": 39.0623,
                "progressive_carries": 1.086,
                "key_pass": 0.0,
                "shots_off_target": 0.1584
              },
              "params": {
                "market_value_eur": 18200000,
                "quality_factor": 0.613,
                "boost_factor": 1.0045,
                "reference_quality": 0.505,
                "history_matches": 31,
                "history_shrink": 0.1389,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 30.3 to 14.3 expected minutes (appearance prob 0.33)",
              "stats": {
                "interceptions": 0.1696,
                "tackles": 0.3179,
                "tackles_won": 0.22,
                "clearances": 0.6209,
                "aerial_won": 0.1748,
                "total_shots": 0.0747,
                "rating": 6.7306,
                "minutes": 14.27,
                "total_pass": 10.4746,
                "accurate_pass": 9.0192,
                "duels_won": 0.317,
                "total_long_balls": 1.7213,
                "accurate_long_balls": 0.583,
                "total_own_half_passes": 5.4607,
                "accurate_own_half_passes": 5.3277,
                "total_opp_half_passes": 5.0139,
                "accurate_opp_half_passes": 3.6915,
                "crosses_total": 0.317,
                "crosses_accurate": 0.0,
                "touches": 13.6121,
                "possession_lost": 2.3553,
                "dispossessed": 0.5642,
                "duels_lost": 0.767,
                "aerial_lost": 0.781,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.767,
                "challenges_lost": 0.0,
                "fouls": 0.133,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0023,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.8756,
                "total_progression": 18.4116,
                "progressive_carries": 0.5119,
                "key_pass": 0.0,
                "shots_off_target": 0.0747,
                "bench_appearance_probability": 0.33,
                "bench_expected_minutes": 14.27
              },
              "params": {
                "expected_minutes": 14.27,
                "projection_minutes": 30.27,
                "minutes_scale": 0.4713,
                "appearance_probability": 0.33
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.1696,
                "tackles": 0.3179,
                "tackles_won": 0.22,
                "clearances": 0.6209,
                "aerial_won": 0.1748,
                "total_shots": 0.0747,
                "rating": 6.7306,
                "minutes": 14.27,
                "total_pass": 10.4746,
                "accurate_pass": 9.0192,
                "duels_won": 0.317,
                "total_long_balls": 1.7213,
                "accurate_long_balls": 0.583,
                "total_own_half_passes": 5.4607,
                "accurate_own_half_passes": 5.3277,
                "total_opp_half_passes": 5.0139,
                "accurate_opp_half_passes": 3.6915,
                "crosses_total": 0.317,
                "crosses_accurate": 0.0,
                "touches": 13.6121,
                "possession_lost": 2.3553,
                "dispossessed": 0.5642,
                "duels_lost": 0.767,
                "aerial_lost": 0.781,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.767,
                "challenges_lost": 0.0,
                "fouls": 0.133,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0023,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.8756,
                "total_progression": 18.4116,
                "progressive_carries": 0.5119,
                "key_pass": 0.0,
                "shots_off_target": 0.0747,
                "bench_appearance_probability": 0.33,
                "bench_expected_minutes": 14.27
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.1696,
                "tackles": 0.3179,
                "tackles_won": 0.22,
                "clearances": 0.6209,
                "aerial_won": 0.1748,
                "total_shots": 0.0747,
                "rating": 6.7306,
                "minutes": 14.27,
                "total_pass": 10.4746,
                "accurate_pass": 9.0192,
                "duels_won": 0.317,
                "total_long_balls": 1.7213,
                "accurate_long_balls": 0.583,
                "total_own_half_passes": 5.4607,
                "accurate_own_half_passes": 5.3277,
                "total_opp_half_passes": 5.0139,
                "accurate_opp_half_passes": 3.6915,
                "crosses_total": 0.317,
                "crosses_accurate": 0.0,
                "touches": 13.6121,
                "possession_lost": 2.3553,
                "dispossessed": 0.5642,
                "duels_lost": 0.767,
                "aerial_lost": 0.781,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.767,
                "challenges_lost": 0.0,
                "fouls": 0.133,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0023,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.8756,
                "total_progression": 18.4116,
                "progressive_carries": 0.5119,
                "key_pass": 0.0,
                "shots_off_target": 0.0747,
                "bench_appearance_probability": 0.33,
                "bench_expected_minutes": 14.27,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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.33,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "interceptions": 0.1696,
                "tackles": 0.3179,
                "tackles_won": 0.22,
                "clearances": 0.6209,
                "aerial_won": 0.1748,
                "total_shots": 0.0747,
                "rating": 6.7306,
                "minutes": 14.27,
                "total_pass": 10.4746,
                "accurate_pass": 9.0192,
                "duels_won": 0.317,
                "total_long_balls": 1.7213,
                "accurate_long_balls": 0.583,
                "total_own_half_passes": 5.4607,
                "accurate_own_half_passes": 5.3277,
                "total_opp_half_passes": 5.0139,
                "accurate_opp_half_passes": 3.6915,
                "crosses_total": 0.317,
                "crosses_accurate": 0.0,
                "touches": 13.6121,
                "possession_lost": 2.3553,
                "dispossessed": 0.5642,
                "duels_lost": 0.767,
                "aerial_lost": 0.781,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.767,
                "challenges_lost": 0.0,
                "fouls": 0.133,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0023,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.8756,
                "total_progression": 18.4116,
                "progressive_carries": 0.5119,
                "key_pass": 0.0,
                "shots_off_target": 0.0747,
                "bench_appearance_probability": 0.33,
                "bench_expected_minutes": 14.27,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2014,
                "fifa_rank": 1110.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Aitor Paredes": {
          "player_id": 959872,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 4,
          "height": 186,
          "market_value": 7100000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.8806,
            "minutes": 14,
            "total_pass": 33,
            "accurate_pass": 30,
            "duels_won": 2,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 18,
            "total_opp_half_passes": 14,
            "accurate_opp_half_passes": 12,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 39,
            "possession_lost": 3.1969,
            "dispossessed": 0.0579,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.1201,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.028,
            "expected_assists": 0.0146,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0858,
            "ball_carries": 10,
            "total_progression": 34,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.221,
            "bench_expected_minutes": 13.77,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0264,
                "total_shots": 0,
                "total_pass": 96,
                "accurate_pass": 96,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 45,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 21,
                "tackles": 2,
                "clearances": 4,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0084,
                "total_shots": 0,
                "total_pass": 58,
                "accurate_pass": 49,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 7,
                "aerial_won": 3,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 74,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2616,
                "expected_assists": 0.0216,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 70,
                "accurate_pass": 61,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 5,
                "aerial_won": 3,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 23,
                "interceptions": 2,
                "clearances": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0921,
                "expected_assists": 0.0096,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 71,
                "accurate_pass": 67,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083454,
              "match_date": "2026-02-15",
              "home_team": "Real Oviedo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.096,
                "expected_assists": 0.0026,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 32,
                "accurate_pass": 27,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083260,
              "match_date": "2026-02-08",
              "home_team": "Athletic Club",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2148,
                "total_shots": 0,
                "total_pass": 64,
                "accurate_pass": 60,
                "key_pass": 1,
                "interceptions": 4,
                "clearances": 10,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083195,
              "match_date": "2026-02-01",
              "home_team": "Athletic Club",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.077,
                "expected_assists": 0.0155,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 49,
                "accurate_pass": 43,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "duels_won": 1,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083127,
              "match_date": "2026-01-24",
              "home_team": "Sevilla",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0688,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 24,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 6,
                "aerial_won": 4,
                "duels_won": 8
              },
              "has_player_stats": true,
              "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": 1702,
            "combined_rank_score": 690.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 138.0,
            "sofascore_rating": 7.35,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1243.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8806,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aitor Paredes",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Vicente Álvarez",
                  "ranking": 1697
                },
                {
                  "player_name": "Matías Cavalleri",
                  "ranking": 1698
                },
                {
                  "player_name": "Arthur Theate",
                  "ranking": 1699
                },
                {
                  "player_name": "Javokhir Kakhramonov",
                  "ranking": 1700
                },
                {
                  "player_name": "Wilson Odobert",
                  "ranking": 1701
                }
              ],
              "lower": [
                {
                  "player_name": "Danny Welbeck",
                  "ranking": 1703
                },
                {
                  "player_name": "Angeliño",
                  "ranking": 1704
                },
                {
                  "player_name": "Park Kyu-Min",
                  "ranking": 1705
                },
                {
                  "player_name": "Valentín Vidal",
                  "ranking": 1706
                },
                {
                  "player_name": "Tyler Adams",
                  "ranking": 1707
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.768,
          "history_matches": 23,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 23,
            "data_confidence": 0.768,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.771804972390745,
            "bench_appearance_prob": 0.221,
            "market_value_adjustment": 0.9991,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.5555555555555556,
              "assists_per90": 0.0,
              "prior_reliability": 0.12
            },
            "rationale": "Bench projection scaled from XGBoost D_service (23 historical appearances) to 13.8 expected mins (appearance prob 0.22); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.4381,
                "tackles": 0.5898,
                "tackles_won": 0.3594,
                "clearances": 2.1576,
                "aerial_won": 0.9572,
                "total_shots": 0.2622,
                "rating": 6.8806,
                "minutes": 23.23,
                "total_pass": 55.0303,
                "accurate_pass": 50.2129,
                "duels_won": 3.2582,
                "total_long_balls": 6.95,
                "accurate_long_balls": 3.9208,
                "total_own_half_passes": 31.4852,
                "accurate_own_half_passes": 30.0023,
                "total_opp_half_passes": 23.5451,
                "accurate_opp_half_passes": 20.2106,
                "crosses_total": 0.2473,
                "crosses_accurate": 0.0,
                "touches": 65.7148,
                "possession_lost": 5.3974,
                "dispossessed": 0.058,
                "duels_lost": 1.6217,
                "aerial_lost": 0.4266,
                "total_contest": 0.0998,
                "won_contest": 0.0998,
                "ball_recovery": 3.8278,
                "challenges_lost": 0.2424,
                "fouls": 0.8947,
                "fouls_drawn": 0.3845,
                "blocks": 0.154,
                "goals": 0.2035,
                "goal_rate": 0.2035,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0473,
                "expected_assists": 0.0247,
                "shots_on_target": 0.2201,
                "big_chances_created": 0.059,
                "xgot": 0.1449,
                "ball_carries": 16.9308,
                "total_progression": 57.5657,
                "progressive_carries": 0.7274,
                "key_pass": 0.4292,
                "shots_off_target": 0.0421
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:03:23.701438+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1537,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1306,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.111,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0944,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0802,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0682,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-02-15",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.058,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-08",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0493,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-02-01",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0419,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-01-24",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0356,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 5.0232,
                  "aerialWon": 1.5784,
                  "totalClearance_p90": 5.7503,
                  "totalTackle": 1.1954,
                  "totalPass": 55.0303
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.4381335377693176,
                    "model_output": 0.4381,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4671
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0364
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0108
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0092
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0089
                        }
                      ],
                      "others": 0.0004,
                      "total": 0.4381,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.787282
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.089211
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.024993
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.02075
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.020096
                        }
                      ],
                      "others_margin": 0.001192
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5897681713104248,
                    "model_output": 0.5898,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7144
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0252
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0234
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0217
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0199
                        }
                      ],
                      "others": -0.0429,
                      "total": 0.5898,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.71854
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.037826
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.036375
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.033821
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.030908
                        }
                      ],
                      "others_margin": -0.070287
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.3594058156013489,
                    "model_output": 0.3594,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.423
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0147
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0125
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0121
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0097
                        }
                      ],
                      "others": -0.023,
                      "total": 0.3594,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.683465
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.034663
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.03047
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.030292
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.024972
                        }
                      ],
                      "others_margin": -0.062028
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.157583475112915,
                    "model_output": 2.1576,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0149
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.2976
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1828
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0824
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0748
                        }
                      ],
                      "others": 0.0835,
                      "total": 2.1576,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.876579
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.188306
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.100212
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.042105
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.036737
                        }
                      ],
                      "others_margin": 0.039427
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9571605324745178,
                    "model_output": 0.9572,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7331
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.1081
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0509
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0364
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0359
                        }
                      ],
                      "others": 0.077,
                      "total": 0.9572,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.756026
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.15403
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.065112
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.044106
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.041662
                        }
                      ],
                      "others_margin": 0.083779
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.2622115910053253,
                    "model_output": 0.2622,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2415
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0244
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0231
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0129
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0078
                        }
                      ],
                      "others": -0.0098,
                      "total": 0.2622,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.241502
                        },
                        {
                          "name": "rating",
                          "margin": 0.024432
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.023116
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.012916
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.007849
                        }
                      ],
                      "others_margin": -0.009899
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.8805832862854,
                    "model_output": 6.8806,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0291
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0271
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0228
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0179
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0132
                        }
                      ],
                      "others": 0.0436,
                      "total": 6.8806,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.029125
                        },
                        {
                          "name": "rating",
                          "margin": 0.027096
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.022838
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.017876
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.013242
                        }
                      ],
                      "others_margin": 0.043526
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 23,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9991, quality 0.488)",
              "stats": {
                "interceptions": 0.4377,
                "tackles": 0.5892,
                "tackles_won": 0.3591,
                "clearances": 2.1556,
                "aerial_won": 0.9563,
                "total_shots": 0.262,
                "rating": 6.8806,
                "minutes": 23.23,
                "total_pass": 54.9808,
                "accurate_pass": 50.1677,
                "duels_won": 3.2553,
                "total_long_balls": 6.9437,
                "accurate_long_balls": 3.9173,
                "total_own_half_passes": 31.4569,
                "accurate_own_half_passes": 29.9753,
                "total_opp_half_passes": 23.5239,
                "accurate_opp_half_passes": 20.1924,
                "crosses_total": 0.2471,
                "crosses_accurate": 0.0,
                "touches": 65.6557,
                "possession_lost": 5.3925,
                "dispossessed": 0.0579,
                "duels_lost": 1.6202,
                "aerial_lost": 0.4262,
                "total_contest": 0.0997,
                "won_contest": 0.0997,
                "ball_recovery": 3.8244,
                "challenges_lost": 0.2422,
                "fouls": 0.8939,
                "fouls_drawn": 0.3842,
                "blocks": 0.1539,
                "goals": 0.2033,
                "goal_rate": 0.2033,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0473,
                "expected_assists": 0.0247,
                "shots_on_target": 0.2199,
                "big_chances_created": 0.0589,
                "xgot": 0.1448,
                "ball_carries": 16.9156,
                "total_progression": 57.5139,
                "progressive_carries": 0.7267,
                "key_pass": 0.4288,
                "shots_off_target": 0.0421
              },
              "params": {
                "market_value_eur": 7100000,
                "quality_factor": 0.4878,
                "boost_factor": 0.9991,
                "reference_quality": 0.505,
                "history_matches": 23,
                "history_shrink": 0.1786,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0139)",
              "stats": {
                "interceptions": 0.4336,
                "tackles": 0.5892,
                "tackles_won": 0.3581,
                "clearances": 2.1556,
                "aerial_won": 0.9563,
                "total_shots": 0.2603,
                "rating": 6.8806,
                "minutes": 23.23,
                "total_pass": 54.9808,
                "accurate_pass": 50.1677,
                "duels_won": 3.2553,
                "total_long_balls": 6.9437,
                "accurate_long_balls": 3.9173,
                "total_own_half_passes": 31.4569,
                "accurate_own_half_passes": 29.9753,
                "total_opp_half_passes": 23.5239,
                "accurate_opp_half_passes": 20.1924,
                "crosses_total": 0.2477,
                "crosses_accurate": 0.0,
                "touches": 65.6557,
                "possession_lost": 5.3925,
                "dispossessed": 0.0579,
                "duels_lost": 1.6202,
                "aerial_lost": 0.4262,
                "total_contest": 0.0997,
                "won_contest": 0.0997,
                "ball_recovery": 3.8244,
                "challenges_lost": 0.2422,
                "fouls": 0.8874,
                "fouls_drawn": 0.3808,
                "blocks": 0.1539,
                "goals": 0.2025,
                "goal_rate": 0.2025,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0473,
                "expected_assists": 0.0247,
                "shots_on_target": 0.2188,
                "big_chances_created": 0.0589,
                "xgot": 0.1448,
                "ball_carries": 16.9156,
                "total_progression": 57.5139,
                "progressive_carries": 0.7267,
                "key_pass": 0.4288,
                "shots_off_target": 0.0421
              },
              "params": {
                "blend_weight": 0.0139,
                "history_matches": 23,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2581,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.8939,
                  "after": 0.8874
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 23.2 to 13.8 expected minutes (appearance prob 0.22)",
              "stats": {
                "interceptions": 0.2571,
                "tackles": 0.3493,
                "tackles_won": 0.2123,
                "clearances": 1.2779,
                "aerial_won": 0.5669,
                "total_shots": 0.1547,
                "rating": 6.8806,
                "minutes": 13.77,
                "total_pass": 32.5951,
                "accurate_pass": 29.7417,
                "duels_won": 1.9299,
                "total_long_balls": 4.1165,
                "accurate_long_balls": 2.3224,
                "total_own_half_passes": 18.6491,
                "accurate_own_half_passes": 17.7707,
                "total_opp_half_passes": 13.946,
                "accurate_opp_half_passes": 11.971,
                "crosses_total": 0.1468,
                "crosses_accurate": 0.0,
                "touches": 38.9237,
                "possession_lost": 3.1969,
                "dispossessed": 0.0579,
                "duels_lost": 0.9605,
                "aerial_lost": 0.4262,
                "total_contest": 0.0591,
                "won_contest": 0.0591,
                "ball_recovery": 2.2673,
                "challenges_lost": 0.2422,
                "fouls": 0.5261,
                "fouls_drawn": 0.2258,
                "blocks": 0.0912,
                "goals": 0.1201,
                "goal_rate": 0.1201,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.028,
                "expected_assists": 0.0146,
                "shots_on_target": 0.1297,
                "big_chances_created": 0.0349,
                "xgot": 0.0858,
                "ball_carries": 10.0283,
                "total_progression": 34.0969,
                "progressive_carries": 0.4308,
                "key_pass": 0.2542,
                "shots_off_target": 0.025,
                "bench_appearance_probability": 0.221,
                "bench_expected_minutes": 13.77
              },
              "params": {
                "expected_minutes": 13.77,
                "projection_minutes": 23.23,
                "minutes_scale": 0.5928,
                "appearance_probability": 0.221
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2571,
                "tackles": 0.3493,
                "tackles_won": 0.2123,
                "clearances": 1.2779,
                "aerial_won": 0.5669,
                "total_shots": 0.1547,
                "rating": 6.8806,
                "minutes": 13.77,
                "total_pass": 32.5951,
                "accurate_pass": 29.7417,
                "duels_won": 1.9299,
                "total_long_balls": 4.1165,
                "accurate_long_balls": 2.3224,
                "total_own_half_passes": 18.6491,
                "accurate_own_half_passes": 17.7707,
                "total_opp_half_passes": 13.946,
                "accurate_opp_half_passes": 11.971,
                "crosses_total": 0.1468,
                "crosses_accurate": 0.0,
                "touches": 38.9237,
                "possession_lost": 3.1969,
                "dispossessed": 0.0579,
                "duels_lost": 0.9605,
                "aerial_lost": 0.4262,
                "total_contest": 0.0591,
                "won_contest": 0.0591,
                "ball_recovery": 2.2673,
                "challenges_lost": 0.2422,
                "fouls": 0.5261,
                "fouls_drawn": 0.2258,
                "blocks": 0.0912,
                "goals": 0.1201,
                "goal_rate": 0.1201,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.028,
                "expected_assists": 0.0146,
                "shots_on_target": 0.1297,
                "big_chances_created": 0.0349,
                "xgot": 0.0858,
                "ball_carries": 10.0283,
                "total_progression": 34.0969,
                "progressive_carries": 0.4308,
                "key_pass": 0.2542,
                "shots_off_target": 0.025,
                "bench_appearance_probability": 0.221,
                "bench_expected_minutes": 13.77
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.2571,
                "tackles": 0.3493,
                "tackles_won": 0.2123,
                "clearances": 1.2779,
                "aerial_won": 0.5669,
                "total_shots": 0.1547,
                "rating": 6.8806,
                "minutes": 13.77,
                "total_pass": 32.5951,
                "accurate_pass": 29.7417,
                "duels_won": 1.9299,
                "total_long_balls": 4.1165,
                "accurate_long_balls": 2.3224,
                "total_own_half_passes": 18.6491,
                "accurate_own_half_passes": 17.7707,
                "total_opp_half_passes": 13.946,
                "accurate_opp_half_passes": 11.971,
                "crosses_total": 0.1468,
                "crosses_accurate": 0.0,
                "touches": 38.9237,
                "possession_lost": 3.1969,
                "dispossessed": 0.0579,
                "duels_lost": 0.9605,
                "aerial_lost": 0.4262,
                "total_contest": 0.0591,
                "won_contest": 0.0591,
                "ball_recovery": 2.2673,
                "challenges_lost": 0.2422,
                "fouls": 0.5261,
                "fouls_drawn": 0.2258,
                "blocks": 0.0912,
                "goal_rate": 0.1201,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.028,
                "expected_assists": 0.0146,
                "shots_on_target": 0.1297,
                "big_chances_created": 0.0349,
                "xgot": 0.0858,
                "ball_carries": 10.0283,
                "total_progression": 34.0969,
                "progressive_carries": 0.4308,
                "key_pass": 0.2542,
                "shots_off_target": 0.025,
                "bench_appearance_probability": 0.221,
                "bench_expected_minutes": 13.77,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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.221,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "interceptions": 0.2571,
                "tackles": 0.3493,
                "tackles_won": 0.2123,
                "clearances": 1.2779,
                "aerial_won": 0.5669,
                "total_shots": 0.1547,
                "rating": 6.8806,
                "minutes": 13.77,
                "total_pass": 32.5951,
                "accurate_pass": 29.7417,
                "duels_won": 1.9299,
                "total_long_balls": 4.1165,
                "accurate_long_balls": 2.3224,
                "total_own_half_passes": 18.6491,
                "accurate_own_half_passes": 17.7707,
                "total_opp_half_passes": 13.946,
                "accurate_opp_half_passes": 11.971,
                "crosses_total": 0.1468,
                "crosses_accurate": 0.0,
                "touches": 38.9237,
                "possession_lost": 3.1969,
                "dispossessed": 0.0579,
                "duels_lost": 0.9605,
                "aerial_lost": 0.4262,
                "total_contest": 0.0591,
                "won_contest": 0.0591,
                "ball_recovery": 2.2673,
                "challenges_lost": 0.2422,
                "fouls": 0.5261,
                "fouls_drawn": 0.2258,
                "blocks": 0.0912,
                "goal_rate": 0.1201,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.028,
                "expected_assists": 0.0146,
                "shots_on_target": 0.1297,
                "big_chances_created": 0.0349,
                "xgot": 0.0858,
                "ball_carries": 10.0283,
                "total_progression": 34.0969,
                "progressive_carries": 0.4308,
                "key_pass": 0.2542,
                "shots_off_target": 0.025,
                "bench_appearance_probability": 0.221,
                "bench_expected_minutes": 13.77,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1702,
                "fifa_rank": 1243.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Mikel Jauregizar": {
          "player_id": 1495844,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 18,
          "height": 177,
          "market_value": 31000000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0205,
            "assist_rate": 0.0415,
            "assists": 0,
            "expected_goals": 0.0355,
            "goal_rate": 0.0439,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7192,
            "minutes": 25,
            "total_pass": 17,
            "accurate_pass": 14,
            "duels_won": 2,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 9,
            "accurate_own_half_passes": 8,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 4.0087,
            "dispossessed": 0.3336,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0028,
            "ball_carries": 5,
            "total_progression": 9,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.523,
            "bench_expected_minutes": 24.7,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0182,
            "projected_assists": 0,
            "assist_probability": 0.0106,
            "finishing_factor": 1.1219,
            "creation_factor": 1.1914,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0312,
                "expected_assists": 0.0348,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 60,
                "accurate_pass": 54,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 25,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0087,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 22,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 30,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0334,
                "expected_assists": 0.0042,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 14,
                "accurate_pass": 14,
                "tackles": 3,
                "tackles_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 25,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 12,
                "tackles": 1,
                "interceptions": 2,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 70,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 7,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 85,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0034,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 13,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 71,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1908,
                "expected_assists": 0.0838,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 28,
                "accurate_pass": 22,
                "key_pass": 1,
                "aerial_won": 3,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 27,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.047,
                "expected_assists": 0.0045,
                "total_shots": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0771,
                "expected_assists": 0.242,
                "total_shots": 2,
                "total_pass": 44,
                "accurate_pass": 36,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0216,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 15,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "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": 1561,
            "combined_rank_score": 778.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 641.0,
            "sofascore_rating": 6.75,
            "sofascore_appearances": 36.0,
            "fifa_rank": 915.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7192,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mikel Jauregizar",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Seul-chan Lee",
                  "ranking": 1556
                },
                {
                  "player_name": "Yu Dong-Kyu",
                  "ranking": 1557
                },
                {
                  "player_name": "Sunnatillokh Khamidzhonov",
                  "ranking": 1558
                },
                {
                  "player_name": "Ham Sunwoo",
                  "ranking": 1559
                },
                {
                  "player_name": "Fisnik Asllani",
                  "ranking": 1560
                }
              ],
              "lower": [
                {
                  "player_name": "José Tiznado",
                  "ranking": 1562
                },
                {
                  "player_name": "Azizjon Akhrorov",
                  "ranking": 1563
                },
                {
                  "player_name": "Usmonali Ismonaliev",
                  "ranking": 1564
                },
                {
                  "player_name": "Damir Temirov",
                  "ranking": 1565
                },
                {
                  "player_name": "Sadriddin Khasanov",
                  "ranking": 1566
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.761,
          "history_matches": 41,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 41,
            "data_confidence": 0.761,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 24.7,
            "bench_appearance_prob": 0.523,
            "market_value_adjustment": 1.0072,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 26.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0733
            },
            "rationale": "Bench projection scaled from XGBoost M_service (41 historical appearances) to 24.7 expected mins (appearance prob 0.52); FBref playing time empirical prior: 1.0 sub appearances, 26.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.3443,
                "expected_assists": 0.0265,
                "assists": 0.0413,
                "assist_rate": 0.0413,
                "expected_goals": 0.0333,
                "goals": 0.0437,
                "goal_rate": 0.0437,
                "shots_on_target": 0.1353,
                "total_shots": 0.3784,
                "rating": 6.7192,
                "minutes": 24.64,
                "total_pass": 16.7019,
                "accurate_pass": 13.7638,
                "duels_won": 2.2922,
                "total_long_balls": 1.8575,
                "accurate_long_balls": 1.3812,
                "total_own_half_passes": 8.8549,
                "accurate_own_half_passes": 7.7985,
                "total_opp_half_passes": 7.847,
                "accurate_opp_half_passes": 5.9653,
                "crosses_total": 0.1656,
                "crosses_accurate": 0.0,
                "touches": 23.1562,
                "possession_lost": 3.9704,
                "dispossessed": 0.3312,
                "duels_lost": 2.2751,
                "aerial_won": 0.6008,
                "aerial_lost": 0.3604,
                "interceptions": 0.9656,
                "tackles_won": 0.728,
                "tackles": 1.152,
                "clearances": 0.3312,
                "total_contest": 0.1656,
                "won_contest": 0.0,
                "challenges_lost": 0.8283,
                "fouls": 0.5896,
                "fouls_drawn": 0.5393,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 4.9562,
                "total_progression": 8.5494,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2431
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-09T10:04:11.914604+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.1277,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0481,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.7455,
                  "creative_index": 0.2145,
                  "expectedGoals": 0.0306,
                  "expectedAssists": 0.0335,
                  "onTargetScoringAttempt": 0.4392
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.3442569375038147,
                    "model_output": 0.3443,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3987
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0394
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.032
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0245
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0197
                        }
                      ],
                      "others": -0.0276,
                      "total": 0.3443,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.597643
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.084339
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.074141
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.060812
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.051729
                        }
                      ],
                      "others_margin": -0.076888
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02646966092288494,
                    "model_output": 0.0265,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0369
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0065
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0025
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0015
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0014
                        }
                      ],
                      "others": -0.0105,
                      "total": 0.0265,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.561517
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.143336
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.061894
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.038326
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.037958
                        }
                      ],
                      "others_margin": -0.332678
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.041274573653936386,
                    "model_output": 0.0413,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0228
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0065
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0044
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0041
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0115,
                      "total": 0.0413,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.310906
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.109525
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.075475
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.07089
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.062538
                        }
                      ],
                      "others_margin": -0.246719
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.033314090222120285,
                    "model_output": 0.0333,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0367
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.008
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0069
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0033
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0098,
                      "total": 0.0333,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.49206
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.149347
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.149316
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.074165
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.068131
                        }
                      ],
                      "others_margin": -0.257168
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04371554031968117,
                    "model_output": 0.0437,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0309
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0076
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0058
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0044
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0034
                        }
                      ],
                      "others": -0.0086,
                      "total": 0.0437,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.380732
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.121287
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.102939
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.086248
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.06803
                        }
                      ],
                      "others_margin": -0.180462
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.1352645754814148,
                    "model_output": 0.1353,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1407
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0149
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0112
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0035
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0157,
                      "total": 0.1353,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.569788
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.084985
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.068991
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.022233
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.017498
                        }
                      ],
                      "others_margin": -0.109989
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.37832963466644287,
                    "model_output": 0.3783,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3779
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0594
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0387
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0314
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0189
                        }
                      ],
                      "others": -0.0859,
                      "total": 0.3783,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.377866
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.059422
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.038733
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.031435
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.018934
                        }
                      ],
                      "others_margin": -0.085745
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.719171524047852,
                    "model_output": 6.7192,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.085
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0204
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0111
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0079
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0058
                        }
                      ],
                      "others": -0.0153,
                      "total": 6.7192,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.084983
                        },
                        {
                          "name": "rating",
                          "margin": -0.020358
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.011141
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.007892
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.005768
                        }
                      ],
                      "others_margin": -0.015342
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 41,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0072, quality 0.725)",
              "stats": {
                "key_pass": 0.3467,
                "expected_assists": 0.0267,
                "assists": 0.0416,
                "assist_rate": 0.0416,
                "expected_goals": 0.0336,
                "goals": 0.044,
                "goal_rate": 0.044,
                "shots_on_target": 0.1362,
                "total_shots": 0.3811,
                "rating": 6.7192,
                "minutes": 24.64,
                "total_pass": 16.8222,
                "accurate_pass": 13.8629,
                "duels_won": 2.3087,
                "total_long_balls": 1.8709,
                "accurate_long_balls": 1.3911,
                "total_own_half_passes": 8.9187,
                "accurate_own_half_passes": 7.8546,
                "total_opp_half_passes": 7.9035,
                "accurate_opp_half_passes": 6.0083,
                "crosses_total": 0.1668,
                "crosses_accurate": 0.0,
                "touches": 23.3229,
                "possession_lost": 3.999,
                "dispossessed": 0.3336,
                "duels_lost": 2.2915,
                "aerial_won": 0.6051,
                "aerial_lost": 0.363,
                "interceptions": 0.9726,
                "tackles_won": 0.7332,
                "tackles": 1.1603,
                "clearances": 0.3336,
                "total_contest": 0.1668,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5938,
                "fouls_drawn": 0.5432,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 4.9919,
                "total_progression": 8.611,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2449
              },
              "params": {
                "market_value_eur": 31000000,
                "quality_factor": 0.7249,
                "boost_factor": 1.0072,
                "reference_quality": 0.505,
                "history_matches": 41,
                "history_shrink": 0.1087,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0052)",
              "stats": {
                "key_pass": 0.3467,
                "expected_assists": 0.0267,
                "assists": 0.0414,
                "assist_rate": 0.0414,
                "expected_goals": 0.0336,
                "goals": 0.0438,
                "goal_rate": 0.0438,
                "shots_on_target": 0.1355,
                "total_shots": 0.3791,
                "rating": 6.7192,
                "minutes": 24.64,
                "total_pass": 16.8222,
                "accurate_pass": 13.8629,
                "duels_won": 2.3087,
                "total_long_balls": 1.8709,
                "accurate_long_balls": 1.3911,
                "total_own_half_passes": 8.9187,
                "accurate_own_half_passes": 7.8546,
                "total_opp_half_passes": 7.9035,
                "accurate_opp_half_passes": 6.0083,
                "crosses_total": 0.1659,
                "crosses_accurate": 0.0,
                "touches": 23.3229,
                "possession_lost": 3.999,
                "dispossessed": 0.3336,
                "duels_lost": 2.2915,
                "aerial_won": 0.6051,
                "aerial_lost": 0.363,
                "interceptions": 0.9714,
                "tackles_won": 0.7307,
                "tackles": 1.1603,
                "clearances": 0.3336,
                "total_contest": 0.1668,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5933,
                "fouls_drawn": 0.5404,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 4.9919,
                "total_progression": 8.611,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2449
              },
              "params": {
                "blend_weight": 0.0052,
                "history_matches": 41,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2738,
                "prior_reliability": 0.0733,
                "competition": "La Liga",
                "squad": "Athletic Club"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.6 to 24.7 expected minutes (appearance prob 0.52)",
              "stats": {
                "key_pass": 0.3475,
                "expected_assists": 0.0268,
                "assists": 0.0415,
                "assist_rate": 0.0415,
                "expected_goals": 0.0337,
                "goals": 0.0439,
                "goal_rate": 0.0439,
                "shots_on_target": 0.1358,
                "total_shots": 0.3813,
                "rating": 6.7192,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2455,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7
              },
              "params": {
                "expected_minutes": 24.7,
                "projection_minutes": 24.64,
                "minutes_scale": 1.0024,
                "appearance_probability": 0.523
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3475,
                "expected_assists": 0.0268,
                "assists": 0.0415,
                "assist_rate": 0.0415,
                "expected_goals": 0.0337,
                "goals": 0.0439,
                "goal_rate": 0.0439,
                "shots_on_target": 0.1358,
                "total_shots": 0.3813,
                "rating": 6.7192,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2455,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7
              },
              "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.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.3475,
                "expected_assists": 0.0205,
                "assist_rate": 0.0415,
                "assists": 0,
                "expected_goals": 0.0355,
                "goal_rate": 0.0439,
                "goals": 0,
                "shots_on_target": 0.1358,
                "total_shots": 0.3813,
                "rating": 6.7192,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0028,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2455,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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.1219,
                "creation_factor": 1.1914
              },
              "params": {
                "team_lambda": 1.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 0.523
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0268,
                  "after": 0.0205
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "key_pass": 0.3475,
                "expected_assists": 0.0205,
                "assist_rate": 0.0415,
                "assists": 0,
                "expected_goals": 0.0355,
                "goal_rate": 0.0439,
                "goals": 0,
                "shots_on_target": 0.1358,
                "total_shots": 0.3813,
                "rating": 6.7192,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0028,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2455,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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.1219,
                "creation_factor": 1.1914,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1561,
                "fifa_rank": 915.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.3475,
                "expected_assists": 0.0205,
                "assist_rate": 0.0415,
                "assists": 0,
                "expected_goals": 0.0355,
                "goal_rate": 0.0439,
                "goals": 0,
                "shots_on_target": 0.1358,
                "total_shots": 0.3813,
                "rating": 6.7192,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0028,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2455,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0182,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1219,
                "creation_factor": 1.1914,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0182,
                "scorer_weight": 0.0208,
                "squad_weight_total": 1.0169,
                "weight_share": 0.0205,
                "finishing_factor": 1.1219,
                "appearance_weight": 0.523,
                "weight_rank": 12,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.3475,
                "expected_assists": 0.0205,
                "assist_rate": 0.0415,
                "assists": 0,
                "expected_goals": 0.0355,
                "goal_rate": 0.0439,
                "goals": 0,
                "shots_on_target": 0.1358,
                "total_shots": 0.3813,
                "rating": 6.7192,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0028,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2455,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0182,
                "projected_assists": 0,
                "assist_probability": 0.0106,
                "finishing_factor": 1.1219,
                "creation_factor": 1.1914,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0106,
                "provider_weight": 0.0128,
                "squad_weight_total": 0.779,
                "weight_share": 0.0164,
                "creation_factor": 1.1914,
                "appearance_weight": 0.523,
                "weight_rank": 11,
                "eligible_players": 13
              }
            }
          ]
        },
        "Oihan Sancet": {
          "player_id": 966801,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 188,
          "market_value": 24000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0611,
            "assist_rate": 0.0964,
            "assists": 0,
            "expected_goals": 0.0702,
            "goal_rate": 0.0745,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7303,
            "minutes": 23,
            "total_pass": 8,
            "accurate_pass": 7,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 3.6454,
            "dispossessed": 0.9315,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1555,
            "ball_carries": 5,
            "total_progression": 21,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.326,
            "bench_expected_minutes": 22.89,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8114,
                "expected_assists": 0.0161,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 25,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2131,
                "expected_assists": 0.9174,
                "total_shots": 4,
                "shots_off_target": 4,
                "total_pass": 30,
                "accurate_pass": 27,
                "key_pass": 3,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5786,
                "expected_assists": 0.0169,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 16,
                "key_pass": 1,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 65,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4254,
                "expected_assists": 0.0529,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 19,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1759,
                "expected_assists": 0.0188,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 19,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 4,
                "duels_won": 8,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3757,
                "expected_assists": 0.1728,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 31,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 10,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 65,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2265,
                "expected_assists": 0.1649,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0684,
                "expected_assists": 0.0246,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 19,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 27,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0256,
                "expected_assists": 0.0078,
                "total_shots": 1,
                "total_pass": 9,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 25,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0153,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 6,
                "tackles": 3,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "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": 2326,
            "combined_rank_score": 1044.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 845.0,
            "sofascore_rating": 6.5786,
            "sofascore_appearances": 28.0,
            "fifa_rank": 1244.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7303,
            "source_file": "data/player_rankings.csv",
            "player_name": "Oihan Sancet",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Sunnatilla Poyonov",
                  "ranking": 2321
                },
                {
                  "player_name": "Claudio Torres",
                  "ranking": 2322
                },
                {
                  "player_name": "Lars Traber",
                  "ranking": 2323
                },
                {
                  "player_name": "Adem Zorgane",
                  "ranking": 2324
                },
                {
                  "player_name": "Matteo Ruggeri",
                  "ranking": 2325
                }
              ],
              "lower": [
                {
                  "player_name": "Dušan Tadić",
                  "ranking": 2327
                },
                {
                  "player_name": "Christian Eriksen",
                  "ranking": 2328
                },
                {
                  "player_name": "Yerko Leiva",
                  "ranking": 2329
                },
                {
                  "player_name": "Sergiño Dest",
                  "ranking": 2330
                },
                {
                  "player_name": "Kosta Barbarouses",
                  "ranking": 2331
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.777,
          "history_matches": 34,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 34,
            "data_confidence": 0.777,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.88735814265611,
            "bench_appearance_prob": 0.326,
            "market_value_adjustment": 1.0063,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.18
            },
            "rationale": "Bench projection scaled from XGBoost M_service (34 historical appearances) to 22.9 expected mins (appearance prob 0.33); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.744,
                "expected_assists": 0.0844,
                "assists": 0.1352,
                "assist_rate": 0.1352,
                "expected_goals": 0.097,
                "goals": 0.1045,
                "goal_rate": 0.1045,
                "shots_on_target": 0.3102,
                "total_shots": 1.0617,
                "rating": 6.7303,
                "minutes": 31.81,
                "total_pass": 11.1377,
                "accurate_pass": 10.0685,
                "duels_won": 3.4141,
                "total_long_balls": 1.0996,
                "accurate_long_balls": 0.8482,
                "total_own_half_passes": 3.2733,
                "accurate_own_half_passes": 2.915,
                "total_opp_half_passes": 7.8644,
                "accurate_opp_half_passes": 7.1535,
                "crosses_total": 1.1546,
                "crosses_accurate": 0.2958,
                "touches": 20.0851,
                "possession_lost": 5.0349,
                "dispossessed": 0.9257,
                "duels_lost": 3.5348,
                "aerial_won": 0.792,
                "aerial_lost": 0.6319,
                "interceptions": 0.0,
                "tackles_won": 0.7264,
                "tackles": 1.3152,
                "clearances": 0.2137,
                "total_contest": 0.9811,
                "won_contest": 0.4148,
                "challenges_lost": 0.5627,
                "fouls": 0.8482,
                "fouls_drawn": 0.8921,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1479,
                "xgot": 0.2147,
                "ball_carries": 7.2443,
                "total_progression": 29.5319,
                "progressive_carries": 0.7049,
                "shots_off_target": 0.7515
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-09T10:04:11.914604+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1506,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.128,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1088,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0925,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0483,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Osasuna",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0349,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 2.3505,
                  "creative_index": 0.5838,
                  "expectedGoals": 0.3555,
                  "expectedAssists": 0.1651,
                  "onTargetScoringAttempt": 0.6824
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7439969778060913,
                    "model_output": 0.744,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3862
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.063
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0614
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0586
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0352
                        }
                      ],
                      "others": 0.0962,
                      "total": 0.744,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.572373
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.118653
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.103493
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.089678
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.052974
                        }
                      ],
                      "others_margin": 0.13862
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08437222242355347,
                    "model_output": 0.0844,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0348
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0083
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0076
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0063
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0047
                        }
                      ],
                      "others": 0.0191,
                      "total": 0.0844,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.520916
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.150902
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.120824
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.098207
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.074344
                        }
                      ],
                      "others_margin": 0.256583
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.13518668711185455,
                    "model_output": 0.1352,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0144
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0145
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0135
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0121
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0118
                        }
                      ],
                      "others": 0.0343,
                      "total": 0.1352,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.155646
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.135511
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.126373
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.113596
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.110996
                        }
                      ],
                      "others_margin": 0.293925
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09695891290903091,
                    "model_output": 0.097,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0477
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0208
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0115
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0073
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0066
                        }
                      ],
                      "others": 0.0041,
                      "total": 0.097,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.704123
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.367686
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.156811
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.088332
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.073634
                        }
                      ],
                      "others_margin": 0.044111
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.10450021922588348,
                    "model_output": 0.1045,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0477
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0219
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0099
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0098
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0069
                        }
                      ],
                      "others": 0.0061,
                      "total": 0.1045,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.670944
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.364344
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.129275
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.113263
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.073031
                        }
                      ],
                      "others_margin": 0.058879
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3102196753025055,
                    "model_output": 0.3102,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1643
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0474
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0408
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0219
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0137
                        }
                      ],
                      "others": 0.0267,
                      "total": 0.3102,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.707393
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.259758
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.179671
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.084786
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.049632
                        }
                      ],
                      "others_margin": 0.090111
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0617165565490723,
                    "model_output": 1.0617,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.6497
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.4538
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0667
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0543
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0534
                        }
                      ],
                      "others": 0.1995,
                      "total": 1.0617,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.649658
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.453769
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.066727
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.054296
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.053414
                        }
                      ],
                      "others_margin": 0.199533
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.730278491973877,
                    "model_output": 6.7303,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0896
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0458
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0339
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0241
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0194
                        }
                      ],
                      "others": -0.0362,
                      "total": 6.7303,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.089646
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.045844
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.033942
                        },
                        {
                          "name": "rating",
                          "margin": -0.024061
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.019361
                        }
                      ],
                      "others_margin": -0.036149
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 34,
                  "role_matches": 6,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0063, quality 0.669)",
              "stats": {
                "key_pass": 0.7487,
                "expected_assists": 0.0849,
                "assists": 0.136,
                "assist_rate": 0.136,
                "expected_goals": 0.0976,
                "goals": 0.1052,
                "goal_rate": 0.1052,
                "shots_on_target": 0.3122,
                "total_shots": 1.0684,
                "rating": 6.7303,
                "minutes": 31.81,
                "total_pass": 11.2079,
                "accurate_pass": 10.1319,
                "duels_won": 3.4356,
                "total_long_balls": 1.1065,
                "accurate_long_balls": 0.8535,
                "total_own_half_passes": 3.2939,
                "accurate_own_half_passes": 2.9334,
                "total_opp_half_passes": 7.9139,
                "accurate_opp_half_passes": 7.1986,
                "crosses_total": 1.1619,
                "crosses_accurate": 0.2977,
                "touches": 20.2116,
                "possession_lost": 5.0666,
                "dispossessed": 0.9315,
                "duels_lost": 3.5571,
                "aerial_won": 0.797,
                "aerial_lost": 0.6359,
                "interceptions": 0.0,
                "tackles_won": 0.731,
                "tackles": 1.3235,
                "clearances": 0.215,
                "total_contest": 0.9873,
                "won_contest": 0.4174,
                "challenges_lost": 0.5662,
                "fouls": 0.8535,
                "fouls_drawn": 0.8977,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1488,
                "xgot": 0.2161,
                "ball_carries": 7.2899,
                "total_progression": 29.718,
                "progressive_carries": 0.7093,
                "shots_off_target": 0.7562
              },
              "params": {
                "market_value_eur": 24000000,
                "quality_factor": 0.6685,
                "boost_factor": 1.0063,
                "reference_quality": 0.505,
                "history_matches": 34,
                "history_shrink": 0.1282,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0150)",
              "stats": {
                "key_pass": 0.7487,
                "expected_assists": 0.0849,
                "assists": 0.134,
                "assist_rate": 0.134,
                "expected_goals": 0.0976,
                "goals": 0.1036,
                "goal_rate": 0.1036,
                "shots_on_target": 0.3134,
                "total_shots": 1.068,
                "rating": 6.7303,
                "minutes": 31.81,
                "total_pass": 11.2079,
                "accurate_pass": 10.1319,
                "duels_won": 3.4356,
                "total_long_balls": 1.1065,
                "accurate_long_balls": 0.8535,
                "total_own_half_passes": 3.2939,
                "accurate_own_half_passes": 2.9334,
                "total_opp_half_passes": 7.9139,
                "accurate_opp_half_passes": 7.1986,
                "crosses_total": 1.1484,
                "crosses_accurate": 0.2977,
                "touches": 20.2116,
                "possession_lost": 5.0666,
                "dispossessed": 0.9315,
                "duels_lost": 3.5571,
                "aerial_won": 0.797,
                "aerial_lost": 0.6359,
                "interceptions": 0.0039,
                "tackles_won": 0.722,
                "tackles": 1.3235,
                "clearances": 0.215,
                "total_contest": 0.9873,
                "won_contest": 0.4174,
                "challenges_lost": 0.5662,
                "fouls": 0.8427,
                "fouls_drawn": 0.8921,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1488,
                "xgot": 0.2161,
                "ball_carries": 7.2899,
                "total_progression": 29.718,
                "progressive_carries": 0.7093,
                "shots_off_target": 0.7562
              },
              "params": {
                "blend_weight": 0.015,
                "history_matches": 34,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3534,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.1619,
                  "after": 1.1484
                },
                {
                  "stat": "fouls",
                  "before": 0.8535,
                  "after": 0.8427
                },
                {
                  "stat": "wonTackle",
                  "before": 0.731,
                  "after": 0.722
                },
                {
                  "stat": "wasFouled",
                  "before": 0.8977,
                  "after": 0.8921
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 31.8 to 22.9 expected minutes (appearance prob 0.33)",
              "stats": {
                "key_pass": 0.5387,
                "expected_assists": 0.0611,
                "assists": 0.0964,
                "assist_rate": 0.0964,
                "expected_goals": 0.0702,
                "goals": 0.0745,
                "goal_rate": 0.0745,
                "shots_on_target": 0.2255,
                "total_shots": 0.7696,
                "rating": 6.7303,
                "minutes": 22.89,
                "total_pass": 8.0641,
                "accurate_pass": 7.2899,
                "duels_won": 2.4719,
                "total_long_balls": 0.7961,
                "accurate_long_balls": 0.6141,
                "total_own_half_passes": 2.37,
                "accurate_own_half_passes": 2.1106,
                "total_opp_half_passes": 5.6941,
                "accurate_opp_half_passes": 5.1794,
                "crosses_total": 0.8263,
                "crosses_accurate": 0.2142,
                "touches": 14.5423,
                "possession_lost": 3.6454,
                "dispossessed": 0.9315,
                "duels_lost": 2.5593,
                "aerial_won": 0.5734,
                "aerial_lost": 0.6359,
                "interceptions": 0.0028,
                "tackles_won": 0.5195,
                "tackles": 0.9523,
                "clearances": 0.1547,
                "total_contest": 0.7104,
                "won_contest": 0.3003,
                "challenges_lost": 0.5662,
                "fouls": 0.6063,
                "fouls_drawn": 0.6419,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1071,
                "xgot": 0.1555,
                "ball_carries": 5.2451,
                "total_progression": 21.3822,
                "progressive_carries": 0.5103,
                "shots_off_target": 0.5441,
                "bench_appearance_probability": 0.326,
                "bench_expected_minutes": 22.89
              },
              "params": {
                "expected_minutes": 22.89,
                "projection_minutes": 31.81,
                "minutes_scale": 0.7195,
                "appearance_probability": 0.326
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5387,
                "expected_assists": 0.0611,
                "assists": 0.0964,
                "assist_rate": 0.0964,
                "expected_goals": 0.0702,
                "goals": 0.0745,
                "goal_rate": 0.0745,
                "shots_on_target": 0.2255,
                "total_shots": 0.7696,
                "rating": 6.7303,
                "minutes": 22.89,
                "total_pass": 8.0641,
                "accurate_pass": 7.2899,
                "duels_won": 2.4719,
                "total_long_balls": 0.7961,
                "accurate_long_balls": 0.6141,
                "total_own_half_passes": 2.37,
                "accurate_own_half_passes": 2.1106,
                "total_opp_half_passes": 5.6941,
                "accurate_opp_half_passes": 5.1794,
                "crosses_total": 0.8263,
                "crosses_accurate": 0.2142,
                "touches": 14.5423,
                "possession_lost": 3.6454,
                "dispossessed": 0.9315,
                "duels_lost": 2.5593,
                "aerial_won": 0.5734,
                "aerial_lost": 0.6359,
                "interceptions": 0.0028,
                "tackles_won": 0.5195,
                "tackles": 0.9523,
                "clearances": 0.1547,
                "total_contest": 0.7104,
                "won_contest": 0.3003,
                "challenges_lost": 0.5662,
                "fouls": 0.6063,
                "fouls_drawn": 0.6419,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1071,
                "xgot": 0.1555,
                "ball_carries": 5.2451,
                "total_progression": 21.3822,
                "progressive_carries": 0.5103,
                "shots_off_target": 0.5441,
                "bench_appearance_probability": 0.326,
                "bench_expected_minutes": 22.89
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "key_pass": 0.5387,
                "expected_assists": 0.0611,
                "assist_rate": 0.0964,
                "assists": 0,
                "expected_goals": 0.0702,
                "goal_rate": 0.0745,
                "goals": 0,
                "shots_on_target": 0.2255,
                "total_shots": 0.7696,
                "rating": 6.7303,
                "minutes": 22.89,
                "total_pass": 8.0641,
                "accurate_pass": 7.2899,
                "duels_won": 2.4719,
                "total_long_balls": 0.7961,
                "accurate_long_balls": 0.6141,
                "total_own_half_passes": 2.37,
                "accurate_own_half_passes": 2.1106,
                "total_opp_half_passes": 5.6941,
                "accurate_opp_half_passes": 5.1794,
                "crosses_total": 0.8263,
                "crosses_accurate": 0.2142,
                "touches": 14.5423,
                "possession_lost": 3.6454,
                "dispossessed": 0.9315,
                "duels_lost": 2.5593,
                "aerial_won": 0.5734,
                "aerial_lost": 0.6359,
                "interceptions": 0.0028,
                "tackles_won": 0.5195,
                "tackles": 0.9523,
                "clearances": 0.1547,
                "total_contest": 0.7104,
                "won_contest": 0.3003,
                "challenges_lost": 0.5662,
                "fouls": 0.6063,
                "fouls_drawn": 0.6419,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1071,
                "xgot": 0.1555,
                "ball_carries": 5.2451,
                "total_progression": 21.3822,
                "progressive_carries": 0.5103,
                "shots_off_target": 0.5441,
                "bench_appearance_probability": 0.326,
                "bench_expected_minutes": 22.89,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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.326,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 14 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "key_pass": 0.5387,
                "expected_assists": 0.0611,
                "assist_rate": 0.0964,
                "assists": 0,
                "expected_goals": 0.0702,
                "goal_rate": 0.0745,
                "goals": 0,
                "shots_on_target": 0.2255,
                "total_shots": 0.7696,
                "rating": 6.7303,
                "minutes": 22.89,
                "total_pass": 8.0641,
                "accurate_pass": 7.2899,
                "duels_won": 2.4719,
                "total_long_balls": 0.7961,
                "accurate_long_balls": 0.6141,
                "total_own_half_passes": 2.37,
                "accurate_own_half_passes": 2.1106,
                "total_opp_half_passes": 5.6941,
                "accurate_opp_half_passes": 5.1794,
                "crosses_total": 0.8263,
                "crosses_accurate": 0.2142,
                "touches": 14.5423,
                "possession_lost": 3.6454,
                "dispossessed": 0.9315,
                "duels_lost": 2.5593,
                "aerial_won": 0.5734,
                "aerial_lost": 0.6359,
                "interceptions": 0.0028,
                "tackles_won": 0.5195,
                "tackles": 0.9523,
                "clearances": 0.1547,
                "total_contest": 0.7104,
                "won_contest": 0.3003,
                "challenges_lost": 0.5662,
                "fouls": 0.6063,
                "fouls_drawn": 0.6419,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1071,
                "xgot": 0.1555,
                "ball_carries": 5.2451,
                "total_progression": 21.3822,
                "progressive_carries": 0.5103,
                "shots_off_target": 0.5441,
                "bench_appearance_probability": 0.326,
                "bench_expected_minutes": 22.89,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2326,
                "fifa_rank": 1244.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Nico Williams": {
          "player_id": 1085400,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 180,
          "market_value": 44000000,
          "stats": {
            "expected_goals": 0.0815,
            "goal_rate": 0.0877,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0423,
            "key_pass": 1,
            "rating": 6.9731,
            "minutes": 26,
            "total_pass": 11,
            "accurate_pass": 9,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 7,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 8.4311,
            "dispossessed": 0.9692,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 4,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 43,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.62,
            "bench_expected_minutes": 25.78,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0485,
            "projected_assists": 0,
            "assist_probability": 0.0257,
            "finishing_factor": 1.0808,
            "creation_factor": 0.8,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.084,
                "expected_assists": 0.0708,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 39,
                "accurate_pass": 30,
                "key_pass": 3,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0972,
                "expected_assists": 1.0516,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 41,
                "accurate_pass": 34,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 76,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4335,
                "expected_assists": 0.0079,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 12,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 16,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3375,
                "expected_assists": 0.0017,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 3,
                "accurate_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 60,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0239,
                "expected_assists": 0.0003,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 32,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0856,
                "expected_assists": 0.1838,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 12,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 36,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.049,
                "expected_assists": 0.1858,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 8,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 89,
                "rating": 8.8,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.5302,
                "expected_assists": 0.0367,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 25,
                "accurate_pass": 21,
                "key_pass": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 70,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0133,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 16,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 65,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0759,
                "expected_assists": 0.0391,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 6,
                "key_pass": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "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": 498,
            "combined_rank_score": 291.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 351.0,
            "sofascore_rating": 6.984,
            "sofascore_appearances": 25.0,
            "fifa_rank": 231.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9731,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nico Williams",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Alex Fernandes",
                  "ranking": 493
                },
                {
                  "player_name": "Lucas Soto",
                  "ranking": 494
                },
                {
                  "player_name": "Jo Jun-Hyun",
                  "ranking": 495
                },
                {
                  "player_name": "Nizar El Jmili",
                  "ranking": 496
                },
                {
                  "player_name": "Marco de las Sias",
                  "ranking": 497
                }
              ],
              "lower": [
                {
                  "player_name": "José Ángel López",
                  "ranking": 499
                },
                {
                  "player_name": "Kim Hye-Seong",
                  "ranking": 500
                },
                {
                  "player_name": "Matheus Babi",
                  "ranking": 501
                },
                {
                  "player_name": "Farrukh Sayfiev",
                  "ranking": 502
                },
                {
                  "player_name": "Dong-min Kim",
                  "ranking": 503
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.762,
          "history_matches": 31,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 31,
            "data_confidence": 0.762,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.78,
            "bench_appearance_prob": 0.62,
            "market_value_adjustment": 1.0123,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 25.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.08
            },
            "rationale": "Bench projection scaled from XGBoost F_service (31 historical appearances) to 25.8 expected mins (appearance prob 0.62); FBref playing time empirical prior: 2.0 sub appearances, 25.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0892,
                "goals": 0.1018,
                "goal_rate": 0.1018,
                "shots_on_target": 0.2735,
                "total_shots": 1.1752,
                "expected_assists": 0.0637,
                "key_pass": 0.7008,
                "rating": 6.9731,
                "minutes": 30.07,
                "total_pass": 12.2396,
                "accurate_pass": 9.8153,
                "duels_won": 3.4147,
                "total_long_balls": 0.2132,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.0768,
                "accurate_opp_half_passes": 7.9554,
                "crosses_total": 2.1178,
                "crosses_accurate": 0.3472,
                "touches": 26.9825,
                "possession_lost": 9.7146,
                "dispossessed": 0.9574,
                "duels_lost": 4.9477,
                "aerial_lost": 0.5218,
                "total_contest": 4.3395,
                "won_contest": 1.5659,
                "ball_recovery": 1.5622,
                "challenges_lost": 0.3542,
                "fouls": 0.3407,
                "fouls_drawn": 0.5859,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2208,
                "tackles_won": 0.4917,
                "tackles": 0.9313,
                "clearances": 0.1356,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2448,
                "xgot": 0.0,
                "offsides": 0.1595,
                "ball_carries": 8.8366,
                "total_progression": 49.4185,
                "progressive_carries": 2.8484,
                "shots_off_target": 0.9017
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:04:40.622139+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.151,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1283,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.1091,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0927,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0788,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.067,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 36.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 8.8
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Osasuna",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1746,
                  "totalOppositionHalfPasses": 18.2453,
                  "accurateOppositionHalfPasses": 13.342,
                  "accuratePass": 18.001,
                  "totalShots": 2.0547
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08920657634735107,
                    "model_output": 0.0892,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0866
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0111
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0045
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0043
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.004
                        }
                      ],
                      "others": -0.0159,
                      "total": 0.0892,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.571292
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.104174
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.045803
                        },
                        {
                          "name": "goals",
                          "margin": 0.043442
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.03908
                        }
                      ],
                      "others_margin": -0.163374
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.10175566375255585,
                    "model_output": 0.1018,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0934
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0074
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0071
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.005
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0047
                        }
                      ],
                      "others": -0.0079,
                      "total": 0.1018,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.612948
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.069752
                        },
                        {
                          "name": "goals",
                          "margin": 0.066814
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.046173
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.044007
                        }
                      ],
                      "others_margin": -0.076265
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2734762132167816,
                    "model_output": 0.2735,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.231
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0344
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0279
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0107
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0099
                        }
                      ],
                      "others": -0.0398,
                      "total": 0.2735,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.562441
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.106584
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.085524
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.033772
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.031141
                        }
                      ],
                      "others_margin": -0.135996
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.175189733505249,
                    "model_output": 1.1752,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.571
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1996
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0697
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0552
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0466
                        }
                      ],
                      "others": -0.0036,
                      "total": 1.1752,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.571019
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.199641
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.069716
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.055239
                        },
                        {
                          "name": "goals",
                          "margin": 0.046615
                        }
                      ],
                      "others_margin": -0.003709
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0636722669005394,
                    "model_output": 0.0637,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0225
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0061
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0066
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0033
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0031
                        }
                      ],
                      "others": 0.0094,
                      "total": 0.0637,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.431299
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.13574
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.129892
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.063039
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.059335
                        }
                      ],
                      "others_margin": 0.159818
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.700812041759491,
                    "model_output": 0.7008,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2732
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0673
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0502
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0281
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0264
                        }
                      ],
                      "others": 0.1842,
                      "total": 0.7008,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.519901
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.155282
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.101801
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.055655
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.052537
                        }
                      ],
                      "others_margin": 0.304979
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.973126411437988,
                    "model_output": 6.9731,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0912
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.078
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0445
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0264
                        },
                        {
                          "name": "shot_waste_rate",
                          "contribution": 0.0252
                        }
                      ],
                      "others": 0.1016,
                      "total": 6.9731,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.091235
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.077983
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.04447
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.026421
                        },
                        {
                          "name": "shot_waste_rate",
                          "margin": 0.02519
                        }
                      ],
                      "others_margin": 0.101633
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 31,
                  "role_matches": 7,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0123, quality 0.800)",
              "stats": {
                "expected_goals": 0.0903,
                "goals": 0.103,
                "goal_rate": 0.103,
                "shots_on_target": 0.2768,
                "total_shots": 1.1896,
                "expected_assists": 0.0645,
                "key_pass": 0.7094,
                "rating": 6.9731,
                "minutes": 30.07,
                "total_pass": 12.3901,
                "accurate_pass": 9.936,
                "duels_won": 3.4567,
                "total_long_balls": 0.2158,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.2007,
                "accurate_opp_half_passes": 8.0533,
                "crosses_total": 2.1438,
                "crosses_accurate": 0.3515,
                "touches": 27.3144,
                "possession_lost": 9.8341,
                "dispossessed": 0.9692,
                "duels_lost": 5.0086,
                "aerial_lost": 0.5282,
                "total_contest": 4.3929,
                "won_contest": 1.5852,
                "ball_recovery": 1.5814,
                "challenges_lost": 0.3586,
                "fouls": 0.3449,
                "fouls_drawn": 0.5931,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2235,
                "tackles_won": 0.4977,
                "tackles": 0.9428,
                "clearances": 0.1373,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2478,
                "xgot": 0.0,
                "offsides": 0.1615,
                "ball_carries": 8.9453,
                "total_progression": 50.0263,
                "progressive_carries": 2.8834,
                "shots_off_target": 0.9128
              },
              "params": {
                "market_value_eur": 44000000,
                "quality_factor": 0.8002,
                "boost_factor": 1.0123,
                "reference_quality": 0.505,
                "history_matches": 31,
                "history_shrink": 0.1389,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0072)",
              "stats": {
                "expected_goals": 0.0903,
                "goals": 0.1023,
                "goal_rate": 0.1023,
                "shots_on_target": 0.2748,
                "total_shots": 1.189,
                "expected_assists": 0.0645,
                "key_pass": 0.7094,
                "rating": 6.9731,
                "minutes": 30.07,
                "total_pass": 12.3901,
                "accurate_pass": 9.936,
                "duels_won": 3.4567,
                "total_long_balls": 0.2158,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.2007,
                "accurate_opp_half_passes": 8.0533,
                "crosses_total": 2.1404,
                "crosses_accurate": 0.3515,
                "touches": 27.3144,
                "possession_lost": 9.8341,
                "dispossessed": 0.9692,
                "duels_lost": 5.0086,
                "aerial_lost": 0.5282,
                "total_contest": 4.3929,
                "won_contest": 1.5852,
                "ball_recovery": 1.5814,
                "challenges_lost": 0.3586,
                "fouls": 0.3424,
                "fouls_drawn": 0.5888,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2239,
                "tackles_won": 0.4981,
                "tackles": 0.9428,
                "clearances": 0.1373,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2478,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 8.9453,
                "total_progression": 50.0263,
                "progressive_carries": 2.8834,
                "shots_off_target": 0.9128
              },
              "params": {
                "blend_weight": 0.0072,
                "history_matches": 31,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3341,
                "prior_reliability": 0.08,
                "competition": "La Liga",
                "squad": "Athletic Club"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 30.1 to 25.8 expected minutes (appearance prob 0.62)",
              "stats": {
                "expected_goals": 0.0774,
                "goals": 0.0877,
                "goal_rate": 0.0877,
                "shots_on_target": 0.2356,
                "total_shots": 1.0194,
                "expected_assists": 0.0553,
                "key_pass": 0.6082,
                "rating": 6.9731,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7826,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78
              },
              "params": {
                "expected_minutes": 25.78,
                "projection_minutes": 30.07,
                "minutes_scale": 0.8573,
                "appearance_probability": 0.62
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0774,
                "goals": 0.0877,
                "goal_rate": 0.0877,
                "shots_on_target": 0.2356,
                "total_shots": 1.0194,
                "expected_assists": 0.0553,
                "key_pass": 0.6082,
                "rating": 6.9731,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7826,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.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.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.0815,
                "goal_rate": 0.0877,
                "goals": 0,
                "shots_on_target": 0.2356,
                "total_shots": 1.0194,
                "expected_assists": 0.0423,
                "key_pass": 0.6082,
                "rating": 6.9731,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7826,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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.0808,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 0.62
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0553,
                  "after": 0.0423
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 7 by projected rating, fifa_overall 84.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0815,
                "goal_rate": 0.0877,
                "goals": 0,
                "shots_on_target": 0.2356,
                "total_shots": 1.0194,
                "expected_assists": 0.0423,
                "key_pass": 0.6082,
                "rating": 6.9731,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7826,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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.0808,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 498,
                "fifa_rank": 231.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0815,
                "goal_rate": 0.0877,
                "goals": 0,
                "shots_on_target": 0.2356,
                "total_shots": 1.0194,
                "expected_assists": 0.0423,
                "key_pass": 0.6082,
                "rating": 6.9731,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7826,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0485,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0808,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0485,
                "scorer_weight": 0.0546,
                "squad_weight_total": 1.0169,
                "weight_share": 0.0537,
                "finishing_factor": 1.0808,
                "appearance_weight": 0.62,
                "weight_rank": 7,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0815,
                "goal_rate": 0.0877,
                "goals": 0,
                "shots_on_target": 0.2356,
                "total_shots": 1.0194,
                "expected_assists": 0.0423,
                "key_pass": 0.6082,
                "rating": 6.9731,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7826,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0485,
                "projected_assists": 0,
                "assist_probability": 0.0257,
                "finishing_factor": 1.0808,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0257,
                "provider_weight": 0.021,
                "squad_weight_total": 0.779,
                "weight_share": 0.0269,
                "creation_factor": 0.8,
                "appearance_weight": 0.62,
                "weight_rank": 9,
                "eligible_players": 13
              }
            }
          ]
        },
        "Gorka Guruzeta": {
          "player_id": 605672,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 188,
          "market_value": 4600000,
          "stats": {
            "expected_goals": 0.1217,
            "goal_rate": 0.1236,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0156,
            "key_pass": 0,
            "rating": 6.6062,
            "minutes": 26,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 2.7592,
            "dispossessed": 0.2273,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1095,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.464,
            "bench_expected_minutes": 25.72,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0532,
            "projected_assists": 0,
            "assist_probability": 0.0072,
            "finishing_factor": 1.0483,
            "creation_factor": 0.8,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 14,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0047,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 25,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2164,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 81,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 7,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 58,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.046,
                "expected_assists": 0.0127,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 13,
                "accurate_pass": 6,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 74,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3371,
                "expected_assists": 0.013,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 21,
                "accurate_pass": 13,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 82,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2874,
                "expected_assists": 0.0279,
                "total_shots": 4,
                "shots_off_target": 2,
                "total_pass": 19,
                "accurate_pass": 10,
                "key_pass": 1,
                "aerial_won": 4,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 27,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0277,
                "expected_assists": 0.0096,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 7,
                "accurate_pass": 5,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3076,
                "expected_assists": 0.0103,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 12,
                "tackles": 4,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 5,
                "duels_won": 9,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.0223,
                "expected_assists": 0.0564,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 20,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4989,
                "expected_assists": 0.0192,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 23,
                "accurate_pass": 15,
                "key_pass": 1,
                "aerial_won": 5,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "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": 2383,
            "combined_rank_score": 1054.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 864.0,
            "sofascore_rating": 6.56,
            "sofascore_appearances": 35.0,
            "fifa_rank": 1245.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6062,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gorka Guruzeta",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bayron Oyarzo",
                  "ranking": 2378
                },
                {
                  "player_name": "Ignacio Mesías",
                  "ranking": 2379
                },
                {
                  "player_name": "Virgiliu Postolachi",
                  "ranking": 2380
                },
                {
                  "player_name": "Jung Se-jun",
                  "ranking": 2381
                },
                {
                  "player_name": "Antonio Blanco",
                  "ranking": 2382
                }
              ],
              "lower": [
                {
                  "player_name": "Alfon González",
                  "ranking": 2384
                },
                {
                  "player_name": "Rashid Abubakar",
                  "ranking": 2385
                },
                {
                  "player_name": "Fredrik André Bjørkan",
                  "ranking": 2386
                },
                {
                  "player_name": "Carlos Escobar",
                  "ranking": 2387
                },
                {
                  "player_name": "Daniel Londoño",
                  "ranking": 2388
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.768,
          "history_matches": 39,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.768,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.72,
            "bench_appearance_prob": 0.464,
            "market_value_adjustment": 0.9984,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 26.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.12
            },
            "rationale": "Bench projection scaled from XGBoost F_service (39 historical appearances) to 25.7 expected mins (appearance prob 0.46); FBref playing time empirical prior: 1.0 sub appearances, 26.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1106,
                "goals": 0.1193,
                "goal_rate": 0.1193,
                "shots_on_target": 0.3621,
                "total_shots": 0.8216,
                "expected_assists": 0.0196,
                "key_pass": 0.2674,
                "rating": 6.6062,
                "minutes": 24.56,
                "total_pass": 4.9478,
                "accurate_pass": 3.8515,
                "duels_won": 1.7166,
                "total_long_balls": 0.5342,
                "accurate_long_balls": 0.3683,
                "total_opp_half_passes": 3.7144,
                "accurate_opp_half_passes": 2.6181,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.4397,
                "possession_lost": 2.639,
                "dispossessed": 0.2277,
                "duels_lost": 3.2485,
                "aerial_lost": 0.941,
                "total_contest": 0.481,
                "won_contest": 0.0,
                "ball_recovery": 0.0532,
                "challenges_lost": 0.3887,
                "fouls": 1.21,
                "fouls_drawn": 0.3666,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1731,
                "tackles_won": 0.2819,
                "tackles": 0.5106,
                "clearances": 0.2772,
                "blocks": 0.1199,
                "big_chances_created": 0.1659,
                "big_chances_missed": 0.149,
                "xgot": 0.0995,
                "offsides": 0.1755,
                "ball_carries": 1.2595,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4595
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:04:40.622139+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.1503,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.1277,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1436,
                  "totalOppositionHalfPasses": 9.0253,
                  "accurateOppositionHalfPasses": 5.3045,
                  "accuratePass": 7.5921,
                  "totalShots": 1.6532
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1105751171708107,
                    "model_output": 0.1106,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0902
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.01
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0051
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.004
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0036
                        }
                      ],
                      "others": 0.0063,
                      "total": 0.1106,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.604162
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.096597
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.050523
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.037739
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.034417
                        }
                      ],
                      "others_margin": 0.059532
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11925587058067322,
                    "model_output": 0.1193,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0847
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0178
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0072
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0062
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.004
                        }
                      ],
                      "others": 0.0087,
                      "total": 0.1193,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.536991
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.16228
                        },
                        {
                          "name": "goals",
                          "margin": 0.069116
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.0559
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.035129
                        }
                      ],
                      "others_margin": 0.073765
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3620859980583191,
                    "model_output": 0.3621,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2077
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0156
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0137
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.013
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0114
                        }
                      ],
                      "others": 0.0103,
                      "total": 0.3621,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.489096
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.048622
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.042788
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.038822
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.033085
                        }
                      ],
                      "others_margin": 0.028943
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8216013312339783,
                    "model_output": 0.8216,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5797
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0755
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0267
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.022
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0211
                        }
                      ],
                      "others": -0.0365,
                      "total": 0.8216,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.579739
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.07552
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.026677
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.022017
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.021139
                        }
                      ],
                      "others_margin": -0.036408
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.019573507830500603,
                    "model_output": 0.0196,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0214
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0055
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0031
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0026
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.01,
                      "total": 0.0196,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.405928
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.137374
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.087259
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.080246
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.07
                        }
                      ],
                      "others_margin": -0.408317
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.26737573742866516,
                    "model_output": 0.2674,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2652
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0335
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0273
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0203
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0161
                        }
                      ],
                      "others": -0.0442,
                      "total": 0.2674,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.499976
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.085411
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.075461
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.060122
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.050356
                        }
                      ],
                      "others_margin": -0.153215
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6061553955078125,
                    "model_output": 6.6062,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0533
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0199
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0178
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0101
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0095
                        }
                      ],
                      "others": -0.0644,
                      "total": 6.6062,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.053291
                        },
                        {
                          "name": "rating",
                          "margin": -0.019851
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.017842
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.010134
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.009541
                        }
                      ],
                      "others_margin": -0.064429
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 39,
                  "role_matches": 9,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9984, quality 0.457)",
              "stats": {
                "expected_goals": 0.1104,
                "goals": 0.1191,
                "goal_rate": 0.1191,
                "shots_on_target": 0.3615,
                "total_shots": 0.8203,
                "expected_assists": 0.0195,
                "key_pass": 0.2669,
                "rating": 6.6062,
                "minutes": 24.56,
                "total_pass": 4.9399,
                "accurate_pass": 3.8453,
                "duels_won": 1.7139,
                "total_long_balls": 0.5333,
                "accurate_long_balls": 0.3677,
                "total_opp_half_passes": 3.7085,
                "accurate_opp_half_passes": 2.6139,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.423,
                "possession_lost": 2.6348,
                "dispossessed": 0.2273,
                "duels_lost": 3.2433,
                "aerial_lost": 0.9395,
                "total_contest": 0.4802,
                "won_contest": 0.0,
                "ball_recovery": 0.0531,
                "challenges_lost": 0.3881,
                "fouls": 1.2081,
                "fouls_drawn": 0.366,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1728,
                "tackles_won": 0.2814,
                "tackles": 0.5098,
                "clearances": 0.2768,
                "blocks": 0.1197,
                "big_chances_created": 0.1656,
                "big_chances_missed": 0.1488,
                "xgot": 0.0993,
                "offsides": 0.1752,
                "ball_carries": 1.2575,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4588
              },
              "params": {
                "market_value_eur": 4600000,
                "quality_factor": 0.4572,
                "boost_factor": 0.9984,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0089)",
              "stats": {
                "expected_goals": 0.1104,
                "goals": 0.118,
                "goal_rate": 0.118,
                "shots_on_target": 0.3583,
                "total_shots": 0.8157,
                "expected_assists": 0.0195,
                "key_pass": 0.2669,
                "rating": 6.6062,
                "minutes": 24.56,
                "total_pass": 4.9399,
                "accurate_pass": 3.8453,
                "duels_won": 1.7139,
                "total_long_balls": 0.5333,
                "accurate_long_balls": 0.3677,
                "total_opp_half_passes": 3.7085,
                "accurate_opp_half_passes": 2.6139,
                "crosses_total": 0.0013,
                "crosses_accurate": 0.0,
                "touches": 10.423,
                "possession_lost": 2.6348,
                "dispossessed": 0.2273,
                "duels_lost": 3.2433,
                "aerial_lost": 0.9395,
                "total_contest": 0.4802,
                "won_contest": 0.0,
                "ball_recovery": 0.0531,
                "challenges_lost": 0.3881,
                "fouls": 1.2028,
                "fouls_drawn": 0.3668,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1726,
                "tackles_won": 0.2802,
                "tackles": 0.5098,
                "clearances": 0.2768,
                "blocks": 0.1197,
                "big_chances_created": 0.1656,
                "big_chances_missed": 0.1488,
                "xgot": 0.0993,
                "offsides": 0.1736,
                "ball_carries": 1.2575,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4588
              },
              "params": {
                "blend_weight": 0.0089,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2729,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 1.2081,
                  "after": 1.2028
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.6 to 25.7 expected minutes (appearance prob 0.46)",
              "stats": {
                "expected_goals": 0.1156,
                "goals": 0.1236,
                "goal_rate": 0.1236,
                "shots_on_target": 0.3752,
                "total_shots": 0.8557,
                "expected_assists": 0.0204,
                "key_pass": 0.2795,
                "rating": 6.6062,
                "minutes": 25.72,
                "total_pass": 5.1732,
                "accurate_pass": 4.0269,
                "duels_won": 1.7948,
                "total_long_balls": 0.5585,
                "accurate_long_balls": 0.3851,
                "total_opp_half_passes": 3.8837,
                "accurate_opp_half_passes": 2.7374,
                "crosses_total": 0.0014,
                "crosses_accurate": 0.0,
                "touches": 10.9153,
                "possession_lost": 2.7592,
                "dispossessed": 0.2273,
                "duels_lost": 3.3965,
                "aerial_lost": 0.9395,
                "total_contest": 0.5029,
                "won_contest": 0.0,
                "ball_recovery": 0.0556,
                "challenges_lost": 0.3881,
                "fouls": 1.2596,
                "fouls_drawn": 0.3841,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1808,
                "tackles_won": 0.2934,
                "tackles": 0.5339,
                "clearances": 0.2899,
                "blocks": 0.1254,
                "big_chances_created": 0.1734,
                "big_chances_missed": 0.1558,
                "xgot": 0.104,
                "offsides": 0.1736,
                "ball_carries": 1.3169,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4805,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 25.72
              },
              "params": {
                "expected_minutes": 25.72,
                "projection_minutes": 24.56,
                "minutes_scale": 1.0472,
                "appearance_probability": 0.464
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1156,
                "goals": 0.1236,
                "goal_rate": 0.1236,
                "shots_on_target": 0.3752,
                "total_shots": 0.8557,
                "expected_assists": 0.0204,
                "key_pass": 0.2795,
                "rating": 6.6062,
                "minutes": 25.72,
                "total_pass": 5.1732,
                "accurate_pass": 4.0269,
                "duels_won": 1.7948,
                "total_long_balls": 0.5585,
                "accurate_long_balls": 0.3851,
                "total_opp_half_passes": 3.8837,
                "accurate_opp_half_passes": 2.7374,
                "crosses_total": 0.0014,
                "crosses_accurate": 0.0,
                "touches": 10.9153,
                "possession_lost": 2.7592,
                "dispossessed": 0.2273,
                "duels_lost": 3.3965,
                "aerial_lost": 0.9395,
                "total_contest": 0.5029,
                "won_contest": 0.0,
                "ball_recovery": 0.0556,
                "challenges_lost": 0.3881,
                "fouls": 1.2596,
                "fouls_drawn": 0.3841,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1808,
                "tackles_won": 0.2934,
                "tackles": 0.5339,
                "clearances": 0.2899,
                "blocks": 0.1254,
                "big_chances_created": 0.1734,
                "big_chances_missed": 0.1558,
                "xgot": 0.104,
                "offsides": 0.1736,
                "ball_carries": 1.3169,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4805,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 25.72
              },
              "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.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.1217,
                "goal_rate": 0.1236,
                "goals": 0,
                "shots_on_target": 0.3752,
                "total_shots": 0.8557,
                "expected_assists": 0.0156,
                "key_pass": 0.2795,
                "rating": 6.6062,
                "minutes": 25.72,
                "total_pass": 5.1732,
                "accurate_pass": 4.0269,
                "duels_won": 1.7948,
                "total_long_balls": 0.5585,
                "accurate_long_balls": 0.3851,
                "total_opp_half_passes": 3.8837,
                "accurate_opp_half_passes": 2.7374,
                "crosses_total": 0.0014,
                "crosses_accurate": 0.0,
                "touches": 10.9153,
                "possession_lost": 2.7592,
                "dispossessed": 0.2273,
                "duels_lost": 3.3965,
                "aerial_lost": 0.9395,
                "total_contest": 0.5029,
                "won_contest": 0.0,
                "ball_recovery": 0.0556,
                "challenges_lost": 0.3881,
                "fouls": 1.2596,
                "fouls_drawn": 0.3841,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1808,
                "tackles_won": 0.2934,
                "tackles": 0.5339,
                "clearances": 0.2899,
                "blocks": 0.1254,
                "big_chances_created": 0.1734,
                "big_chances_missed": 0.1558,
                "xgot": 0.1095,
                "offsides": 0.1736,
                "ball_carries": 1.3169,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4805,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 25.72,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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.0483,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 0.464
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1156,
                  "after": 0.1217
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1217,
                "goal_rate": 0.1236,
                "goals": 0,
                "shots_on_target": 0.3752,
                "total_shots": 0.8557,
                "expected_assists": 0.0156,
                "key_pass": 0.2795,
                "rating": 6.6062,
                "minutes": 25.72,
                "total_pass": 5.1732,
                "accurate_pass": 4.0269,
                "duels_won": 1.7948,
                "total_long_balls": 0.5585,
                "accurate_long_balls": 0.3851,
                "total_opp_half_passes": 3.8837,
                "accurate_opp_half_passes": 2.7374,
                "crosses_total": 0.0014,
                "crosses_accurate": 0.0,
                "touches": 10.9153,
                "possession_lost": 2.7592,
                "dispossessed": 0.2273,
                "duels_lost": 3.3965,
                "aerial_lost": 0.9395,
                "total_contest": 0.5029,
                "won_contest": 0.0,
                "ball_recovery": 0.0556,
                "challenges_lost": 0.3881,
                "fouls": 1.2596,
                "fouls_drawn": 0.3841,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1808,
                "tackles_won": 0.2934,
                "tackles": 0.5339,
                "clearances": 0.2899,
                "blocks": 0.1254,
                "big_chances_created": 0.1734,
                "big_chances_missed": 0.1558,
                "xgot": 0.1095,
                "offsides": 0.1736,
                "ball_carries": 1.3169,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4805,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 25.72,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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.0483,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2383,
                "fifa_rank": 1245.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.1217,
                "goal_rate": 0.1236,
                "goals": 0,
                "shots_on_target": 0.3752,
                "total_shots": 0.8557,
                "expected_assists": 0.0156,
                "key_pass": 0.2795,
                "rating": 6.6062,
                "minutes": 25.72,
                "total_pass": 5.1732,
                "accurate_pass": 4.0269,
                "duels_won": 1.7948,
                "total_long_balls": 0.5585,
                "accurate_long_balls": 0.3851,
                "total_opp_half_passes": 3.8837,
                "accurate_opp_half_passes": 2.7374,
                "crosses_total": 0.0014,
                "crosses_accurate": 0.0,
                "touches": 10.9153,
                "possession_lost": 2.7592,
                "dispossessed": 0.2273,
                "duels_lost": 3.3965,
                "aerial_lost": 0.9395,
                "total_contest": 0.5029,
                "won_contest": 0.0,
                "ball_recovery": 0.0556,
                "challenges_lost": 0.3881,
                "fouls": 1.2596,
                "fouls_drawn": 0.3841,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1808,
                "tackles_won": 0.2934,
                "tackles": 0.5339,
                "clearances": 0.2899,
                "blocks": 0.1254,
                "big_chances_created": 0.1734,
                "big_chances_missed": 0.1558,
                "xgot": 0.1095,
                "offsides": 0.1736,
                "ball_carries": 1.3169,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4805,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 25.72,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0532,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0483,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0532,
                "scorer_weight": 0.0592,
                "squad_weight_total": 1.0169,
                "weight_share": 0.0582,
                "finishing_factor": 1.0483,
                "appearance_weight": 0.464,
                "weight_rank": 5,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.1217,
                "goal_rate": 0.1236,
                "goals": 0,
                "shots_on_target": 0.3752,
                "total_shots": 0.8557,
                "expected_assists": 0.0156,
                "key_pass": 0.2795,
                "rating": 6.6062,
                "minutes": 25.72,
                "total_pass": 5.1732,
                "accurate_pass": 4.0269,
                "duels_won": 1.7948,
                "total_long_balls": 0.5585,
                "accurate_long_balls": 0.3851,
                "total_opp_half_passes": 3.8837,
                "accurate_opp_half_passes": 2.7374,
                "crosses_total": 0.0014,
                "crosses_accurate": 0.0,
                "touches": 10.9153,
                "possession_lost": 2.7592,
                "dispossessed": 0.2273,
                "duels_lost": 3.3965,
                "aerial_lost": 0.9395,
                "total_contest": 0.5029,
                "won_contest": 0.0,
                "ball_recovery": 0.0556,
                "challenges_lost": 0.3881,
                "fouls": 1.2596,
                "fouls_drawn": 0.3841,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1808,
                "tackles_won": 0.2934,
                "tackles": 0.5339,
                "clearances": 0.2899,
                "blocks": 0.1254,
                "big_chances_created": 0.1734,
                "big_chances_missed": 0.1558,
                "xgot": 0.1095,
                "offsides": 0.1736,
                "ball_carries": 1.3169,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4805,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 25.72,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0532,
                "projected_assists": 0,
                "assist_probability": 0.0072,
                "finishing_factor": 1.0483,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0072,
                "provider_weight": 0.0058,
                "squad_weight_total": 0.779,
                "weight_share": 0.0074,
                "creation_factor": 0.8,
                "appearance_weight": 0.464,
                "weight_rank": 13,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "substitutes": {
        "Nico Williams": {
          "player_id": 1085400,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 180,
          "market_value": 44000000,
          "stats": {
            "expected_goals": 0.0815,
            "goal_rate": 0.0877,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0423,
            "key_pass": 1,
            "rating": 6.9731,
            "minutes": 26,
            "total_pass": 11,
            "accurate_pass": 9,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 7,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 8.4311,
            "dispossessed": 0.9692,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 4,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 43,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.62,
            "bench_expected_minutes": 25.78,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0485,
            "projected_assists": 0,
            "assist_probability": 0.0257,
            "finishing_factor": 1.0808,
            "creation_factor": 0.8,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.084,
                "expected_assists": 0.0708,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 39,
                "accurate_pass": 30,
                "key_pass": 3,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0972,
                "expected_assists": 1.0516,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 41,
                "accurate_pass": 34,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 76,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4335,
                "expected_assists": 0.0079,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 12,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 16,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3375,
                "expected_assists": 0.0017,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 3,
                "accurate_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 60,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0239,
                "expected_assists": 0.0003,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 32,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0856,
                "expected_assists": 0.1838,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 12,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 36,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.049,
                "expected_assists": 0.1858,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 8,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 89,
                "rating": 8.8,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.5302,
                "expected_assists": 0.0367,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 25,
                "accurate_pass": 21,
                "key_pass": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 70,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0133,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 16,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 65,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0759,
                "expected_assists": 0.0391,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 6,
                "key_pass": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "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": 498,
            "combined_rank_score": 291.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 351.0,
            "sofascore_rating": 6.984,
            "sofascore_appearances": 25.0,
            "fifa_rank": 231.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9731,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nico Williams",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Alex Fernandes",
                  "ranking": 493
                },
                {
                  "player_name": "Lucas Soto",
                  "ranking": 494
                },
                {
                  "player_name": "Jo Jun-Hyun",
                  "ranking": 495
                },
                {
                  "player_name": "Nizar El Jmili",
                  "ranking": 496
                },
                {
                  "player_name": "Marco de las Sias",
                  "ranking": 497
                }
              ],
              "lower": [
                {
                  "player_name": "José Ángel López",
                  "ranking": 499
                },
                {
                  "player_name": "Kim Hye-Seong",
                  "ranking": 500
                },
                {
                  "player_name": "Matheus Babi",
                  "ranking": 501
                },
                {
                  "player_name": "Farrukh Sayfiev",
                  "ranking": 502
                },
                {
                  "player_name": "Dong-min Kim",
                  "ranking": 503
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.762,
          "history_matches": 31,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 31,
            "data_confidence": 0.762,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.78,
            "bench_appearance_prob": 0.62,
            "market_value_adjustment": 1.0123,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 25.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.08
            },
            "rationale": "Bench projection scaled from XGBoost F_service (31 historical appearances) to 25.8 expected mins (appearance prob 0.62); FBref playing time empirical prior: 2.0 sub appearances, 25.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0892,
                "goals": 0.1018,
                "goal_rate": 0.1018,
                "shots_on_target": 0.2735,
                "total_shots": 1.1752,
                "expected_assists": 0.0637,
                "key_pass": 0.7008,
                "rating": 6.9731,
                "minutes": 30.07,
                "total_pass": 12.2396,
                "accurate_pass": 9.8153,
                "duels_won": 3.4147,
                "total_long_balls": 0.2132,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.0768,
                "accurate_opp_half_passes": 7.9554,
                "crosses_total": 2.1178,
                "crosses_accurate": 0.3472,
                "touches": 26.9825,
                "possession_lost": 9.7146,
                "dispossessed": 0.9574,
                "duels_lost": 4.9477,
                "aerial_lost": 0.5218,
                "total_contest": 4.3395,
                "won_contest": 1.5659,
                "ball_recovery": 1.5622,
                "challenges_lost": 0.3542,
                "fouls": 0.3407,
                "fouls_drawn": 0.5859,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2208,
                "tackles_won": 0.4917,
                "tackles": 0.9313,
                "clearances": 0.1356,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2448,
                "xgot": 0.0,
                "offsides": 0.1595,
                "ball_carries": 8.8366,
                "total_progression": 49.4185,
                "progressive_carries": 2.8484,
                "shots_off_target": 0.9017
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:04:40.622139+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.151,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1283,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.1091,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0927,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0788,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.067,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 36.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 8.8
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Osasuna",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1746,
                  "totalOppositionHalfPasses": 18.2453,
                  "accurateOppositionHalfPasses": 13.342,
                  "accuratePass": 18.001,
                  "totalShots": 2.0547
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08920657634735107,
                    "model_output": 0.0892,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0866
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0111
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0045
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0043
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.004
                        }
                      ],
                      "others": -0.0159,
                      "total": 0.0892,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.571292
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.104174
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.045803
                        },
                        {
                          "name": "goals",
                          "margin": 0.043442
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.03908
                        }
                      ],
                      "others_margin": -0.163374
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.10175566375255585,
                    "model_output": 0.1018,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0934
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0074
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0071
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.005
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0047
                        }
                      ],
                      "others": -0.0079,
                      "total": 0.1018,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.612948
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.069752
                        },
                        {
                          "name": "goals",
                          "margin": 0.066814
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.046173
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.044007
                        }
                      ],
                      "others_margin": -0.076265
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2734762132167816,
                    "model_output": 0.2735,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.231
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0344
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0279
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0107
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0099
                        }
                      ],
                      "others": -0.0398,
                      "total": 0.2735,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.562441
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.106584
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.085524
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.033772
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.031141
                        }
                      ],
                      "others_margin": -0.135996
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.175189733505249,
                    "model_output": 1.1752,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.571
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1996
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0697
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0552
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0466
                        }
                      ],
                      "others": -0.0036,
                      "total": 1.1752,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.571019
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.199641
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.069716
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.055239
                        },
                        {
                          "name": "goals",
                          "margin": 0.046615
                        }
                      ],
                      "others_margin": -0.003709
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0636722669005394,
                    "model_output": 0.0637,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0225
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0061
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0066
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0033
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0031
                        }
                      ],
                      "others": 0.0094,
                      "total": 0.0637,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.431299
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.13574
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.129892
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.063039
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.059335
                        }
                      ],
                      "others_margin": 0.159818
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.700812041759491,
                    "model_output": 0.7008,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2732
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0673
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0502
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0281
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0264
                        }
                      ],
                      "others": 0.1842,
                      "total": 0.7008,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.519901
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.155282
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.101801
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.055655
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.052537
                        }
                      ],
                      "others_margin": 0.304979
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.973126411437988,
                    "model_output": 6.9731,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0912
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.078
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0445
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0264
                        },
                        {
                          "name": "shot_waste_rate",
                          "contribution": 0.0252
                        }
                      ],
                      "others": 0.1016,
                      "total": 6.9731,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.091235
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.077983
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.04447
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.026421
                        },
                        {
                          "name": "shot_waste_rate",
                          "margin": 0.02519
                        }
                      ],
                      "others_margin": 0.101633
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 31,
                  "role_matches": 7,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0123, quality 0.800)",
              "stats": {
                "expected_goals": 0.0903,
                "goals": 0.103,
                "goal_rate": 0.103,
                "shots_on_target": 0.2768,
                "total_shots": 1.1896,
                "expected_assists": 0.0645,
                "key_pass": 0.7094,
                "rating": 6.9731,
                "minutes": 30.07,
                "total_pass": 12.3901,
                "accurate_pass": 9.936,
                "duels_won": 3.4567,
                "total_long_balls": 0.2158,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.2007,
                "accurate_opp_half_passes": 8.0533,
                "crosses_total": 2.1438,
                "crosses_accurate": 0.3515,
                "touches": 27.3144,
                "possession_lost": 9.8341,
                "dispossessed": 0.9692,
                "duels_lost": 5.0086,
                "aerial_lost": 0.5282,
                "total_contest": 4.3929,
                "won_contest": 1.5852,
                "ball_recovery": 1.5814,
                "challenges_lost": 0.3586,
                "fouls": 0.3449,
                "fouls_drawn": 0.5931,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2235,
                "tackles_won": 0.4977,
                "tackles": 0.9428,
                "clearances": 0.1373,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2478,
                "xgot": 0.0,
                "offsides": 0.1615,
                "ball_carries": 8.9453,
                "total_progression": 50.0263,
                "progressive_carries": 2.8834,
                "shots_off_target": 0.9128
              },
              "params": {
                "market_value_eur": 44000000,
                "quality_factor": 0.8002,
                "boost_factor": 1.0123,
                "reference_quality": 0.505,
                "history_matches": 31,
                "history_shrink": 0.1389,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0072)",
              "stats": {
                "expected_goals": 0.0903,
                "goals": 0.1023,
                "goal_rate": 0.1023,
                "shots_on_target": 0.2748,
                "total_shots": 1.189,
                "expected_assists": 0.0645,
                "key_pass": 0.7094,
                "rating": 6.9731,
                "minutes": 30.07,
                "total_pass": 12.3901,
                "accurate_pass": 9.936,
                "duels_won": 3.4567,
                "total_long_balls": 0.2158,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.2007,
                "accurate_opp_half_passes": 8.0533,
                "crosses_total": 2.1404,
                "crosses_accurate": 0.3515,
                "touches": 27.3144,
                "possession_lost": 9.8341,
                "dispossessed": 0.9692,
                "duels_lost": 5.0086,
                "aerial_lost": 0.5282,
                "total_contest": 4.3929,
                "won_contest": 1.5852,
                "ball_recovery": 1.5814,
                "challenges_lost": 0.3586,
                "fouls": 0.3424,
                "fouls_drawn": 0.5888,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2239,
                "tackles_won": 0.4981,
                "tackles": 0.9428,
                "clearances": 0.1373,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2478,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 8.9453,
                "total_progression": 50.0263,
                "progressive_carries": 2.8834,
                "shots_off_target": 0.9128
              },
              "params": {
                "blend_weight": 0.0072,
                "history_matches": 31,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3341,
                "prior_reliability": 0.08,
                "competition": "La Liga",
                "squad": "Athletic Club"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 30.1 to 25.8 expected minutes (appearance prob 0.62)",
              "stats": {
                "expected_goals": 0.0774,
                "goals": 0.0877,
                "goal_rate": 0.0877,
                "shots_on_target": 0.2356,
                "total_shots": 1.0194,
                "expected_assists": 0.0553,
                "key_pass": 0.6082,
                "rating": 6.9731,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7826,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78
              },
              "params": {
                "expected_minutes": 25.78,
                "projection_minutes": 30.07,
                "minutes_scale": 0.8573,
                "appearance_probability": 0.62
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0774,
                "goals": 0.0877,
                "goal_rate": 0.0877,
                "shots_on_target": 0.2356,
                "total_shots": 1.0194,
                "expected_assists": 0.0553,
                "key_pass": 0.6082,
                "rating": 6.9731,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7826,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.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.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.0815,
                "goal_rate": 0.0877,
                "goals": 0,
                "shots_on_target": 0.2356,
                "total_shots": 1.0194,
                "expected_assists": 0.0423,
                "key_pass": 0.6082,
                "rating": 6.9731,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7826,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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.0808,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 0.62
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0553,
                  "after": 0.0423
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 7 by projected rating, fifa_overall 84.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0815,
                "goal_rate": 0.0877,
                "goals": 0,
                "shots_on_target": 0.2356,
                "total_shots": 1.0194,
                "expected_assists": 0.0423,
                "key_pass": 0.6082,
                "rating": 6.9731,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7826,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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.0808,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 498,
                "fifa_rank": 231.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0815,
                "goal_rate": 0.0877,
                "goals": 0,
                "shots_on_target": 0.2356,
                "total_shots": 1.0194,
                "expected_assists": 0.0423,
                "key_pass": 0.6082,
                "rating": 6.9731,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7826,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0485,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0808,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0485,
                "scorer_weight": 0.0546,
                "squad_weight_total": 1.0169,
                "weight_share": 0.0537,
                "finishing_factor": 1.0808,
                "appearance_weight": 0.62,
                "weight_rank": 7,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0815,
                "goal_rate": 0.0877,
                "goals": 0,
                "shots_on_target": 0.2356,
                "total_shots": 1.0194,
                "expected_assists": 0.0423,
                "key_pass": 0.6082,
                "rating": 6.9731,
                "minutes": 25.78,
                "total_pass": 10.6224,
                "accurate_pass": 8.5185,
                "duels_won": 2.9635,
                "total_long_balls": 0.185,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.7454,
                "accurate_opp_half_passes": 6.9044,
                "crosses_total": 1.835,
                "crosses_accurate": 0.3014,
                "touches": 23.4175,
                "possession_lost": 8.4311,
                "dispossessed": 0.9692,
                "duels_lost": 4.294,
                "aerial_lost": 0.5282,
                "total_contest": 3.7662,
                "won_contest": 1.359,
                "ball_recovery": 1.3558,
                "challenges_lost": 0.3586,
                "fouls": 0.2936,
                "fouls_drawn": 0.5048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.192,
                "tackles_won": 0.427,
                "tackles": 0.8083,
                "clearances": 0.1177,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2124,
                "xgot": 0.0,
                "offsides": 0.1623,
                "ball_carries": 7.6691,
                "total_progression": 42.8892,
                "progressive_carries": 2.472,
                "shots_off_target": 0.7826,
                "bench_appearance_probability": 0.62,
                "bench_expected_minutes": 25.78,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0485,
                "projected_assists": 0,
                "assist_probability": 0.0257,
                "finishing_factor": 1.0808,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0257,
                "provider_weight": 0.021,
                "squad_weight_total": 0.779,
                "weight_share": 0.0269,
                "creation_factor": 0.8,
                "appearance_weight": 0.62,
                "weight_rank": 9,
                "eligible_players": 13
              }
            }
          ]
        },
        "Mikel Jauregizar": {
          "player_id": 1495844,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 18,
          "height": 177,
          "market_value": 31000000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0205,
            "assist_rate": 0.0415,
            "assists": 0,
            "expected_goals": 0.0355,
            "goal_rate": 0.0439,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7192,
            "minutes": 25,
            "total_pass": 17,
            "accurate_pass": 14,
            "duels_won": 2,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 9,
            "accurate_own_half_passes": 8,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 4.0087,
            "dispossessed": 0.3336,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0028,
            "ball_carries": 5,
            "total_progression": 9,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.523,
            "bench_expected_minutes": 24.7,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0182,
            "projected_assists": 0,
            "assist_probability": 0.0106,
            "finishing_factor": 1.1219,
            "creation_factor": 1.1914,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0312,
                "expected_assists": 0.0348,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 60,
                "accurate_pass": 54,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 25,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0087,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 22,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 30,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0334,
                "expected_assists": 0.0042,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 14,
                "accurate_pass": 14,
                "tackles": 3,
                "tackles_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 25,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 12,
                "tackles": 1,
                "interceptions": 2,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 70,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 7,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 85,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0034,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 13,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 71,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1908,
                "expected_assists": 0.0838,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 28,
                "accurate_pass": 22,
                "key_pass": 1,
                "aerial_won": 3,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 27,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.047,
                "expected_assists": 0.0045,
                "total_shots": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0771,
                "expected_assists": 0.242,
                "total_shots": 2,
                "total_pass": 44,
                "accurate_pass": 36,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0216,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 15,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "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": 1561,
            "combined_rank_score": 778.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 641.0,
            "sofascore_rating": 6.75,
            "sofascore_appearances": 36.0,
            "fifa_rank": 915.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7192,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mikel Jauregizar",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Seul-chan Lee",
                  "ranking": 1556
                },
                {
                  "player_name": "Yu Dong-Kyu",
                  "ranking": 1557
                },
                {
                  "player_name": "Sunnatillokh Khamidzhonov",
                  "ranking": 1558
                },
                {
                  "player_name": "Ham Sunwoo",
                  "ranking": 1559
                },
                {
                  "player_name": "Fisnik Asllani",
                  "ranking": 1560
                }
              ],
              "lower": [
                {
                  "player_name": "José Tiznado",
                  "ranking": 1562
                },
                {
                  "player_name": "Azizjon Akhrorov",
                  "ranking": 1563
                },
                {
                  "player_name": "Usmonali Ismonaliev",
                  "ranking": 1564
                },
                {
                  "player_name": "Damir Temirov",
                  "ranking": 1565
                },
                {
                  "player_name": "Sadriddin Khasanov",
                  "ranking": 1566
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.761,
          "history_matches": 41,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 41,
            "data_confidence": 0.761,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 24.7,
            "bench_appearance_prob": 0.523,
            "market_value_adjustment": 1.0072,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 26.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0733
            },
            "rationale": "Bench projection scaled from XGBoost M_service (41 historical appearances) to 24.7 expected mins (appearance prob 0.52); FBref playing time empirical prior: 1.0 sub appearances, 26.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.3443,
                "expected_assists": 0.0265,
                "assists": 0.0413,
                "assist_rate": 0.0413,
                "expected_goals": 0.0333,
                "goals": 0.0437,
                "goal_rate": 0.0437,
                "shots_on_target": 0.1353,
                "total_shots": 0.3784,
                "rating": 6.7192,
                "minutes": 24.64,
                "total_pass": 16.7019,
                "accurate_pass": 13.7638,
                "duels_won": 2.2922,
                "total_long_balls": 1.8575,
                "accurate_long_balls": 1.3812,
                "total_own_half_passes": 8.8549,
                "accurate_own_half_passes": 7.7985,
                "total_opp_half_passes": 7.847,
                "accurate_opp_half_passes": 5.9653,
                "crosses_total": 0.1656,
                "crosses_accurate": 0.0,
                "touches": 23.1562,
                "possession_lost": 3.9704,
                "dispossessed": 0.3312,
                "duels_lost": 2.2751,
                "aerial_won": 0.6008,
                "aerial_lost": 0.3604,
                "interceptions": 0.9656,
                "tackles_won": 0.728,
                "tackles": 1.152,
                "clearances": 0.3312,
                "total_contest": 0.1656,
                "won_contest": 0.0,
                "challenges_lost": 0.8283,
                "fouls": 0.5896,
                "fouls_drawn": 0.5393,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 4.9562,
                "total_progression": 8.5494,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2431
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-09T10:04:11.914604+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Elche",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.1277,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0481,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.7455,
                  "creative_index": 0.2145,
                  "expectedGoals": 0.0306,
                  "expectedAssists": 0.0335,
                  "onTargetScoringAttempt": 0.4392
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.3442569375038147,
                    "model_output": 0.3443,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3987
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0394
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.032
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0245
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0197
                        }
                      ],
                      "others": -0.0276,
                      "total": 0.3443,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.597643
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.084339
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.074141
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.060812
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.051729
                        }
                      ],
                      "others_margin": -0.076888
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02646966092288494,
                    "model_output": 0.0265,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0369
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0065
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0025
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0015
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0014
                        }
                      ],
                      "others": -0.0105,
                      "total": 0.0265,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.561517
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.143336
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.061894
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.038326
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.037958
                        }
                      ],
                      "others_margin": -0.332678
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.041274573653936386,
                    "model_output": 0.0413,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0228
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0065
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0044
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0041
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0115,
                      "total": 0.0413,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.310906
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.109525
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.075475
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.07089
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.062538
                        }
                      ],
                      "others_margin": -0.246719
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.033314090222120285,
                    "model_output": 0.0333,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0367
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.008
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0069
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0033
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0098,
                      "total": 0.0333,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.49206
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.149347
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.149316
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.074165
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.068131
                        }
                      ],
                      "others_margin": -0.257168
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04371554031968117,
                    "model_output": 0.0437,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0309
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0076
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0058
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0044
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0034
                        }
                      ],
                      "others": -0.0086,
                      "total": 0.0437,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.380732
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.121287
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.102939
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.086248
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.06803
                        }
                      ],
                      "others_margin": -0.180462
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.1352645754814148,
                    "model_output": 0.1353,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1407
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0149
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0112
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0035
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0157,
                      "total": 0.1353,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.569788
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.084985
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.068991
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.022233
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.017498
                        }
                      ],
                      "others_margin": -0.109989
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.37832963466644287,
                    "model_output": 0.3783,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3779
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0594
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0387
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0314
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0189
                        }
                      ],
                      "others": -0.0859,
                      "total": 0.3783,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.377866
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.059422
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.038733
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.031435
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.018934
                        }
                      ],
                      "others_margin": -0.085745
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.719171524047852,
                    "model_output": 6.7192,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.085
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0204
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0111
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0079
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0058
                        }
                      ],
                      "others": -0.0153,
                      "total": 6.7192,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.084983
                        },
                        {
                          "name": "rating",
                          "margin": -0.020358
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.011141
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.007892
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.005768
                        }
                      ],
                      "others_margin": -0.015342
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 41,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0072, quality 0.725)",
              "stats": {
                "key_pass": 0.3467,
                "expected_assists": 0.0267,
                "assists": 0.0416,
                "assist_rate": 0.0416,
                "expected_goals": 0.0336,
                "goals": 0.044,
                "goal_rate": 0.044,
                "shots_on_target": 0.1362,
                "total_shots": 0.3811,
                "rating": 6.7192,
                "minutes": 24.64,
                "total_pass": 16.8222,
                "accurate_pass": 13.8629,
                "duels_won": 2.3087,
                "total_long_balls": 1.8709,
                "accurate_long_balls": 1.3911,
                "total_own_half_passes": 8.9187,
                "accurate_own_half_passes": 7.8546,
                "total_opp_half_passes": 7.9035,
                "accurate_opp_half_passes": 6.0083,
                "crosses_total": 0.1668,
                "crosses_accurate": 0.0,
                "touches": 23.3229,
                "possession_lost": 3.999,
                "dispossessed": 0.3336,
                "duels_lost": 2.2915,
                "aerial_won": 0.6051,
                "aerial_lost": 0.363,
                "interceptions": 0.9726,
                "tackles_won": 0.7332,
                "tackles": 1.1603,
                "clearances": 0.3336,
                "total_contest": 0.1668,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5938,
                "fouls_drawn": 0.5432,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 4.9919,
                "total_progression": 8.611,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2449
              },
              "params": {
                "market_value_eur": 31000000,
                "quality_factor": 0.7249,
                "boost_factor": 1.0072,
                "reference_quality": 0.505,
                "history_matches": 41,
                "history_shrink": 0.1087,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0052)",
              "stats": {
                "key_pass": 0.3467,
                "expected_assists": 0.0267,
                "assists": 0.0414,
                "assist_rate": 0.0414,
                "expected_goals": 0.0336,
                "goals": 0.0438,
                "goal_rate": 0.0438,
                "shots_on_target": 0.1355,
                "total_shots": 0.3791,
                "rating": 6.7192,
                "minutes": 24.64,
                "total_pass": 16.8222,
                "accurate_pass": 13.8629,
                "duels_won": 2.3087,
                "total_long_balls": 1.8709,
                "accurate_long_balls": 1.3911,
                "total_own_half_passes": 8.9187,
                "accurate_own_half_passes": 7.8546,
                "total_opp_half_passes": 7.9035,
                "accurate_opp_half_passes": 6.0083,
                "crosses_total": 0.1659,
                "crosses_accurate": 0.0,
                "touches": 23.3229,
                "possession_lost": 3.999,
                "dispossessed": 0.3336,
                "duels_lost": 2.2915,
                "aerial_won": 0.6051,
                "aerial_lost": 0.363,
                "interceptions": 0.9714,
                "tackles_won": 0.7307,
                "tackles": 1.1603,
                "clearances": 0.3336,
                "total_contest": 0.1668,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5933,
                "fouls_drawn": 0.5404,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 4.9919,
                "total_progression": 8.611,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2449
              },
              "params": {
                "blend_weight": 0.0052,
                "history_matches": 41,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2738,
                "prior_reliability": 0.0733,
                "competition": "La Liga",
                "squad": "Athletic Club"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.6 to 24.7 expected minutes (appearance prob 0.52)",
              "stats": {
                "key_pass": 0.3475,
                "expected_assists": 0.0268,
                "assists": 0.0415,
                "assist_rate": 0.0415,
                "expected_goals": 0.0337,
                "goals": 0.0439,
                "goal_rate": 0.0439,
                "shots_on_target": 0.1358,
                "total_shots": 0.3813,
                "rating": 6.7192,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2455,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7
              },
              "params": {
                "expected_minutes": 24.7,
                "projection_minutes": 24.64,
                "minutes_scale": 1.0024,
                "appearance_probability": 0.523
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3475,
                "expected_assists": 0.0268,
                "assists": 0.0415,
                "assist_rate": 0.0415,
                "expected_goals": 0.0337,
                "goals": 0.0439,
                "goal_rate": 0.0439,
                "shots_on_target": 0.1358,
                "total_shots": 0.3813,
                "rating": 6.7192,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2455,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7
              },
              "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.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.3475,
                "expected_assists": 0.0205,
                "assist_rate": 0.0415,
                "assists": 0,
                "expected_goals": 0.0355,
                "goal_rate": 0.0439,
                "goals": 0,
                "shots_on_target": 0.1358,
                "total_shots": 0.3813,
                "rating": 6.7192,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0028,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2455,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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.1219,
                "creation_factor": 1.1914
              },
              "params": {
                "team_lambda": 1.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 0.523
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0268,
                  "after": 0.0205
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "key_pass": 0.3475,
                "expected_assists": 0.0205,
                "assist_rate": 0.0415,
                "assists": 0,
                "expected_goals": 0.0355,
                "goal_rate": 0.0439,
                "goals": 0,
                "shots_on_target": 0.1358,
                "total_shots": 0.3813,
                "rating": 6.7192,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0028,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2455,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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.1219,
                "creation_factor": 1.1914,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1561,
                "fifa_rank": 915.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.3475,
                "expected_assists": 0.0205,
                "assist_rate": 0.0415,
                "assists": 0,
                "expected_goals": 0.0355,
                "goal_rate": 0.0439,
                "goals": 0,
                "shots_on_target": 0.1358,
                "total_shots": 0.3813,
                "rating": 6.7192,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0028,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2455,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0182,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1219,
                "creation_factor": 1.1914,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0182,
                "scorer_weight": 0.0208,
                "squad_weight_total": 1.0169,
                "weight_share": 0.0205,
                "finishing_factor": 1.1219,
                "appearance_weight": 0.523,
                "weight_rank": 12,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.3475,
                "expected_assists": 0.0205,
                "assist_rate": 0.0415,
                "assists": 0,
                "expected_goals": 0.0355,
                "goal_rate": 0.0439,
                "goals": 0,
                "shots_on_target": 0.1358,
                "total_shots": 0.3813,
                "rating": 6.7192,
                "minutes": 24.7,
                "total_pass": 16.8632,
                "accurate_pass": 13.8967,
                "duels_won": 2.3143,
                "total_long_balls": 1.8755,
                "accurate_long_balls": 1.3945,
                "total_own_half_passes": 8.9404,
                "accurate_own_half_passes": 7.8737,
                "total_opp_half_passes": 7.9227,
                "accurate_opp_half_passes": 6.0229,
                "crosses_total": 0.1663,
                "crosses_accurate": 0.0,
                "touches": 23.3797,
                "possession_lost": 4.0087,
                "dispossessed": 0.3336,
                "duels_lost": 2.2971,
                "aerial_won": 0.6066,
                "aerial_lost": 0.363,
                "interceptions": 0.9738,
                "tackles_won": 0.7325,
                "tackles": 1.1631,
                "clearances": 0.3344,
                "total_contest": 0.1672,
                "won_contest": 0.0,
                "challenges_lost": 0.8343,
                "fouls": 0.5947,
                "fouls_drawn": 0.5417,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0028,
                "ball_carries": 5.0041,
                "total_progression": 8.632,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2455,
                "bench_appearance_probability": 0.523,
                "bench_expected_minutes": 24.7,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0182,
                "projected_assists": 0,
                "assist_probability": 0.0106,
                "finishing_factor": 1.1219,
                "creation_factor": 1.1914,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0106,
                "provider_weight": 0.0128,
                "squad_weight_total": 0.779,
                "weight_share": 0.0164,
                "creation_factor": 1.1914,
                "appearance_weight": 0.523,
                "weight_rank": 11,
                "eligible_players": 13
              }
            }
          ]
        },
        "Gorka Guruzeta": {
          "player_id": 605672,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 188,
          "market_value": 4600000,
          "stats": {
            "expected_goals": 0.1217,
            "goal_rate": 0.1236,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0156,
            "key_pass": 0,
            "rating": 6.6062,
            "minutes": 26,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 2.7592,
            "dispossessed": 0.2273,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1095,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.464,
            "bench_expected_minutes": 25.72,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.263,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0532,
            "projected_assists": 0,
            "assist_probability": 0.0072,
            "finishing_factor": 1.0483,
            "creation_factor": 0.8,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 14,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0047,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416308,
              "match_date": "2026-08-30",
              "home_team": "Celta Vigo",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 25,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2164,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 81,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 7,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416301,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 58,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.046,
                "expected_assists": 0.0127,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 13,
                "accurate_pass": 6,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 74,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3371,
                "expected_assists": 0.013,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 21,
                "accurate_pass": 13,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083656,
              "match_date": "2026-05-17",
              "home_team": "Athletic Club",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 82,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2874,
                "expected_assists": 0.0279,
                "total_shots": 4,
                "shots_off_target": 2,
                "total_pass": 19,
                "accurate_pass": 10,
                "key_pass": 1,
                "aerial_won": 4,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Athletic Club",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 27,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0277,
                "expected_assists": 0.0096,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 7,
                "accurate_pass": 5,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3076,
                "expected_assists": 0.0103,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 12,
                "tackles": 4,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 5,
                "duels_won": 9,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.0223,
                "expected_assists": 0.0564,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 20,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Athletic Club",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4989,
                "expected_assists": 0.0192,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 23,
                "accurate_pass": 15,
                "key_pass": 1,
                "aerial_won": 5,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "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": 2383,
            "combined_rank_score": 1054.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 864.0,
            "sofascore_rating": 6.56,
            "sofascore_appearances": 35.0,
            "fifa_rank": 1245.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6062,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gorka Guruzeta",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bayron Oyarzo",
                  "ranking": 2378
                },
                {
                  "player_name": "Ignacio Mesías",
                  "ranking": 2379
                },
                {
                  "player_name": "Virgiliu Postolachi",
                  "ranking": 2380
                },
                {
                  "player_name": "Jung Se-jun",
                  "ranking": 2381
                },
                {
                  "player_name": "Antonio Blanco",
                  "ranking": 2382
                }
              ],
              "lower": [
                {
                  "player_name": "Alfon González",
                  "ranking": 2384
                },
                {
                  "player_name": "Rashid Abubakar",
                  "ranking": 2385
                },
                {
                  "player_name": "Fredrik André Bjørkan",
                  "ranking": 2386
                },
                {
                  "player_name": "Carlos Escobar",
                  "ranking": 2387
                },
                {
                  "player_name": "Daniel Londoño",
                  "ranking": 2388
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.768,
          "history_matches": 39,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.768,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.72,
            "bench_appearance_prob": 0.464,
            "market_value_adjustment": 0.9984,
            "fbref_prior_metrics": {
              "squad": "Athletic Club",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 26.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.12
            },
            "rationale": "Bench projection scaled from XGBoost F_service (39 historical appearances) to 25.7 expected mins (appearance prob 0.46); FBref playing time empirical prior: 1.0 sub appearances, 26.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1106,
                "goals": 0.1193,
                "goal_rate": 0.1193,
                "shots_on_target": 0.3621,
                "total_shots": 0.8216,
                "expected_assists": 0.0196,
                "key_pass": 0.2674,
                "rating": 6.6062,
                "minutes": 24.56,
                "total_pass": 4.9478,
                "accurate_pass": 3.8515,
                "duels_won": 1.7166,
                "total_long_balls": 0.5342,
                "accurate_long_balls": 0.3683,
                "total_opp_half_passes": 3.7144,
                "accurate_opp_half_passes": 2.6181,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.4397,
                "possession_lost": 2.639,
                "dispossessed": 0.2277,
                "duels_lost": 3.2485,
                "aerial_lost": 0.941,
                "total_contest": 0.481,
                "won_contest": 0.0,
                "ball_recovery": 0.0532,
                "challenges_lost": 0.3887,
                "fouls": 1.21,
                "fouls_drawn": 0.3666,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1731,
                "tackles_won": 0.2819,
                "tackles": 0.5106,
                "clearances": 0.2772,
                "blocks": 0.1199,
                "big_chances_created": 0.1659,
                "big_chances_missed": 0.149,
                "xgot": 0.0995,
                "offsides": 0.1755,
                "ball_carries": 1.2595,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4595
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-09T10:04:40.622139+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Atlético Madrid",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.1503,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Celta Vigo",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.1277,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "FC Barcelona",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Sevilla",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Madrid",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Celta Vigo",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Espanyol",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1436,
                  "totalOppositionHalfPasses": 9.0253,
                  "accurateOppositionHalfPasses": 5.3045,
                  "accuratePass": 7.5921,
                  "totalShots": 1.6532
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1105751171708107,
                    "model_output": 0.1106,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0902
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.01
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0051
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.004
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0036
                        }
                      ],
                      "others": 0.0063,
                      "total": 0.1106,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.604162
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.096597
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.050523
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.037739
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.034417
                        }
                      ],
                      "others_margin": 0.059532
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11925587058067322,
                    "model_output": 0.1193,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0847
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0178
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0072
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0062
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.004
                        }
                      ],
                      "others": 0.0087,
                      "total": 0.1193,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.536991
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.16228
                        },
                        {
                          "name": "goals",
                          "margin": 0.069116
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.0559
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.035129
                        }
                      ],
                      "others_margin": 0.073765
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3620859980583191,
                    "model_output": 0.3621,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2077
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0156
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0137
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.013
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0114
                        }
                      ],
                      "others": 0.0103,
                      "total": 0.3621,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.489096
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.048622
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.042788
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.038822
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.033085
                        }
                      ],
                      "others_margin": 0.028943
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8216013312339783,
                    "model_output": 0.8216,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5797
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0755
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0267
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.022
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0211
                        }
                      ],
                      "others": -0.0365,
                      "total": 0.8216,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.579739
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.07552
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.026677
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.022017
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.021139
                        }
                      ],
                      "others_margin": -0.036408
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.019573507830500603,
                    "model_output": 0.0196,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0214
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0055
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0031
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0026
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.01,
                      "total": 0.0196,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.405928
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.137374
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.087259
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.080246
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.07
                        }
                      ],
                      "others_margin": -0.408317
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.26737573742866516,
                    "model_output": 0.2674,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2652
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0335
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0273
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0203
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0161
                        }
                      ],
                      "others": -0.0442,
                      "total": 0.2674,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.499976
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.085411
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.075461
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.060122
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.050356
                        }
                      ],
                      "others_margin": -0.153215
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6061553955078125,
                    "model_output": 6.6062,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0533
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0199
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0178
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0101
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0095
                        }
                      ],
                      "others": -0.0644,
                      "total": 6.6062,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.053291
                        },
                        {
                          "name": "rating",
                          "margin": -0.019851
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.017842
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.010134
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.009541
                        }
                      ],
                      "others_margin": -0.064429
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 39,
                  "role_matches": 9,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9984, quality 0.457)",
              "stats": {
                "expected_goals": 0.1104,
                "goals": 0.1191,
                "goal_rate": 0.1191,
                "shots_on_target": 0.3615,
                "total_shots": 0.8203,
                "expected_assists": 0.0195,
                "key_pass": 0.2669,
                "rating": 6.6062,
                "minutes": 24.56,
                "total_pass": 4.9399,
                "accurate_pass": 3.8453,
                "duels_won": 1.7139,
                "total_long_balls": 0.5333,
                "accurate_long_balls": 0.3677,
                "total_opp_half_passes": 3.7085,
                "accurate_opp_half_passes": 2.6139,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.423,
                "possession_lost": 2.6348,
                "dispossessed": 0.2273,
                "duels_lost": 3.2433,
                "aerial_lost": 0.9395,
                "total_contest": 0.4802,
                "won_contest": 0.0,
                "ball_recovery": 0.0531,
                "challenges_lost": 0.3881,
                "fouls": 1.2081,
                "fouls_drawn": 0.366,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1728,
                "tackles_won": 0.2814,
                "tackles": 0.5098,
                "clearances": 0.2768,
                "blocks": 0.1197,
                "big_chances_created": 0.1656,
                "big_chances_missed": 0.1488,
                "xgot": 0.0993,
                "offsides": 0.1752,
                "ball_carries": 1.2575,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4588
              },
              "params": {
                "market_value_eur": 4600000,
                "quality_factor": 0.4572,
                "boost_factor": 0.9984,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0089)",
              "stats": {
                "expected_goals": 0.1104,
                "goals": 0.118,
                "goal_rate": 0.118,
                "shots_on_target": 0.3583,
                "total_shots": 0.8157,
                "expected_assists": 0.0195,
                "key_pass": 0.2669,
                "rating": 6.6062,
                "minutes": 24.56,
                "total_pass": 4.9399,
                "accurate_pass": 3.8453,
                "duels_won": 1.7139,
                "total_long_balls": 0.5333,
                "accurate_long_balls": 0.3677,
                "total_opp_half_passes": 3.7085,
                "accurate_opp_half_passes": 2.6139,
                "crosses_total": 0.0013,
                "crosses_accurate": 0.0,
                "touches": 10.423,
                "possession_lost": 2.6348,
                "dispossessed": 0.2273,
                "duels_lost": 3.2433,
                "aerial_lost": 0.9395,
                "total_contest": 0.4802,
                "won_contest": 0.0,
                "ball_recovery": 0.0531,
                "challenges_lost": 0.3881,
                "fouls": 1.2028,
                "fouls_drawn": 0.3668,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1726,
                "tackles_won": 0.2802,
                "tackles": 0.5098,
                "clearances": 0.2768,
                "blocks": 0.1197,
                "big_chances_created": 0.1656,
                "big_chances_missed": 0.1488,
                "xgot": 0.0993,
                "offsides": 0.1736,
                "ball_carries": 1.2575,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4588
              },
              "params": {
                "blend_weight": 0.0089,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2729,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Athletic Club"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 1.2081,
                  "after": 1.2028
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.6 to 25.7 expected minutes (appearance prob 0.46)",
              "stats": {
                "expected_goals": 0.1156,
                "goals": 0.1236,
                "goal_rate": 0.1236,
                "shots_on_target": 0.3752,
                "total_shots": 0.8557,
                "expected_assists": 0.0204,
                "key_pass": 0.2795,
                "rating": 6.6062,
                "minutes": 25.72,
                "total_pass": 5.1732,
                "accurate_pass": 4.0269,
                "duels_won": 1.7948,
                "total_long_balls": 0.5585,
                "accurate_long_balls": 0.3851,
                "total_opp_half_passes": 3.8837,
                "accurate_opp_half_passes": 2.7374,
                "crosses_total": 0.0014,
                "crosses_accurate": 0.0,
                "touches": 10.9153,
                "possession_lost": 2.7592,
                "dispossessed": 0.2273,
                "duels_lost": 3.3965,
                "aerial_lost": 0.9395,
                "total_contest": 0.5029,
                "won_contest": 0.0,
                "ball_recovery": 0.0556,
                "challenges_lost": 0.3881,
                "fouls": 1.2596,
                "fouls_drawn": 0.3841,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1808,
                "tackles_won": 0.2934,
                "tackles": 0.5339,
                "clearances": 0.2899,
                "blocks": 0.1254,
                "big_chances_created": 0.1734,
                "big_chances_missed": 0.1558,
                "xgot": 0.104,
                "offsides": 0.1736,
                "ball_carries": 1.3169,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4805,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 25.72
              },
              "params": {
                "expected_minutes": 25.72,
                "projection_minutes": 24.56,
                "minutes_scale": 1.0472,
                "appearance_probability": 0.464
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1156,
                "goals": 0.1236,
                "goal_rate": 0.1236,
                "shots_on_target": 0.3752,
                "total_shots": 0.8557,
                "expected_assists": 0.0204,
                "key_pass": 0.2795,
                "rating": 6.6062,
                "minutes": 25.72,
                "total_pass": 5.1732,
                "accurate_pass": 4.0269,
                "duels_won": 1.7948,
                "total_long_balls": 0.5585,
                "accurate_long_balls": 0.3851,
                "total_opp_half_passes": 3.8837,
                "accurate_opp_half_passes": 2.7374,
                "crosses_total": 0.0014,
                "crosses_accurate": 0.0,
                "touches": 10.9153,
                "possession_lost": 2.7592,
                "dispossessed": 0.2273,
                "duels_lost": 3.3965,
                "aerial_lost": 0.9395,
                "total_contest": 0.5029,
                "won_contest": 0.0,
                "ball_recovery": 0.0556,
                "challenges_lost": 0.3881,
                "fouls": 1.2596,
                "fouls_drawn": 0.3841,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1808,
                "tackles_won": 0.2934,
                "tackles": 0.5339,
                "clearances": 0.2899,
                "blocks": 0.1254,
                "big_chances_created": 0.1734,
                "big_chances_missed": 0.1558,
                "xgot": 0.104,
                "offsides": 0.1736,
                "ball_carries": 1.3169,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4805,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 25.72
              },
              "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.00 (squad xG sum 0.9498, xG scale 1.0529, xA scale 0.7645, team xA 0.80 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.1217,
                "goal_rate": 0.1236,
                "goals": 0,
                "shots_on_target": 0.3752,
                "total_shots": 0.8557,
                "expected_assists": 0.0156,
                "key_pass": 0.2795,
                "rating": 6.6062,
                "minutes": 25.72,
                "total_pass": 5.1732,
                "accurate_pass": 4.0269,
                "duels_won": 1.7948,
                "total_long_balls": 0.5585,
                "accurate_long_balls": 0.3851,
                "total_opp_half_passes": 3.8837,
                "accurate_opp_half_passes": 2.7374,
                "crosses_total": 0.0014,
                "crosses_accurate": 0.0,
                "touches": 10.9153,
                "possession_lost": 2.7592,
                "dispossessed": 0.2273,
                "duels_lost": 3.3965,
                "aerial_lost": 0.9395,
                "total_contest": 0.5029,
                "won_contest": 0.0,
                "ball_recovery": 0.0556,
                "challenges_lost": 0.3881,
                "fouls": 1.2596,
                "fouls_drawn": 0.3841,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1808,
                "tackles_won": 0.2934,
                "tackles": 0.5339,
                "clearances": 0.2899,
                "blocks": 0.1254,
                "big_chances_created": 0.1734,
                "big_chances_missed": 0.1558,
                "xgot": 0.1095,
                "offsides": 0.1736,
                "ball_carries": 1.3169,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4805,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 25.72,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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.0483,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.0,
                "squad_xg_sum": 0.9498,
                "squad_xa_sum": 1.0464,
                "team_expected_assists": 0.8,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0529,
                "xa_scale": 0.7645,
                "opponent_lambda": 1.339,
                "scoreline_reset": true,
                "appearance_weight": 0.464
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1156,
                  "after": 0.1217
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1217,
                "goal_rate": 0.1236,
                "goals": 0,
                "shots_on_target": 0.3752,
                "total_shots": 0.8557,
                "expected_assists": 0.0156,
                "key_pass": 0.2795,
                "rating": 6.6062,
                "minutes": 25.72,
                "total_pass": 5.1732,
                "accurate_pass": 4.0269,
                "duels_won": 1.7948,
                "total_long_balls": 0.5585,
                "accurate_long_balls": 0.3851,
                "total_opp_half_passes": 3.8837,
                "accurate_opp_half_passes": 2.7374,
                "crosses_total": 0.0014,
                "crosses_accurate": 0.0,
                "touches": 10.9153,
                "possession_lost": 2.7592,
                "dispossessed": 0.2273,
                "duels_lost": 3.3965,
                "aerial_lost": 0.9395,
                "total_contest": 0.5029,
                "won_contest": 0.0,
                "ball_recovery": 0.0556,
                "challenges_lost": 0.3881,
                "fouls": 1.2596,
                "fouls_drawn": 0.3841,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1808,
                "tackles_won": 0.2934,
                "tackles": 0.5339,
                "clearances": 0.2899,
                "blocks": 0.1254,
                "big_chances_created": 0.1734,
                "big_chances_missed": 0.1558,
                "xgot": 0.1095,
                "offsides": 0.1736,
                "ball_carries": 1.3169,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4805,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 25.72,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "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.0483,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2383,
                "fifa_rank": 1245.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.1217,
                "goal_rate": 0.1236,
                "goals": 0,
                "shots_on_target": 0.3752,
                "total_shots": 0.8557,
                "expected_assists": 0.0156,
                "key_pass": 0.2795,
                "rating": 6.6062,
                "minutes": 25.72,
                "total_pass": 5.1732,
                "accurate_pass": 4.0269,
                "duels_won": 1.7948,
                "total_long_balls": 0.5585,
                "accurate_long_balls": 0.3851,
                "total_opp_half_passes": 3.8837,
                "accurate_opp_half_passes": 2.7374,
                "crosses_total": 0.0014,
                "crosses_accurate": 0.0,
                "touches": 10.9153,
                "possession_lost": 2.7592,
                "dispossessed": 0.2273,
                "duels_lost": 3.3965,
                "aerial_lost": 0.9395,
                "total_contest": 0.5029,
                "won_contest": 0.0,
                "ball_recovery": 0.0556,
                "challenges_lost": 0.3881,
                "fouls": 1.2596,
                "fouls_drawn": 0.3841,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1808,
                "tackles_won": 0.2934,
                "tackles": 0.5339,
                "clearances": 0.2899,
                "blocks": 0.1254,
                "big_chances_created": 0.1734,
                "big_chances_missed": 0.1558,
                "xgot": 0.1095,
                "offsides": 0.1736,
                "ball_carries": 1.3169,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4805,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 25.72,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0532,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0483,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0532,
                "scorer_weight": 0.0592,
                "squad_weight_total": 1.0169,
                "weight_share": 0.0582,
                "finishing_factor": 1.0483,
                "appearance_weight": 0.464,
                "weight_rank": 5,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.1217,
                "goal_rate": 0.1236,
                "goals": 0,
                "shots_on_target": 0.3752,
                "total_shots": 0.8557,
                "expected_assists": 0.0156,
                "key_pass": 0.2795,
                "rating": 6.6062,
                "minutes": 25.72,
                "total_pass": 5.1732,
                "accurate_pass": 4.0269,
                "duels_won": 1.7948,
                "total_long_balls": 0.5585,
                "accurate_long_balls": 0.3851,
                "total_opp_half_passes": 3.8837,
                "accurate_opp_half_passes": 2.7374,
                "crosses_total": 0.0014,
                "crosses_accurate": 0.0,
                "touches": 10.9153,
                "possession_lost": 2.7592,
                "dispossessed": 0.2273,
                "duels_lost": 3.3965,
                "aerial_lost": 0.9395,
                "total_contest": 0.5029,
                "won_contest": 0.0,
                "ball_recovery": 0.0556,
                "challenges_lost": 0.3881,
                "fouls": 1.2596,
                "fouls_drawn": 0.3841,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1808,
                "tackles_won": 0.2934,
                "tackles": 0.5339,
                "clearances": 0.2899,
                "blocks": 0.1254,
                "big_chances_created": 0.1734,
                "big_chances_missed": 0.1558,
                "xgot": 0.1095,
                "offsides": 0.1736,
                "ball_carries": 1.3169,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4805,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 25.72,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.263,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0532,
                "projected_assists": 0,
                "assist_probability": 0.0072,
                "finishing_factor": 1.0483,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0072,
                "provider_weight": 0.0058,
                "squad_weight_total": 0.779,
                "weight_share": 0.0074,
                "creation_factor": 0.8,
                "appearance_weight": 0.464,
                "weight_rank": 13,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 0,
        "expected_goals": 1.0,
        "expected_assists": 0.8,
        "total_shots": 14,
        "shots_on_target": 2,
        "total_passes": 452,
        "interceptions": 11,
        "tackles": 15,
        "avg_rating": 6.9,
        "possession_estimated_pct": 51.1,
        "pressing_actions_per_90": 6.7
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Jorge de Frutos",
        "attacker_role": "LW",
        "attacker_market_value": 10900000,
        "attacker_height": 173,
        "attacker_skill_quality": 0.533,
        "defenders": [
          "Jesús Areso"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.468,
        "duel_zone": "Left Wing vs Right Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.456,
        "xg_contribution": 0.1284,
        "xg_multiplier": 0.965,
        "shots_in_zone": 1.9,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.2,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 2.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Jesús Areso",
            "role": "RB",
            "market_value": 5500000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.544
          }
        ],
        "duel_analysis": "Jorge de Frutos (LW) is evenly matched against Jesús Areso in a direct 1v1 contest. Duel win probability: 46%.  Matchup xG multiplier ×0.97 (×1.00 = his usual level). Projected xG contribution: 0.128 — with neither side clearly dominant."
      },
      {
        "attacker": "Sergio Camello",
        "attacker_role": "ST",
        "attacker_market_value": 3300000,
        "attacker_height": 177,
        "attacker_skill_quality": 0.441,
        "defenders": [
          "Aymeric Laporte",
          "Yeray Álvarez"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.47,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.3184,
        "xg_multiplier": 0.9109,
        "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": "Aymeric Laporte",
            "role": "CB",
            "market_value": 8400000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Yeray Álvarez",
            "role": "CB",
            "market_value": 930000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Sergio Camello (ST) faces tough defensive resistance against Aymeric Laporte and Yeray Álvarez in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.91 (×1.00 = his usual level). Projected xG contribution: 0.318 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Pathé Ismaël Ciss",
        "attacker_role": "CDM",
        "attacker_market_value": 1600000,
        "attacker_height": 183,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Iñigo Ruiz de Galarreta"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "CDM vs CDM",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.456,
        "xg_contribution": 0.0493,
        "xg_multiplier": 1.0529,
        "shots_in_zone": 1.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Iñigo Ruiz de Galarreta",
            "role": "CDM",
            "market_value": 1800000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.544
          }
        ],
        "duel_analysis": "Pathé Ismaël Ciss (CDM) is evenly matched against Iñigo Ruiz de Galarreta in a direct 1v1 contest. Duel win probability: 46%.  Matchup xG multiplier ×1.05 (×1.00 = his usual level). Projected xG contribution: 0.049 — with neither side clearly dominant."
      },
      {
        "attacker": "Álvaro García",
        "attacker_role": "CM",
        "attacker_market_value": 1500000,
        "attacker_height": 168,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Iñigo Ruiz de Galarreta"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.426,
        "xg_contribution": 0.1902,
        "xg_multiplier": 0.9647,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Iñigo Ruiz de Galarreta",
            "role": "CDM",
            "market_value": 1800000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.2,
            "defensive_success_rate": 0.574
          }
        ],
        "duel_analysis": "Álvaro García (CM) is evenly matched against Iñigo Ruiz de Galarreta in a direct 1v1 contest. Duel win probability: 43%.  Matchup xG multiplier ×0.96 (×1.00 = his usual level). Projected xG contribution: 0.190 — with neither side clearly dominant."
      },
      {
        "attacker": "Unai López",
        "attacker_role": "CM",
        "attacker_market_value": 2600000,
        "attacker_height": 169,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Iñigo Ruiz de Galarreta"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.43,
        "xg_contribution": 0.0589,
        "xg_multiplier": 0.9706,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Iñigo Ruiz de Galarreta",
            "role": "CDM",
            "market_value": 1800000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.2,
            "defensive_success_rate": 0.57
          }
        ],
        "duel_analysis": "Unai López (CM) is evenly matched against Iñigo Ruiz de Galarreta in a direct 1v1 contest. Duel win probability: 43%.  Matchup xG multiplier ×0.97 (×1.00 = his usual level). Projected xG contribution: 0.059 — with neither side clearly dominant."
      },
      {
        "attacker": "Isi Palazón",
        "attacker_role": "CM",
        "attacker_market_value": 3000000,
        "attacker_height": 169,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Iñigo Ruiz de Galarreta"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.432,
        "xg_contribution": 0.1464,
        "xg_multiplier": 0.9733,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Iñigo Ruiz de Galarreta",
            "role": "CDM",
            "market_value": 1800000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.2,
            "defensive_success_rate": 0.568
          }
        ],
        "duel_analysis": "Isi Palazón (CM) is evenly matched against Iñigo Ruiz de Galarreta in a direct 1v1 contest. Duel win probability: 43%.  Matchup xG multiplier ×0.97 (×1.00 = his usual level). Projected xG contribution: 0.146 — with neither side clearly dominant."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Robert Navarro",
        "attacker_role": "LW",
        "attacker_market_value": 6500000,
        "attacker_height": 178,
        "attacker_skill_quality": 0.481,
        "defenders": [
          "Adrià Pedrosa"
        ],
        "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.503,
        "xg_contribution": 0.1722,
        "xg_multiplier": 1.0332,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.3,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 1.9,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Adrià Pedrosa",
            "role": "RB",
            "market_value": 2700000,
            "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.0,
            "defensive_success_rate": 0.497
          }
        ],
        "duel_analysis": "Robert Navarro (LW) is evenly matched against Adrià Pedrosa in a direct 1v1 contest. Duel win probability: 50%.  Matchup xG multiplier ×1.03 (×1.00 = his usual level). Projected xG contribution: 0.172 — with neither side clearly dominant."
      },
      {
        "attacker": "Álex Berenguer",
        "attacker_role": "RW",
        "attacker_market_value": 4099999,
        "attacker_height": 175,
        "attacker_skill_quality": 0.451,
        "defenders": [
          "Andrei Rațiu"
        ],
        "defender_roles": [
          "LB"
        ],
        "def_skill_quality_avg": 0.65,
        "duel_zone": "Right Wing vs Left Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.323,
        "xg_contribution": 0.0691,
        "xg_multiplier": 0.7698,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 3,
        "dribbles_successful": 0.9,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 1.9,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Andrei Rațiu",
            "role": "LB",
            "market_value": 22000000,
            "tackles_attempted": 2.1,
            "tackles_won": 1.8,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.0,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.677
          }
        ],
        "duel_analysis": "Álex Berenguer (RW) is heavily outmatched defensively against Andrei Rațiu in a direct 1v1 contest. Duel win probability: 32%. The quality gap is significant (€4M vs €22M avg). Matchup xG multiplier ×0.77 (×1.00 = his usual level). Projected xG contribution: 0.069 — with very limited chance creation expected."
      },
      {
        "attacker": "Iñaki Williams",
        "attacker_role": "CAM",
        "attacker_market_value": 7300000,
        "attacker_height": 186,
        "attacker_skill_quality": 0.49,
        "defenders": [
          "Pathé Ismaël Ciss"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.498,
        "xg_contribution": 0.2885,
        "xg_multiplier": 1.0556,
        "shots_in_zone": 2.4,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.3,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pathé Ismaël Ciss",
            "role": "CDM",
            "market_value": 1600000,
            "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.502
          }
        ],
        "duel_analysis": "Iñaki Williams (CAM) is evenly matched against Pathé Ismaël Ciss in a direct 1v1 contest. Duel win probability: 50%.  Matchup xG multiplier ×1.06 (×1.00 = his usual level). Projected xG contribution: 0.289 — with neither side clearly dominant."
      },
      {
        "attacker": "Iñigo Ruiz de Galarreta",
        "attacker_role": "CDM",
        "attacker_market_value": 1800000,
        "attacker_height": 174,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Álvaro García"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.424,
        "xg_contribution": 0.0444,
        "xg_multiplier": 1.0353,
        "shots_in_zone": 1.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Álvaro García",
            "role": "CM",
            "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.1,
            "defensive_success_rate": 0.576
          }
        ],
        "duel_analysis": "Iñigo Ruiz de Galarreta (CDM) is evenly matched against Álvaro García in a direct 1v1 contest. Duel win probability: 42%.  Matchup xG multiplier ×1.04 (×1.00 = his usual level). Projected xG contribution: 0.044 — with neither side clearly dominant."
      },
      {
        "attacker": "Beñat Gerenabarrena",
        "attacker_role": "CDM",
        "attacker_market_value": 1000000,
        "attacker_height": 173,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Álvaro García"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.42,
        "xg_contribution": 0.0255,
        "xg_multiplier": 1.0294,
        "shots_in_zone": 1.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Álvaro García",
            "role": "CM",
            "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.1,
            "defensive_success_rate": 0.58
          }
        ],
        "duel_analysis": "Beñat Gerenabarrena (CDM) is evenly matched against Álvaro García in a direct 1v1 contest. Duel win probability: 42%.  Matchup xG multiplier ×1.03 (×1.00 = his usual level). Projected xG contribution: 0.026 — with neither side clearly dominant."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.462,
      "away_midfield_power": 0.544,
      "home_creative_power": 0.416,
      "away_creative_power": 0.516,
      "home_defensive_power": 0.416,
      "away_defensive_power": 0.472,
      "home_dominance_ratio": 0.459,
      "home_midfield_count": 4,
      "away_midfield_count": 6,
      "home_midfield_players": [
        "Álvaro García",
        "Pathé Ismaël Ciss",
        "Isi Palazón",
        "Unai López"
      ],
      "away_midfield_players": [
        "Iñigo Ruiz de Galarreta",
        "Beñat Gerenabarrena",
        "Robert Navarro",
        "Peio Canales",
        "Iñaki Williams",
        "Álex Berenguer"
      ],
      "possession_advantage": "neutral",
      "estimated_possession_home_pct": 48.9,
      "estimated_possession_away_pct": 51.1,
      "home_pressing_actions_per_90": 6.3,
      "away_pressing_actions_per_90": 6.7,
      "home_key_passes_projected": 4.0,
      "away_key_passes_projected": 4.6,
      "home_throughball_threat": 1.8,
      "away_throughball_threat": 2.1,
      "key_personal_duel": "Isi Palazón vs Peio Canales",
      "midfield_lambda_factor_home": 0.987,
      "midfield_lambda_factor_away": 1.016
    },
    "formation_analysis": {
      "home_formation": "4-3-3",
      "away_formation": "4-2-3-1",
      "home_tactical_bonus": 0.03,
      "away_tactical_bonus": -0.01,
      "formation_verdict": "Tactical parity between 4-3-3 and 4-2-3-1. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 1.339,
    "away_lambda": 1.0,
    "home_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Central Mid vs Defensive Mid — Pressing/Creation Duel"
    ],
    "away_top_threat_zones": [
      "Attacking Mid vs Single Holding Mid — Space Creator Duel",
      "Left Wing vs Right Back — Flank Battle"
    ],
    "home_player_antagonists": {
      "Jorge de Frutos": {
        "opponents": [
          "Jesús Areso"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel"
      },
      "Sergio Camello": {
        "opponents": [
          "Aymeric Laporte",
          "Yeray Álvarez"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Pathé Ismaël Ciss": {
        "opponents": [
          "Iñigo Ruiz de Galarreta",
          "Iñaki Williams",
          "Robert Navarro"
        ],
        "primary_zone": "CDM vs CDM",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Álvaro García": {
        "opponents": [
          "Iñigo Ruiz de Galarreta",
          "Beñat Gerenabarrena",
          "Álex Berenguer"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Unai López": {
        "opponents": [
          "Iñigo Ruiz de Galarreta",
          "Beñat Gerenabarrena"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Isi Palazón": {
        "opponents": [
          "Iñigo Ruiz de Galarreta",
          "Peio Canales"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Adrià Pedrosa": {
        "opponents": [
          "Robert Navarro"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Andrei Rațiu": {
        "opponents": [
          "Álex Berenguer"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Emil Audero": {
        "opponents": [
          "Peio Canales",
          "Iñaki Williams"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Mujaid Sadick": {
        "opponents": [
          "Peio Canales"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Florian Lejeune": {
        "opponents": [
          "Iñaki Williams"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Jesús Areso": {
        "opponents": [
          "Jorge de Frutos"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Aymeric Laporte": {
        "opponents": [
          "Sergio Camello"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Yeray Álvarez": {
        "opponents": [
          "Sergio Camello"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Iñigo Ruiz de Galarreta": {
        "opponents": [
          "Pathé Ismaël Ciss",
          "Álvaro García",
          "Unai López",
          "Isi Palazón"
        ],
        "primary_zone": "CDM vs CDM",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Robert Navarro": {
        "opponents": [
          "Adrià Pedrosa",
          "Pathé Ismaël Ciss"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Álex Berenguer": {
        "opponents": [
          "Andrei Rațiu",
          "Álvaro García"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Iñaki Williams": {
        "opponents": [
          "Pathé Ismaël Ciss"
        ],
        "primary_zone": "Attacking Mid vs Single Holding Mid — Space Creator Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Beñat Gerenabarrena": {
        "opponents": [
          "Álvaro García",
          "Unai López"
        ],
        "primary_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Peio Canales": {
        "opponents": [
          "Isi Palazón"
        ],
        "primary_zone": "Midfield lane",
        "source": "midfield_pairing"
      },
      "Unai Simón": {
        "opponents": [
          "Jorge de Frutos",
          "Sergio Camello"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Yuri Berchiche": {
        "opponents": [
          "Jorge de Frutos"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Midfield is evenly contested — Isi Palazón vs Peio Canales will be the pivotal duel. Total antagonist xG — Home: 0.89, Away: 0.60. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Attacking Mid vs Single Holding Mid — Space Creator Duel.",
    "lambda_factors": {
      "league_anchor": 1.35,
      "home_advantage_factor": 1.15,
      "home_gk_opposition_factor": 0.9273,
      "away_gk_opposition_factor": 1.0107,
      "home_set_piece_bonus": 0.041,
      "away_set_piece_bonus": 0.046,
      "home_defensive_solidity_vs": 1.0022,
      "away_defensive_solidity_vs": 0.9864,
      "home_midfield_factor": 0.987,
      "away_midfield_factor": 1.016,
      "stage_discount": 1.0,
      "quality_gap_applied": false,
      "home_avg_quality": 0.4707,
      "away_avg_quality": 0.4662,
      "avg_quality_gap": 0.0045,
      "squad_value_gap_log": 0.131,
      "top5_value_gap_log": 0.1285,
      "attack_value_gap_log": -0.2054,
      "elite_count_gap": 0,
      "combined_quality_gap": 0.009,
      "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.8916,
          "n_duels": 6,
          "duel_confidence": 0.75,
          "result": 1.0062
        },
        {
          "label": "midfield_factor",
          "factor": 0.987,
          "result": 0.9931
        },
        {
          "label": "formation_bonus",
          "factor": 1.03,
          "result": 1.0229
        },
        {
          "label": "home_advantage",
          "factor": 1.15,
          "result": 1.1763
        },
        {
          "label": "standing_factor",
          "factor": 0.9769,
          "result": 1.1492
        },
        {
          "label": "gk_opposition",
          "factor": 0.9273,
          "result": 1.0656
        },
        {
          "label": "defensive_solidity",
          "factor": 1.0022,
          "result": 1.068
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.041,
          "result": 1.109
        },
        {
          "label": "engine_clamp",
          "pre": 1.109,
          "result": 1.109,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": false,
          "combined_quality_gap": 0.009,
          "factor": 1.0,
          "pre": 1.109,
          "result": 1.109
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 1.109
        },
        {
          "label": "bench_bonus",
          "side": "home",
          "bonus": 0.1757,
          "result": 1.2847
        },
        {
          "label": "fbref_blend",
          "side": "home",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 0.9877,
          "result": 1.217
        },
        {
          "label": "router_clamp",
          "pre": 1.217,
          "result": 1.217,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "second_leg",
          "applied": true,
          "factor": 1.1,
          "result": 1.339
        },
        {
          "label": "mismatch_pressure",
          "applied": false,
          "reason": "quality gap below 0.30",
          "result": 1.339
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 1.339
        },
        {
          "label": "final_clamp",
          "applied": false,
          "pre": 1.339,
          "result": 1.339,
          "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.339
        }
      ],
      "away_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 0.5997,
          "n_duels": 5,
          "duel_confidence": 0.75,
          "result": 0.7873
        },
        {
          "label": "midfield_factor",
          "factor": 1.016,
          "result": 0.7999
        },
        {
          "label": "formation_bonus",
          "factor": 0.99,
          "result": 0.7919
        },
        {
          "label": "home_advantage",
          "factor": 1.0,
          "result": 0.7919
        },
        {
          "label": "standing_factor",
          "factor": 1.0605,
          "result": 0.8398
        },
        {
          "label": "gk_opposition",
          "factor": 1.0107,
          "result": 0.8487
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9864,
          "result": 0.8372
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.046,
          "result": 0.8832
        },
        {
          "label": "engine_clamp",
          "pre": 0.8832,
          "result": 0.8832,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": false,
          "combined_quality_gap": 0.009,
          "factor": 1.0,
          "pre": 0.8832,
          "result": 0.8832
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 0.8832
        },
        {
          "label": "bench_bonus",
          "side": "away",
          "bonus": 0.1617,
          "result": 1.0447
        },
        {
          "label": "fbref_blend",
          "side": "away",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 0.9852,
          "result": 1.0311
        },
        {
          "label": "router_clamp",
          "pre": 1.0311,
          "result": 1.031,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "second_leg",
          "applied": true,
          "factor": 0.97,
          "result": 1.0
        },
        {
          "label": "mismatch_pressure",
          "applied": false,
          "reason": "quality gap below 0.30",
          "result": 1.0
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 1.0
        },
        {
          "label": "final_clamp",
          "applied": false,
          "pre": 1.0,
          "result": 1.0,
          "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.0
        }
      ],
      "home_bench_lambda_bonus": 0.1757,
      "away_bench_lambda_bonus": 0.1617,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "Rayo Vallecano",
        "away_squad": "Athletic Club",
        "home_goals_per90": 1.3333333333333333,
        "away_goals_against_per90": 1.0,
        "away_goals_per90": 1.0,
        "home_goals_against_per90": 1.33,
        "home_empirical_lambda": 0.988,
        "away_empirical_lambda": 0.985,
        "blending_weight": 0.228
      },
      "mismatch_score_pressure_applied": false,
      "competitive_underdog_floor_applied": false,
      "competitive_underdog_floor": 1.0,
      "competitive_underdog_floor_mode": "disabled_ablation",
      "pre_competitive_floor_home_lambda": 1.339,
      "pre_competitive_floor_away_lambda": 1.0,
      "pre_calibration_home_lambda": 1.217,
      "pre_calibration_away_lambda": 1.0311,
      "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.339,
      "final_away_lambda": 1.0
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 12,
    "opponent_position": 10,
    "standing_lambda_multiplier": 0.9769,
    "attack_index": 1.068,
    "defense_concede_index": 0.886,
    "form_multiplier": 0.994,
    "team_attack_rate_contextual": 1.63,
    "opp_defense_rate_contextual": 1.35,
    "team_ppg": 1.25,
    "opponent_ppg": 1.36
  },
  "away_standing": {
    "available": true,
    "team_position": 10,
    "opponent_position": 12,
    "standing_lambda_multiplier": 1.0605,
    "attack_index": 0.922,
    "defense_concede_index": 1.251,
    "form_multiplier": 1.006,
    "team_attack_rate_contextual": 1.4,
    "opp_defense_rate_contextual": 1.9,
    "team_ppg": 1.36,
    "opponent_ppg": 1.25
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Rayo Vallecano vs Athletic Club. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 4-3-3 vs 4-2-3-1 (duel lambdas: Home 1.217, Away 1.031). Final calibrated Poisson lambdas: Home 1.339, Away 1.000 (most likely score 1-0).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 11,
      "home_fbref_players": 6,
      "away_starters_count": 11,
      "away_xgboost_players": 11,
      "away_fbref_players": 10,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": true,
      "home_squad": "Rayo Vallecano",
      "away_squad": "Athletic Club",
      "home_goals_per90": 1.3333333333333333,
      "away_goals_against_per90": 1.0,
      "away_goals_per90": 1.0,
      "home_goals_against_per90": 1.33,
      "home_empirical_lambda": 0.988,
      "away_empirical_lambda": 0.985,
      "blending_weight": 0.228
    },
    "pipeline_stages": [
      "1. XGBoost player regressions for volume & event rates with market-value quality scaling",
      "2. Multi-source prior blending (FBref 2026-2027 tables + Sofascore season history)",
      "3. Antagonist formation duel matrix resolving 1v1 and zonal matchups",
      "4. Team-level prior calibration (FBref possession and attack/defense efficiencies)",
      "5. Bivariate Poisson matrix with Dixon-Coles low-score correction"
    ],
    "final_lambdas": {
      "home_lambda": 1.339,
      "away_lambda": 1.0,
      "micro_duel_home_lambda": 1.217,
      "micro_duel_away_lambda": 1.031
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": false,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-10-09T13:31:55Z",
  "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
  }
}