{
  "match_info": {
    "home_team": "Racing Club",
    "away_team": "Espanyol",
    "tournament": "LaLiga",
    "date": "20261024",
    "timezone": "America/New_York",
    "home_formation": "4-2-3-1",
    "away_formation": "5-4-1",
    "lineup_status": "unconfirmed_official",
    "lineup_source": "/matches/get-lineups",
    "lineup_confirmed": false,
    "lineup_confidence": 0.75
  },
  "prediction": {
    "most_likely_score": "1-1",
    "home_goals": 1,
    "away_goals": 1,
    "most_likely_score_probability": 0.1209,
    "most_likely_winning_score_home": "1-0",
    "most_likely_winning_score_home_probability": 0.0809,
    "most_likely_winning_score_away": "0-1",
    "most_likely_winning_score_away_probability": 0.0902,
    "match_resolution": "draw",
    "predicted_winner": "Draw",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.2558,
      "shootout_home_win_probability": null,
      "shootout_away_win_probability": null,
      "penalty_home_goals": null,
      "penalty_away_goals": null,
      "penalty_score": null,
      "penalty_winner": null,
      "penalty_winner_goals": null,
      "penalty_loser_goals": null,
      "penalty_result": null,
      "home_advance_probability": null,
      "away_advance_probability": null,
      "projected_winner": null,
      "projected_winner_probability": null,
      "final_score_after_penalties": null,
      "deciding_stage": null,
      "deciding_scoreline": null,
      "deciding_scoreline_probability": null,
      "deciding_route_probability": null,
      "reason": "Tie-breaker not required for this match context."
    },
    "top_5_scorelines": [
      {
        "score": "1-1",
        "probability": 0.1209
      },
      {
        "score": "0-1",
        "probability": 0.0902
      },
      {
        "score": "1-2",
        "probability": 0.0874
      },
      {
        "score": "1-0",
        "probability": 0.0809
      },
      {
        "score": "2-1",
        "probability": 0.0786
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.0637,
      "0-1": 0.0902,
      "0-2": 0.0667,
      "0-3": 0.0324,
      "0-4": 0.0118,
      "0-5": 0.0035,
      "0-6": 0.0008,
      "1-0": 0.0809,
      "1-1": 0.1209,
      "1-2": 0.0874,
      "1-3": 0.0426,
      "1-4": 0.0155,
      "1-5": 0.0045,
      "1-6": 0.0011,
      "2-0": 0.0538,
      "2-1": 0.0786,
      "2-2": 0.0574,
      "2-3": 0.0279,
      "2-4": 0.0102,
      "2-5": 0.003,
      "2-6": 0.0007,
      "3-0": 0.0235,
      "3-1": 0.0344,
      "3-2": 0.0251,
      "3-3": 0.0122,
      "3-4": 0.0045,
      "3-5": 0.0013,
      "4-0": 0.0077,
      "4-1": 0.0113,
      "4-2": 0.0082,
      "4-3": 0.004,
      "4-4": 0.0015,
      "5-0": 0.002,
      "5-1": 0.003,
      "5-2": 0.0022,
      "5-3": 0.0011,
      "6-1": 0.0006
    },
    "outcome": {
      "home_win": 0.3384,
      "draw": 0.2558,
      "away_win": 0.4058
    },
    "markets": {
      "over_2_5_goals": 0.5238,
      "under_2_5_goals": 0.4762,
      "btts_yes": 0.5622,
      "btts_no": 0.4378,
      "home_clean_sheet": 0.2322,
      "away_clean_sheet": 0.2693
    },
    "home_ratings": {
      "DR": 6.75,
      "MCR": 6.91,
      "ATR": 6.91,
      "GK": 7.11
    },
    "away_ratings": {
      "DR": 6.72,
      "MCR": 6.85,
      "ATR": 6.89,
      "GK": 6.93
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Racing Club vs Espanyol. Most likely scoreline: 1-1. Lambdas derived from 4 home and 7 away individual player duels. Head-to-head: Racing Club 5W-1D-4L vs Espanyol over 10 meetings.",
      "key_player": "Projected scorer(s): Yassir Zabiri, Roberto Fernández",
      "tactical_analysis": "Tactical parity between 4-2-3-1 and 5-4-1. Match outcome driven primarily by individual player quality. Midfield is evenly contested — Matteo Prati vs Javier Hernández will be the pivotal duel. Total antagonist xG — Home: 0.83, Away: 1.02. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle."
    },
    "confidence": 0.7,
    "home_lambda": 1.312,
    "away_lambda": 1.46,
    "h2h": {
      "available": true,
      "meetings": 10,
      "home_wins": 5,
      "away_wins": 4,
      "draws": 1,
      "home_multiplier": 1.0071,
      "away_multiplier": 0.9929
    },
    "modal_scoreline": "1-1",
    "modal_scoreline_probability": 0.1209,
    "headline_policy": null
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.3384,
      "draw": 0.2558,
      "away_win": 0.4058
    },
    "favorite": "Espanyol",
    "favorite_win_probability": 0.4058,
    "fair_spread": -0.148,
    "fair_total": 2.772,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Racing Club",
        "estimate": 1.312,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Espanyol",
        "estimate": 1.46,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.5238,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.5622,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Racing Club",
        "estimate": 1.0,
        "probability": 0.2322,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Espanyol",
        "estimate": 1.0,
        "probability": 0.2693,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Yassir Zabiri (Racing Club)",
        "estimate": 0.4785,
        "probability": 0.3803,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Roberto Fernández (Espanyol)",
        "estimate": 0.5819,
        "probability": 0.4412,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Iñigo Vicente (Racing Club)",
        "estimate": 0.2921,
        "probability": 0.2533,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Edu Expósito (Espanyol)",
        "estimate": 0.1975,
        "probability": 0.1792,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "balanced",
      "expected_total_goals": 2.772,
      "expected_total_shots": 24,
      "expected_total_passes": 795,
      "expected_pressing_actions_per_90": 12.2,
      "possession_home_pct": 49.4,
      "possession_away_pct": 50.6,
      "notes": "possession projects near even"
    },
    "expected_game_script": {
      "favorite": "Espanyol",
      "favorite_win_probability": 0.4058,
      "script": "Espanyol is the fair winner side, but the baseline remains narrow: fair spread -0.15 goals and fair total 2.77.",
      "first_half": "Expect balanced tempo while both sides test the matchup thesis; shot baseline is about 12 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Racing Club must keep the match inside one goal.",
      "late_game": "A Espanyol lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Espanyol chance creation leans on Roberto Fernández against Jeanuël Belocian, Alvaro Mantilla in Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle; possession projects near even.",
    "expected_rotation_usage_behavior": [
      "Racing Club: starters carry the main goal usage through Yassir Zabiri; bench watchlist: Pablo García, Giorgi Guliashvili.",
      "Espanyol: starters carry the main goal usage through Roberto Fernández; bench watchlist: Gabriel Moscardo, Javi Puado.",
      "Assist usage should flow through Iñigo Vicente, Javier Hernández; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Espanyol tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects balanced tempo, about 12 total first-half shots, and 1.39 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 Racing 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 Espanyol.",
      "Racing 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": {
    "Racing Club": {
      "formation": "4-2-3-1",
      "players": {
        "Yassir Zabiri": {
          "player_id": 1606013,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 21,
          "height": 182,
          "market_value": 22000000,
          "stats": {
            "expected_goals": 0.4785,
            "goal_rate": 0.4752,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 3,
            "expected_assists": 0.0426,
            "key_pass": 1,
            "rating": 6.7791,
            "minutes": 81,
            "total_pass": 8,
            "accurate_pass": 6,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 6.0438,
            "dispossessed": 0.6387,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 1,
            "fouls": 2,
            "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.752,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 11,
            "progressive_carries": 0,
            "shots_off_target": 2,
            "duel_xg_multiplier": 1.0879,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.26,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Leandro Cabrera, Vanja Drkušić",
            "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.3803,
            "projected_assists": 0,
            "assist_probability": 0.0417,
            "finishing_factor": 1.1412,
            "creation_factor": 0.8,
            "fifa_overall": 66.0
          },
          "latest_10_games": [
            {
              "match_id": 16421078,
              "match_date": "2026-10-18",
              "home_team": "Osasuna",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 89,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.021,
                "expected_assists": 0.0158,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 3,
                "accurate_pass": 3,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 87,
                "rating": 7.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4404,
                "expected_assists": 0.0034,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 6,
                "accurate_pass": 4,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 75,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0304,
                "expected_assists": 0.0043,
                "total_shots": 1,
                "total_pass": 8,
                "accurate_pass": 7,
                "interceptions": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 31,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2463,
                "expected_assists": 0.0009,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 5,
                "accurate_pass": 5,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 74,
                "rating": 8.6,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.5057,
                "expected_assists": 0.0212,
                "total_shots": 5,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0316,
                "expected_assists": 0.0372,
                "total_shots": 1,
                "total_pass": 13,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 69,
                "rating": 10.0,
                "goal_rate": 3.0,
                "goals": 3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7095,
                "expected_assists": 0.0239,
                "total_shots": 5,
                "shots_on_target": 3,
                "total_pass": 8,
                "accurate_pass": 5,
                "tackles": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 26,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0086,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "tackles": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 21,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0107,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 6997,
            "combined_rank_score": 5331.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 112.0,
            "sofascore_rating": 7.4333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 10550.0,
            "fifa_overall": 66.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7791,
            "source_file": "data/player_rankings.csv",
            "player_name": "Yassir Zabiri",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Carlos Garcés",
                  "ranking": 6992
                },
                {
                  "player_name": "Joel Canchimbo",
                  "ranking": 6993
                },
                {
                  "player_name": "Mateo García",
                  "ranking": 6994
                },
                {
                  "player_name": "Alan Rodríguez",
                  "ranking": 6995
                },
                {
                  "player_name": "Mateo Gamarra",
                  "ranking": 6996
                }
              ],
              "lower": [
                {
                  "player_name": "Jorge Daniel Valencia",
                  "ranking": 6998
                },
                {
                  "player_name": "Adrian Bajrami",
                  "ranking": 6999
                },
                {
                  "player_name": "Iván Leguizamón",
                  "ranking": 7000
                },
                {
                  "player_name": "Rubén Lezcano",
                  "ranking": 7001
                },
                {
                  "player_name": "Marcos Mina",
                  "ranking": 7002
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.763,
          "history_matches": 9,
          "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": 9,
            "data_confidence": 0.763,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0156,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "minutes": 117.0,
              "goals_per90": 2.3076923076923075,
              "assists_per90": 0.0,
              "shots_per90": 3.85,
              "shots_on_target_pct": 60.0,
              "prior_reliability": 0.0867
            },
            "rationale": "XGBoost regressor (F_service) evaluated 9 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, rel: 0.09, gls/90: 2.3076923076923075, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.3713,
                "goals": 0.3967,
                "goal_rate": 0.3967,
                "shots_on_target": 0.9989,
                "total_shots": 2.3918,
                "expected_assists": 0.0359,
                "key_pass": 0.6228,
                "rating": 6.7791,
                "minutes": 81.44,
                "total_pass": 8.1982,
                "accurate_pass": 6.1998,
                "duels_won": 1.9799,
                "total_long_balls": 0.2548,
                "accurate_long_balls": 0.2548,
                "total_opp_half_passes": 5.9331,
                "accurate_opp_half_passes": 4.3152,
                "crosses_total": 0.1257,
                "crosses_accurate": 0.0,
                "touches": 17.849,
                "possession_lost": 5.951,
                "dispossessed": 0.6289,
                "duels_lost": 3.3285,
                "aerial_lost": 0.6113,
                "total_contest": 0.5994,
                "won_contest": 0.4737,
                "ball_recovery": 0.2047,
                "challenges_lost": 0.5266,
                "fouls": 1.5839,
                "fouls_drawn": 0.6884,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.174,
                "tackles_won": 0.3993,
                "tackles": 0.7109,
                "clearances": 0.3206,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.5833,
                "offsides": 0.2548,
                "ball_carries": 4.2417,
                "total_progression": 10.5754,
                "progressive_carries": 0.2736,
                "shots_off_target": 1.3929
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:07:14.441608+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 611,
                    "rows": 16533
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Osasuna",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.1952,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Valencia",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.1659,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.141,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1199,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.1019,
                    "rating": 8.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0866,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0736,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0626,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.0532,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.4393,
                  "totalOppositionHalfPasses": 4.9683,
                  "accurateOppositionHalfPasses": 3.72,
                  "accuratePass": 5.7417,
                  "totalShots": 2.0381
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.37132421135902405,
                    "model_output": 0.3713,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2858
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0881
                      },
                      {
                        "name": "goals",
                        "importance": 0.0357
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0272
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0231
                      }
                    ],
                    "decomposition": {
                      "base": 0.1979,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.067
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0413
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0331
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0234
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0217
                        }
                      ],
                      "others": 0.0337,
                      "total": 0.3713,
                      "log_link": true,
                      "margin_base": -1.619934,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.291512
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.145044
                        },
                        {
                          "name": "goals",
                          "margin": 0.10259
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.0713
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.066331
                        }
                      ],
                      "others_margin": 0.095078
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.3966752588748932,
                    "model_output": 0.3967,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1497
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0696
                      },
                      {
                        "name": "goals",
                        "importance": 0.0577
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0307
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0286
                      }
                    ],
                    "decomposition": {
                      "base": 0.2023,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0699
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0375
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0303
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0242
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0213
                        }
                      ],
                      "others": 0.0112,
                      "total": 0.3967,
                      "log_link": true,
                      "margin_base": -1.597983,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.296938
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.12892
                        },
                        {
                          "name": "goals",
                          "margin": 0.093207
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.068717
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.056828
                        }
                      ],
                      "others_margin": 0.028735
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.9988691806793213,
                    "model_output": 0.9989,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2171
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0661
                      },
                      {
                        "name": "goals",
                        "importance": 0.0553
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0475
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0308
                      }
                    ],
                    "decomposition": {
                      "base": 0.5362,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1731
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0831
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0879
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0708
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0422
                        }
                      ],
                      "others": 0.0056,
                      "total": 0.9989,
                      "log_link": true,
                      "margin_base": -0.623262,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.279806
                        },
                        {
                          "name": "goals",
                          "margin": 0.11083
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.105152
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.077384
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.0434
                        }
                      ],
                      "others_margin": 0.005559
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.391724109649658,
                    "model_output": 2.3917,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2864
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.051
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.031
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 1.3807,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5315
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2063
                        },
                        {
                          "name": "goals",
                          "contribution": 0.1574
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.071
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0463
                        }
                      ],
                      "others": -0.0015,
                      "total": 2.3917,
                      "log_link": false,
                      "margin_base": 1.380749,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.531463
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.206299
                        },
                        {
                          "name": "goals",
                          "margin": 0.157418
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.071031
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.046291
                        }
                      ],
                      "others_margin": -0.001529
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.035944174975156784,
                    "model_output": 0.0359,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1157
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0645
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0607
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0558
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 0.0644,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0188
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0168
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0095
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0061
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0029
                        }
                      ],
                      "others": -0.012,
                      "total": 0.0359,
                      "log_link": true,
                      "margin_base": -2.741965,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.256223
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.226107
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.155239
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.112921
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.058276
                        }
                      ],
                      "others_margin": -0.287503
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6227699518203735,
                    "model_output": 0.6228,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1481
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1244
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1112
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.052
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0395
                      }
                    ],
                    "decomposition": {
                      "base": 0.6805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2032
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0511
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0463
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0424
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0354
                        }
                      ],
                      "others": -0.0857,
                      "total": 0.6228,
                      "log_link": true,
                      "margin_base": -0.384987,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.261338
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.059575
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.057195
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.055453
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.048726
                        }
                      ],
                      "others_margin": -0.128981
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.77909517288208,
                    "model_output": 6.7791,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.059
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0483
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0421
                      },
                      {
                        "name": "rating",
                        "importance": 0.0418
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0415
                      }
                    ],
                    "decomposition": {
                      "base": 6.7683,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0597
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0292
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0213
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0162
                        },
                        {
                          "name": "rating",
                          "contribution": 0.015
                        }
                      ],
                      "others": -0.0556,
                      "total": 6.7791,
                      "log_link": false,
                      "margin_base": 6.768281,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.059686
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.029181
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.021297
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.016199
                        },
                        {
                          "name": "rating",
                          "margin": 0.015001
                        }
                      ],
                      "others_margin": -0.055557
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 9,
                  "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.0156, quality 0.650)",
              "stats": {
                "expected_goals": 0.3771,
                "goals": 0.4029,
                "goal_rate": 0.4029,
                "shots_on_target": 1.0145,
                "total_shots": 2.4291,
                "expected_assists": 0.0365,
                "key_pass": 0.6325,
                "rating": 6.7791,
                "minutes": 81.44,
                "total_pass": 8.3261,
                "accurate_pass": 6.2965,
                "duels_won": 2.0108,
                "total_long_balls": 0.2588,
                "accurate_long_balls": 0.2588,
                "total_opp_half_passes": 6.0257,
                "accurate_opp_half_passes": 4.3825,
                "crosses_total": 0.1277,
                "crosses_accurate": 0.0,
                "touches": 18.1274,
                "possession_lost": 6.0438,
                "dispossessed": 0.6387,
                "duels_lost": 3.3804,
                "aerial_lost": 0.6208,
                "total_contest": 0.6088,
                "won_contest": 0.4811,
                "ball_recovery": 0.2079,
                "challenges_lost": 0.5348,
                "fouls": 1.6086,
                "fouls_drawn": 0.6991,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1767,
                "tackles_won": 0.4055,
                "tackles": 0.722,
                "clearances": 0.3256,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.5924,
                "offsides": 0.2588,
                "ball_carries": 4.3079,
                "total_progression": 10.7404,
                "progressive_carries": 0.2779,
                "shots_off_target": 1.4146
              },
              "params": {
                "market_value_eur": 22000000,
                "quality_factor": 0.6503,
                "boost_factor": 1.0156,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0201)",
              "stats": {
                "expected_goals": 0.3771,
                "goals": 0.4368,
                "goal_rate": 0.4368,
                "shots_on_target": 1.0362,
                "total_shots": 2.4503,
                "expected_assists": 0.0365,
                "key_pass": 0.6325,
                "rating": 6.7791,
                "minutes": 81.44,
                "total_pass": 8.3261,
                "accurate_pass": 6.2965,
                "duels_won": 2.0108,
                "total_long_balls": 0.2588,
                "accurate_long_balls": 0.2588,
                "total_opp_half_passes": 6.0257,
                "accurate_opp_half_passes": 4.3825,
                "crosses_total": 0.1251,
                "crosses_accurate": 0.0,
                "touches": 18.1274,
                "possession_lost": 6.0438,
                "dispossessed": 0.6387,
                "duels_lost": 3.3804,
                "aerial_lost": 0.6208,
                "total_contest": 0.6088,
                "won_contest": 0.4811,
                "ball_recovery": 0.2079,
                "challenges_lost": 0.5348,
                "fouls": 1.6183,
                "fouls_drawn": 0.685,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1731,
                "tackles_won": 0.3973,
                "tackles": 0.722,
                "clearances": 0.3256,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.5924,
                "offsides": 0.2816,
                "ball_carries": 4.3079,
                "total_progression": 10.7404,
                "progressive_carries": 0.2779,
                "shots_off_target": 1.4146
              },
              "params": {
                "blend_weight": 0.0201,
                "history_matches": 9,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9049,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "goals",
                  "before": 0.4029,
                  "after": 0.4368
                },
                {
                  "stat": "totalOffside",
                  "before": 0.2588,
                  "after": 0.2816
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.0145,
                  "after": 1.0362
                },
                {
                  "stat": "totalShots",
                  "before": 2.4291,
                  "after": 2.4503
                },
                {
                  "stat": "wasFouled",
                  "before": 0.6991,
                  "after": 0.685
                },
                {
                  "stat": "fouls",
                  "before": 1.6086,
                  "after": 1.6183
                },
                {
                  "stat": "wonTackle",
                  "before": 0.4055,
                  "after": 0.3973
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3771,
                "goals": 0.4368,
                "goal_rate": 0.4368,
                "shots_on_target": 1.0362,
                "total_shots": 2.4508,
                "expected_assists": 0.0365,
                "key_pass": 0.6325,
                "rating": 6.7791,
                "minutes": 81.44,
                "total_pass": 8.3261,
                "accurate_pass": 6.2965,
                "duels_won": 2.0108,
                "total_long_balls": 0.2588,
                "accurate_long_balls": 0.2588,
                "total_opp_half_passes": 6.0257,
                "accurate_opp_half_passes": 4.3825,
                "crosses_total": 0.1251,
                "crosses_accurate": 0.0,
                "touches": 18.1274,
                "possession_lost": 6.0438,
                "dispossessed": 0.6387,
                "duels_lost": 3.3804,
                "aerial_lost": 0.6208,
                "total_contest": 0.6088,
                "won_contest": 0.4811,
                "ball_recovery": 0.2079,
                "challenges_lost": 0.5348,
                "fouls": 1.6183,
                "fouls_drawn": 0.685,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1731,
                "tackles_won": 0.3973,
                "tackles": 0.722,
                "clearances": 0.3256,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.5924,
                "offsides": 0.2816,
                "ball_carries": 4.3079,
                "total_progression": 10.7404,
                "progressive_carries": 0.2779,
                "shots_off_target": 1.4146
              },
              "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.4102,
                "goals": 0.4752,
                "goal_rate": 0.4752,
                "shots_on_target": 1.1273,
                "total_shots": 2.6662,
                "expected_assists": 0.0365,
                "key_pass": 0.6325,
                "rating": 6.7791,
                "minutes": 81.44,
                "total_pass": 8.3261,
                "accurate_pass": 6.2965,
                "duels_won": 2.0108,
                "total_long_balls": 0.2588,
                "accurate_long_balls": 0.2588,
                "total_opp_half_passes": 6.0257,
                "accurate_opp_half_passes": 4.3825,
                "crosses_total": 0.1251,
                "crosses_accurate": 0.0,
                "touches": 18.1274,
                "possession_lost": 6.0438,
                "dispossessed": 0.6387,
                "duels_lost": 3.3804,
                "aerial_lost": 0.6208,
                "total_contest": 0.6088,
                "won_contest": 0.4811,
                "ball_recovery": 0.2079,
                "challenges_lost": 0.5348,
                "fouls": 1.6183,
                "fouls_drawn": 0.685,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1731,
                "tackles_won": 0.3973,
                "tackles": 0.722,
                "clearances": 0.3256,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.6445,
                "offsides": 0.2816,
                "ball_carries": 4.3079,
                "total_progression": 10.7404,
                "progressive_carries": 0.2779,
                "shots_off_target": 1.5389,
                "duel_xg_multiplier": 1.0879,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.26,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.26,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.0879,
                  "skill_edge": 0.0838,
                  "height_edge": -0.024,
                  "attacker_skill": 0.6503,
                  "defender_skill": 0.464,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Leandro Cabrera",
                      "market_value": 930000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Vanja Drkušić",
                      "market_value": 5500000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4907
                    }
                  ],
                  "xg_override": 0.4102
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.4508,
                  "after": 2.6662
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.4146,
                  "after": 1.5389
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.0362,
                  "after": 1.1273
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.5924,
                  "after": 0.6445
                },
                {
                  "stat": "goals",
                  "before": 0.4368,
                  "after": 0.4752
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.3771,
                  "after": 0.4102
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.4102,
                "goal_rate": 0.4752,
                "goals": 0,
                "shots_on_target": 1.1273,
                "total_shots": 2.6662,
                "expected_assists": 0.0365,
                "key_pass": 0.6325,
                "rating": 6.7791,
                "minutes": 81.44,
                "total_pass": 8.3261,
                "accurate_pass": 6.2965,
                "duels_won": 2.0108,
                "total_long_balls": 0.2588,
                "accurate_long_balls": 0.2588,
                "total_opp_half_passes": 6.0257,
                "accurate_opp_half_passes": 4.3825,
                "crosses_total": 0.1251,
                "crosses_accurate": 0.0,
                "touches": 18.1274,
                "possession_lost": 6.0438,
                "dispossessed": 0.6387,
                "duels_lost": 3.3804,
                "aerial_lost": 0.6208,
                "total_contest": 0.6088,
                "won_contest": 0.4811,
                "ball_recovery": 0.2079,
                "challenges_lost": 0.5348,
                "fouls": 1.6183,
                "fouls_drawn": 0.685,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1731,
                "tackles_won": 0.3973,
                "tackles": 0.722,
                "clearances": 0.3256,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.6445,
                "offsides": 0.2816,
                "ball_carries": 4.3079,
                "total_progression": 10.7404,
                "progressive_carries": 0.2779,
                "shots_off_target": 1.5389,
                "duel_xg_multiplier": 1.0879,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.26,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.31 (squad xG sum 1.1245, xG scale 1.1667, xA scale 1.1667, team xA 0.98 = 0.74 x lambda)",
              "stats": {
                "expected_goals": 0.4785,
                "goal_rate": 0.4752,
                "goals": 0,
                "shots_on_target": 1.1273,
                "total_shots": 2.6662,
                "expected_assists": 0.0426,
                "key_pass": 0.6325,
                "rating": 6.7791,
                "minutes": 81.44,
                "total_pass": 8.3261,
                "accurate_pass": 6.2965,
                "duels_won": 2.0108,
                "total_long_balls": 0.2588,
                "accurate_long_balls": 0.2588,
                "total_opp_half_passes": 6.0257,
                "accurate_opp_half_passes": 4.3825,
                "crosses_total": 0.1251,
                "crosses_accurate": 0.0,
                "touches": 18.1274,
                "possession_lost": 6.0438,
                "dispossessed": 0.6387,
                "duels_lost": 3.3804,
                "aerial_lost": 0.6208,
                "total_contest": 0.6088,
                "won_contest": 0.4811,
                "ball_recovery": 0.2079,
                "challenges_lost": 0.5348,
                "fouls": 1.6183,
                "fouls_drawn": 0.685,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1731,
                "tackles_won": 0.3973,
                "tackles": 0.722,
                "clearances": 0.3256,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.752,
                "offsides": 0.2816,
                "ball_carries": 4.3079,
                "total_progression": 10.7404,
                "progressive_carries": 0.2779,
                "shots_off_target": 1.5389,
                "duel_xg_multiplier": 1.0879,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.26,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1412,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.312,
                "squad_xg_sum": 1.1245,
                "squad_xa_sum": 0.8366,
                "team_expected_assists": 0.9761,
                "team_xa_to_xg_ratio": 0.744,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1667,
                "xa_scale": 1.1667,
                "opponent_lambda": 1.46,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.4102,
                  "after": 0.4785
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0365,
                  "after": 0.0426
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 66.0)",
              "stats": {
                "expected_goals": 0.4785,
                "goal_rate": 0.4752,
                "goals": 0,
                "shots_on_target": 1.1273,
                "total_shots": 2.6662,
                "expected_assists": 0.0426,
                "key_pass": 0.6325,
                "rating": 6.7791,
                "minutes": 81.44,
                "total_pass": 8.3261,
                "accurate_pass": 6.2965,
                "duels_won": 2.0108,
                "total_long_balls": 0.2588,
                "accurate_long_balls": 0.2588,
                "total_opp_half_passes": 6.0257,
                "accurate_opp_half_passes": 4.3825,
                "crosses_total": 0.1251,
                "crosses_accurate": 0.0,
                "touches": 18.1274,
                "possession_lost": 6.0438,
                "dispossessed": 0.6387,
                "duels_lost": 3.3804,
                "aerial_lost": 0.6208,
                "total_contest": 0.6088,
                "won_contest": 0.4811,
                "ball_recovery": 0.2079,
                "challenges_lost": 0.5348,
                "fouls": 1.6183,
                "fouls_drawn": 0.685,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1731,
                "tackles_won": 0.3973,
                "tackles": 0.722,
                "clearances": 0.3256,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.752,
                "offsides": 0.2816,
                "ball_carries": 4.3079,
                "total_progression": 10.7404,
                "progressive_carries": 0.2779,
                "shots_off_target": 1.5389,
                "duel_xg_multiplier": 1.0879,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.26,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1412,
                "creation_factor": 0.8,
                "fifa_overall": 66.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 6997,
                "fifa_rank": 10550.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 66.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.4785,
                "goal_rate": 0.4752,
                "goals": 1,
                "shots_on_target": 1.1273,
                "total_shots": 2.6662,
                "expected_assists": 0.0426,
                "key_pass": 0.6325,
                "rating": 6.7791,
                "minutes": 81.44,
                "total_pass": 8.3261,
                "accurate_pass": 6.2965,
                "duels_won": 2.0108,
                "total_long_balls": 0.2588,
                "accurate_long_balls": 0.2588,
                "total_opp_half_passes": 6.0257,
                "accurate_opp_half_passes": 4.3825,
                "crosses_total": 0.1251,
                "crosses_accurate": 0.0,
                "touches": 18.1274,
                "possession_lost": 6.0438,
                "dispossessed": 0.6387,
                "duels_lost": 3.3804,
                "aerial_lost": 0.6208,
                "total_contest": 0.6088,
                "won_contest": 0.4811,
                "ball_recovery": 0.2079,
                "challenges_lost": 0.5348,
                "fouls": 1.6183,
                "fouls_drawn": 0.685,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1731,
                "tackles_won": 0.3973,
                "tackles": 0.722,
                "clearances": 0.3256,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.752,
                "offsides": 0.2816,
                "ball_carries": 4.3079,
                "total_progression": 10.7404,
                "progressive_carries": 0.2779,
                "shots_off_target": 1.5389,
                "duel_xg_multiplier": 1.0879,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.26,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.3803,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1412,
                "creation_factor": 0.8,
                "fifa_overall": 66.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.3803,
                "goal_rate": 0.4752,
                "scorer_weight": 0.5461,
                "squad_weight_total": 1.3832,
                "weight_share": 0.3948,
                "finishing_factor": 1.1412,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.5461,
                    "already": 0,
                    "effective_weight": 0.5461,
                    "runner_up": "Andrés Martín",
                    "runner_up_effective_weight": 0.2591
                  }
                ]
              }
            },
            {
              "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.4785,
                "goal_rate": 0.4752,
                "goals": 1,
                "shots_on_target": 1.1273,
                "total_shots": 2.6662,
                "expected_assists": 0.0426,
                "key_pass": 0.6325,
                "rating": 6.7791,
                "minutes": 81.44,
                "total_pass": 8.3261,
                "accurate_pass": 6.2965,
                "duels_won": 2.0108,
                "total_long_balls": 0.2588,
                "accurate_long_balls": 0.2588,
                "total_opp_half_passes": 6.0257,
                "accurate_opp_half_passes": 4.3825,
                "crosses_total": 0.1251,
                "crosses_accurate": 0.0,
                "touches": 18.1274,
                "possession_lost": 6.0438,
                "dispossessed": 0.6387,
                "duels_lost": 3.3804,
                "aerial_lost": 0.6208,
                "total_contest": 0.6088,
                "won_contest": 0.4811,
                "ball_recovery": 0.2079,
                "challenges_lost": 0.5348,
                "fouls": 1.6183,
                "fouls_drawn": 0.685,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1731,
                "tackles_won": 0.3973,
                "tackles": 0.722,
                "clearances": 0.3256,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.752,
                "offsides": 0.2816,
                "ball_carries": 4.3079,
                "total_progression": 10.7404,
                "progressive_carries": 0.2779,
                "shots_off_target": 1.5389,
                "duel_xg_multiplier": 1.0879,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.26,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.3803,
                "projected_assists": 0,
                "assist_probability": 0.0417,
                "finishing_factor": 1.1412,
                "creation_factor": 0.8,
                "fifa_overall": 66.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0417,
                "assist_rate": 0.0,
                "provider_weight": 0.0341,
                "squad_weight_total": 0.9828,
                "weight_share": 0.0347,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.3651,
                    "already": 0,
                    "effective_weight": 0.3651,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.1384,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Iñigo Vicente": {
          "player_id": 605674,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 178,
          "market_value": 6600000,
          "stats": {
            "expected_goals": 0.0985,
            "goal_rate": 0.0907,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.2921,
            "key_pass": 3,
            "rating": 7.125,
            "minutes": 86,
            "total_pass": 71,
            "accurate_pass": 55,
            "duels_won": 5,
            "total_long_balls": 6,
            "accurate_long_balls": 3,
            "total_opp_half_passes": 54,
            "accurate_opp_half_passes": 40,
            "crosses_total": 5,
            "crosses_accurate": 1,
            "touches": 91,
            "possession_lost": 25.391,
            "dispossessed": 1.3838,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 3,
            "won_contest": 2,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.3902,
            "assists": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0347,
            "offsides": 0,
            "ball_carries": 24,
            "total_progression": 91,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9529,
            "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": "Leandro Cabrera, Vanja Drkušić",
            "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.0938,
            "projected_assists": 1,
            "assist_probability": 0.2533,
            "finishing_factor": 1.0469,
            "creation_factor": 1.25,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421078,
              "match_date": "2026-10-18",
              "home_team": "Osasuna",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1169,
                "total_shots": 0,
                "total_pass": 61,
                "accurate_pass": 51,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 8.5,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1725,
                "expected_assists": 0.7804,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 92,
                "accurate_pass": 68,
                "key_pass": 8,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1872,
                "expected_assists": 0.1487,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 86,
                "accurate_pass": 73,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 31,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0307,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 5,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 84,
                "rating": 8.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.6962,
                "total_shots": 0,
                "total_pass": 65,
                "accurate_pass": 46,
                "key_pass": 5,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3602,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 35,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 2,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 69,
                "rating": 7.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.678,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 40,
                "key_pass": 6,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0415,
                "expected_assists": 0.1479,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 83,
                "accurate_pass": 60,
                "key_pass": 3,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0953,
                "total_shots": 0,
                "total_pass": 66,
                "accurate_pass": 53,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 10,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2098,
            "combined_rank_score": 795.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 30.0,
            "sofascore_rating": 8.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1561.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.125,
            "source_file": "data/player_rankings.csv",
            "player_name": "Iñigo Vicente",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lee Sang-yong",
                  "ranking": 2093
                },
                {
                  "player_name": "Patrick McClafferty",
                  "ranking": 2094
                },
                {
                  "player_name": "Marko Vešović",
                  "ranking": 2095
                },
                {
                  "player_name": "Radoslav Kirilov",
                  "ranking": 2096
                },
                {
                  "player_name": "Zdravko Dimitrov",
                  "ranking": 2097
                }
              ],
              "lower": [
                {
                  "player_name": "Nahitan Nández",
                  "ranking": 2099
                },
                {
                  "player_name": "Lewis Cook",
                  "ranking": 2100
                },
                {
                  "player_name": "Keane Lewis-Potter",
                  "ranking": 2101
                },
                {
                  "player_name": "José Copete",
                  "ranking": 2102
                },
                {
                  "player_name": "Diego Moreira",
                  "ranking": 2103
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.778,
          "history_matches": 9,
          "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": 9,
            "data_confidence": 0.778,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9975,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 248.0,
              "goals_per90": 0.0,
              "assists_per90": 0.3571428571428571,
              "shots_per90": 0.36,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1867
            },
            "rationale": "XGBoost regressor (F_service) evaluated 9 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, rel: 0.19, gls/90: 0.0, ast/90: 0.3571428571428571)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0888,
                "goals": 0.0997,
                "goal_rate": 0.0997,
                "shots_on_target": 0.3838,
                "total_shots": 0.9554,
                "expected_assists": 0.251,
                "key_pass": 3.3244,
                "rating": 7.125,
                "minutes": 85.86,
                "total_pass": 70.8052,
                "accurate_pass": 54.7272,
                "duels_won": 5.4152,
                "total_long_balls": 6.2763,
                "accurate_long_balls": 3.3647,
                "total_opp_half_passes": 54.5179,
                "accurate_opp_half_passes": 40.3687,
                "crosses_total": 5.3793,
                "crosses_accurate": 1.0048,
                "touches": 91.3078,
                "possession_lost": 25.4546,
                "dispossessed": 1.3873,
                "duels_lost": 5.3869,
                "aerial_lost": 0.0778,
                "total_contest": 3.042,
                "won_contest": 1.5127,
                "ball_recovery": 4.4896,
                "challenges_lost": 1.4942,
                "fouls": 0.9761,
                "fouls_drawn": 2.3119,
                "assists": 0.3934,
                "assist_rate": 0.3934,
                "interceptions": 0.8267,
                "tackles_won": 1.1255,
                "tackles": 1.4639,
                "clearances": 0.8672,
                "blocks": 0.0,
                "big_chances_created": 0.4711,
                "big_chances_missed": 0.0,
                "xgot": 0.0313,
                "offsides": 0.1737,
                "ball_carries": 24.2434,
                "total_progression": 91.2827,
                "progressive_carries": 2.7417,
                "shots_off_target": 0.5716
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:07:14.441608+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 611,
                    "rows": 16533
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1952,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1659,
                    "rating": 8.5
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.141,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1199,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.1019,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0866,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0736,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0626,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0532,
                    "rating": 8.0
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.0576,
                  "totalOppositionHalfPasses": 49.2111,
                  "accurateOppositionHalfPasses": 36.5366,
                  "accuratePass": 49.3734,
                  "totalShots": 0.6516
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08881454914808273,
                    "model_output": 0.0888,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2858
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0881
                      },
                      {
                        "name": "goals",
                        "importance": 0.0357
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0272
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0231
                      }
                    ],
                    "decomposition": {
                      "base": 0.1979,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0437
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0434
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0296
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0148
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0124
                        }
                      ],
                      "others": -0.052,
                      "total": 0.0888,
                      "log_link": true,
                      "margin_base": -1.619934,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.24932
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.248114
                        },
                        {
                          "name": "goals",
                          "margin": -0.162434
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.092134
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.084184
                        }
                      ],
                      "others_margin": -0.461311
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.0997386947274208,
                    "model_output": 0.0997,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1497
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0696
                      },
                      {
                        "name": "goals",
                        "importance": 0.0577
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0307
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0286
                      }
                    ],
                    "decomposition": {
                      "base": 0.2023,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0437
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0394
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0252
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0169
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0146
                        }
                      ],
                      "others": -0.0502,
                      "total": 0.0997,
                      "log_link": true,
                      "margin_base": -1.597983,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.195476
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.174684
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.129843
                        },
                        {
                          "name": "goals",
                          "margin": -0.097965
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.09274
                        }
                      ],
                      "others_margin": -0.407462
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.38375577330589294,
                    "model_output": 0.3838,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2171
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0661
                      },
                      {
                        "name": "goals",
                        "importance": 0.0553
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0475
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0308
                      }
                    ],
                    "decomposition": {
                      "base": 0.5362,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1438
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0867
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0644
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0467
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0408
                        }
                      ],
                      "others": -0.0576,
                      "total": 0.3838,
                      "log_link": true,
                      "margin_base": -0.623262,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.237622
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.136435
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.114866
                        },
                        {
                          "name": "goals",
                          "margin": -0.092433
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.088432
                        }
                      ],
                      "others_margin": -0.139943
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9553087949752808,
                    "model_output": 0.9553,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2864
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.051
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.031
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 1.3807,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3801
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2515
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.1304
                        },
                        {
                          "name": "goals",
                          "contribution": -0.1089
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.062
                        }
                      ],
                      "others": -0.2527,
                      "total": 0.9553,
                      "log_link": false,
                      "margin_base": 1.380749,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.380089
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.251476
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.130426
                        },
                        {
                          "name": "goals",
                          "margin": -0.108863
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.061951
                        }
                      ],
                      "others_margin": -0.252815
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.25096598267555237,
                    "model_output": 0.251,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1157
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0645
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0607
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0558
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 0.0644,
                      "items": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0152
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0185
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0163
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0145
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0158
                        }
                      ],
                      "others": 0.1063,
                      "total": 0.251,
                      "log_link": true,
                      "margin_base": -2.741965,
                      "item_margins": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.212133
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.208364
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.153826
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.119214
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.115341
                        }
                      ],
                      "others_margin": 0.550648
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 3.3243861198425293,
                    "model_output": 3.3244,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1481
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1244
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1112
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.052
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0395
                      }
                    ],
                    "decomposition": {
                      "base": 0.6805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2639
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.2739
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.2046
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.2204
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.1889
                        }
                      ],
                      "others": 1.4922,
                      "total": 3.3244,
                      "log_link": true,
                      "margin_base": -0.384987,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.327745
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.25466
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.155256
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.143994
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.108829
                        }
                      ],
                      "others_margin": 0.595787
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.124953269958496,
                    "model_output": 7.125,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.059
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0483
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0421
                      },
                      {
                        "name": "rating",
                        "importance": 0.0418
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0415
                      }
                    ],
                    "decomposition": {
                      "base": 6.7683,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0746
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0641
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0592
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0522
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0478
                        }
                      ],
                      "others": 0.0588,
                      "total": 7.125,
                      "log_link": false,
                      "margin_base": 6.768281,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.074569
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.064103
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.059204
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.052193
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.047838
                        }
                      ],
                      "others_margin": 0.058764
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 9,
                  "role_matches": 8,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9975, quality 0.482)",
              "stats": {
                "expected_goals": 0.0886,
                "goals": 0.0995,
                "goal_rate": 0.0995,
                "shots_on_target": 0.3828,
                "total_shots": 0.953,
                "expected_assists": 0.2503,
                "key_pass": 3.3161,
                "rating": 7.125,
                "minutes": 85.86,
                "total_pass": 70.6282,
                "accurate_pass": 54.5904,
                "duels_won": 5.4017,
                "total_long_balls": 6.2606,
                "accurate_long_balls": 3.3563,
                "total_opp_half_passes": 54.3816,
                "accurate_opp_half_passes": 40.2678,
                "crosses_total": 5.3659,
                "crosses_accurate": 1.0023,
                "touches": 91.0795,
                "possession_lost": 25.391,
                "dispossessed": 1.3838,
                "duels_lost": 5.3734,
                "aerial_lost": 0.0776,
                "total_contest": 3.0344,
                "won_contest": 1.5089,
                "ball_recovery": 4.4784,
                "challenges_lost": 1.4905,
                "fouls": 0.9737,
                "fouls_drawn": 2.3061,
                "assists": 0.3924,
                "assist_rate": 0.3924,
                "interceptions": 0.8246,
                "tackles_won": 1.1227,
                "tackles": 1.4602,
                "clearances": 0.865,
                "blocks": 0.0,
                "big_chances_created": 0.4699,
                "big_chances_missed": 0.0,
                "xgot": 0.0312,
                "offsides": 0.1733,
                "ball_carries": 24.1828,
                "total_progression": 91.0545,
                "progressive_carries": 2.7348,
                "shots_off_target": 0.5702
              },
              "params": {
                "market_value_eur": 6600000,
                "quality_factor": 0.4818,
                "boost_factor": 0.9975,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0433)",
              "stats": {
                "expected_goals": 0.0886,
                "goals": 0.0952,
                "goal_rate": 0.0952,
                "shots_on_target": 0.3662,
                "total_shots": 0.9266,
                "expected_assists": 0.2503,
                "key_pass": 3.3161,
                "rating": 7.125,
                "minutes": 85.86,
                "total_pass": 70.6282,
                "accurate_pass": 54.5904,
                "duels_won": 5.4017,
                "total_long_balls": 6.2606,
                "accurate_long_balls": 3.3563,
                "total_opp_half_passes": 54.3816,
                "accurate_opp_half_passes": 40.2678,
                "crosses_total": 5.2515,
                "crosses_accurate": 1.0023,
                "touches": 91.0795,
                "possession_lost": 25.391,
                "dispossessed": 1.3838,
                "duels_lost": 5.3734,
                "aerial_lost": 0.0776,
                "total_contest": 3.0344,
                "won_contest": 1.5089,
                "ball_recovery": 4.4784,
                "challenges_lost": 1.4905,
                "fouls": 0.9758,
                "fouls_drawn": 2.2948,
                "assists": 0.3902,
                "assist_rate": 0.3902,
                "interceptions": 0.8036,
                "tackles_won": 1.1036,
                "tackles": 1.4602,
                "clearances": 0.865,
                "blocks": 0.0,
                "big_chances_created": 0.4699,
                "big_chances_missed": 0.0,
                "xgot": 0.0312,
                "offsides": 0.1806,
                "ball_carries": 24.1828,
                "total_progression": 91.0545,
                "progressive_carries": 2.7348,
                "shots_off_target": 0.5702
              },
              "params": {
                "blend_weight": 0.0433,
                "history_matches": 9,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.954,
                "prior_reliability": 0.1867,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 5.3659,
                  "after": 5.2515
                },
                {
                  "stat": "totalShots",
                  "before": 0.953,
                  "after": 0.9266
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.8246,
                  "after": 0.8036
                },
                {
                  "stat": "wonTackle",
                  "before": 1.1227,
                  "after": 1.1036
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3828,
                  "after": 0.3662
                },
                {
                  "stat": "wasFouled",
                  "before": 2.3061,
                  "after": 2.2948
                },
                {
                  "stat": "totalOffside",
                  "before": 0.1733,
                  "after": 0.1806
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0886,
                "goals": 0.0952,
                "goal_rate": 0.0952,
                "shots_on_target": 0.3662,
                "total_shots": 0.9364,
                "expected_assists": 0.2503,
                "key_pass": 3.3161,
                "rating": 7.125,
                "minutes": 85.86,
                "total_pass": 70.6282,
                "accurate_pass": 54.5904,
                "duels_won": 5.4017,
                "total_long_balls": 6.2606,
                "accurate_long_balls": 3.3563,
                "total_opp_half_passes": 54.3816,
                "accurate_opp_half_passes": 40.2678,
                "crosses_total": 5.2515,
                "crosses_accurate": 1.0023,
                "touches": 91.0795,
                "possession_lost": 25.391,
                "dispossessed": 1.3838,
                "duels_lost": 5.3734,
                "aerial_lost": 0.0776,
                "total_contest": 3.0344,
                "won_contest": 1.5089,
                "ball_recovery": 4.4784,
                "challenges_lost": 1.4905,
                "fouls": 0.9758,
                "fouls_drawn": 2.2948,
                "assists": 0.3902,
                "assist_rate": 0.3902,
                "interceptions": 0.8036,
                "tackles_won": 1.1036,
                "tackles": 1.4602,
                "clearances": 0.865,
                "blocks": 0.0,
                "big_chances_created": 0.4699,
                "big_chances_missed": 0.0,
                "xgot": 0.0312,
                "offsides": 0.1806,
                "ball_carries": 24.1828,
                "total_progression": 91.0545,
                "progressive_carries": 2.7348,
                "shots_off_target": 0.5702
              },
              "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.0844,
                "goals": 0.0907,
                "goal_rate": 0.0907,
                "shots_on_target": 0.349,
                "total_shots": 0.8923,
                "expected_assists": 0.2503,
                "key_pass": 3.3161,
                "rating": 7.125,
                "minutes": 85.86,
                "total_pass": 70.6282,
                "accurate_pass": 54.5904,
                "duels_won": 5.4017,
                "total_long_balls": 6.2606,
                "accurate_long_balls": 3.3563,
                "total_opp_half_passes": 54.3816,
                "accurate_opp_half_passes": 40.2678,
                "crosses_total": 5.2515,
                "crosses_accurate": 1.0023,
                "touches": 91.0795,
                "possession_lost": 25.391,
                "dispossessed": 1.3838,
                "duels_lost": 5.3734,
                "aerial_lost": 0.0776,
                "total_contest": 3.0344,
                "won_contest": 1.5089,
                "ball_recovery": 4.4784,
                "challenges_lost": 1.4905,
                "fouls": 0.9758,
                "fouls_drawn": 2.2948,
                "assists": 0.3902,
                "assist_rate": 0.3902,
                "interceptions": 0.8036,
                "tackles_won": 1.1036,
                "tackles": 1.4602,
                "clearances": 0.865,
                "blocks": 0.0,
                "big_chances_created": 0.4699,
                "big_chances_missed": 0.0,
                "xgot": 0.0297,
                "offsides": 0.1806,
                "ball_carries": 24.1828,
                "total_progression": 91.0545,
                "progressive_carries": 2.7348,
                "shots_off_target": 0.5433,
                "duel_xg_multiplier": 0.9529,
                "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": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                  "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.9529,
                  "skill_edge": 0.008,
                  "height_edge": -0.04,
                  "attacker_skill": 0.4818,
                  "defender_skill": 0.464,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Leandro Cabrera",
                      "market_value": 930000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Vanja Drkušić",
                      "market_value": 5500000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4907
                    }
                  ],
                  "xg_override": 0.0844
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.9364,
                  "after": 0.8923
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.5702,
                  "after": 0.5433
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3662,
                  "after": 0.349
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0844,
                "goal_rate": 0.0907,
                "goals": 0,
                "shots_on_target": 0.349,
                "total_shots": 0.8923,
                "expected_assists": 0.2503,
                "key_pass": 3.3161,
                "rating": 7.125,
                "minutes": 85.86,
                "total_pass": 70.6282,
                "accurate_pass": 54.5904,
                "duels_won": 5.4017,
                "total_long_balls": 6.2606,
                "accurate_long_balls": 3.3563,
                "total_opp_half_passes": 54.3816,
                "accurate_opp_half_passes": 40.2678,
                "crosses_total": 5.2515,
                "crosses_accurate": 1.0023,
                "touches": 91.0795,
                "possession_lost": 25.391,
                "dispossessed": 1.3838,
                "duels_lost": 5.3734,
                "aerial_lost": 0.0776,
                "total_contest": 3.0344,
                "won_contest": 1.5089,
                "ball_recovery": 4.4784,
                "challenges_lost": 1.4905,
                "fouls": 0.9758,
                "fouls_drawn": 2.2948,
                "assist_rate": 0.3902,
                "assists": 0,
                "interceptions": 0.8036,
                "tackles_won": 1.1036,
                "tackles": 1.4602,
                "clearances": 0.865,
                "blocks": 0.0,
                "big_chances_created": 0.4699,
                "big_chances_missed": 0.0,
                "xgot": 0.0297,
                "offsides": 0.1806,
                "ball_carries": 24.1828,
                "total_progression": 91.0545,
                "progressive_carries": 2.7348,
                "shots_off_target": 0.5433,
                "duel_xg_multiplier": 0.9529,
                "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": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.31 (squad xG sum 1.1245, xG scale 1.1667, xA scale 1.1667, team xA 0.98 = 0.74 x lambda)",
              "stats": {
                "expected_goals": 0.0985,
                "goal_rate": 0.0907,
                "goals": 0,
                "shots_on_target": 0.349,
                "total_shots": 0.8923,
                "expected_assists": 0.2921,
                "key_pass": 3.3161,
                "rating": 7.125,
                "minutes": 85.86,
                "total_pass": 70.6282,
                "accurate_pass": 54.5904,
                "duels_won": 5.4017,
                "total_long_balls": 6.2606,
                "accurate_long_balls": 3.3563,
                "total_opp_half_passes": 54.3816,
                "accurate_opp_half_passes": 40.2678,
                "crosses_total": 5.2515,
                "crosses_accurate": 1.0023,
                "touches": 91.0795,
                "possession_lost": 25.391,
                "dispossessed": 1.3838,
                "duels_lost": 5.3734,
                "aerial_lost": 0.0776,
                "total_contest": 3.0344,
                "won_contest": 1.5089,
                "ball_recovery": 4.4784,
                "challenges_lost": 1.4905,
                "fouls": 0.9758,
                "fouls_drawn": 2.2948,
                "assist_rate": 0.3902,
                "assists": 0,
                "interceptions": 0.8036,
                "tackles_won": 1.1036,
                "tackles": 1.4602,
                "clearances": 0.865,
                "blocks": 0.0,
                "big_chances_created": 0.4699,
                "big_chances_missed": 0.0,
                "xgot": 0.0347,
                "offsides": 0.1806,
                "ball_carries": 24.1828,
                "total_progression": 91.0545,
                "progressive_carries": 2.7348,
                "shots_off_target": 0.5433,
                "duel_xg_multiplier": 0.9529,
                "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": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0469,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.312,
                "squad_xg_sum": 1.1245,
                "squad_xa_sum": 0.8366,
                "team_expected_assists": 0.9761,
                "team_xa_to_xg_ratio": 0.744,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1667,
                "xa_scale": 1.1667,
                "opponent_lambda": 1.46,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0844,
                  "after": 0.0985
                },
                {
                  "stat": "expected_assists",
                  "before": 0.2503,
                  "after": 0.2921
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 1 by projected rating, fifa_overall 77.0)",
              "stats": {
                "expected_goals": 0.0985,
                "goal_rate": 0.0907,
                "goals": 0,
                "shots_on_target": 0.349,
                "total_shots": 0.8923,
                "expected_assists": 0.2921,
                "key_pass": 3.3161,
                "rating": 7.125,
                "minutes": 85.86,
                "total_pass": 70.6282,
                "accurate_pass": 54.5904,
                "duels_won": 5.4017,
                "total_long_balls": 6.2606,
                "accurate_long_balls": 3.3563,
                "total_opp_half_passes": 54.3816,
                "accurate_opp_half_passes": 40.2678,
                "crosses_total": 5.2515,
                "crosses_accurate": 1.0023,
                "touches": 91.0795,
                "possession_lost": 25.391,
                "dispossessed": 1.3838,
                "duels_lost": 5.3734,
                "aerial_lost": 0.0776,
                "total_contest": 3.0344,
                "won_contest": 1.5089,
                "ball_recovery": 4.4784,
                "challenges_lost": 1.4905,
                "fouls": 0.9758,
                "fouls_drawn": 2.2948,
                "assist_rate": 0.3902,
                "assists": 0,
                "interceptions": 0.8036,
                "tackles_won": 1.1036,
                "tackles": 1.4602,
                "clearances": 0.865,
                "blocks": 0.0,
                "big_chances_created": 0.4699,
                "big_chances_missed": 0.0,
                "xgot": 0.0347,
                "offsides": 0.1806,
                "ball_carries": 24.1828,
                "total_progression": 91.0545,
                "progressive_carries": 2.7348,
                "shots_off_target": 0.5433,
                "duel_xg_multiplier": 0.9529,
                "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": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0469,
                "creation_factor": 1.25,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2098,
                "fifa_rank": 1561.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0985,
                "goal_rate": 0.0907,
                "goals": 0,
                "shots_on_target": 0.349,
                "total_shots": 0.8923,
                "expected_assists": 0.2921,
                "key_pass": 3.3161,
                "rating": 7.125,
                "minutes": 85.86,
                "total_pass": 70.6282,
                "accurate_pass": 54.5904,
                "duels_won": 5.4017,
                "total_long_balls": 6.2606,
                "accurate_long_balls": 3.3563,
                "total_opp_half_passes": 54.3816,
                "accurate_opp_half_passes": 40.2678,
                "crosses_total": 5.2515,
                "crosses_accurate": 1.0023,
                "touches": 91.0795,
                "possession_lost": 25.391,
                "dispossessed": 1.3838,
                "duels_lost": 5.3734,
                "aerial_lost": 0.0776,
                "total_contest": 3.0344,
                "won_contest": 1.5089,
                "ball_recovery": 4.4784,
                "challenges_lost": 1.4905,
                "fouls": 0.9758,
                "fouls_drawn": 2.2948,
                "assist_rate": 0.3902,
                "assists": 0,
                "interceptions": 0.8036,
                "tackles_won": 1.1036,
                "tackles": 1.4602,
                "clearances": 0.865,
                "blocks": 0.0,
                "big_chances_created": 0.4699,
                "big_chances_missed": 0.0,
                "xgot": 0.0347,
                "offsides": 0.1806,
                "ball_carries": 24.1828,
                "total_progression": 91.0545,
                "progressive_carries": 2.7348,
                "shots_off_target": 0.5433,
                "duel_xg_multiplier": 0.9529,
                "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": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0938,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0469,
                "creation_factor": 1.25,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0938,
                "goal_rate": 0.0907,
                "scorer_weight": 0.1031,
                "squad_weight_total": 1.3832,
                "weight_share": 0.0746,
                "finishing_factor": 1.0469,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.5461,
                    "already": 0,
                    "effective_weight": 0.5461,
                    "runner_up": "Andrés Martín",
                    "runner_up_effective_weight": 0.2591
                  }
                ]
              }
            },
            {
              "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.0985,
                "goal_rate": 0.0907,
                "goals": 0,
                "shots_on_target": 0.349,
                "total_shots": 0.8923,
                "expected_assists": 0.2921,
                "key_pass": 3.3161,
                "rating": 7.125,
                "minutes": 85.86,
                "total_pass": 70.6282,
                "accurate_pass": 54.5904,
                "duels_won": 5.4017,
                "total_long_balls": 6.2606,
                "accurate_long_balls": 3.3563,
                "total_opp_half_passes": 54.3816,
                "accurate_opp_half_passes": 40.2678,
                "crosses_total": 5.2515,
                "crosses_accurate": 1.0023,
                "touches": 91.0795,
                "possession_lost": 25.391,
                "dispossessed": 1.3838,
                "duels_lost": 5.3734,
                "aerial_lost": 0.0776,
                "total_contest": 3.0344,
                "won_contest": 1.5089,
                "ball_recovery": 4.4784,
                "challenges_lost": 1.4905,
                "fouls": 0.9758,
                "fouls_drawn": 2.2948,
                "assist_rate": 0.3902,
                "assists": 1,
                "interceptions": 0.8036,
                "tackles_won": 1.1036,
                "tackles": 1.4602,
                "clearances": 0.865,
                "blocks": 0.0,
                "big_chances_created": 0.4699,
                "big_chances_missed": 0.0,
                "xgot": 0.0347,
                "offsides": 0.1806,
                "ball_carries": 24.1828,
                "total_progression": 91.0545,
                "progressive_carries": 2.7348,
                "shots_off_target": 0.5433,
                "duel_xg_multiplier": 0.9529,
                "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": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0938,
                "projected_assists": 1,
                "assist_probability": 0.2533,
                "finishing_factor": 1.0469,
                "creation_factor": 1.25,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.2533,
                "assist_rate": 0.3902,
                "provider_weight": 0.3651,
                "squad_weight_total": 0.9828,
                "weight_share": 0.3715,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.3651,
                    "already": 0,
                    "effective_weight": 0.3651,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.1384,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Sergio Canales": {
          "player_id": 41560,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 20,
          "height": 176,
          "market_value": 3200000,
          "stats": {
            "expected_goals": 0.1141,
            "goal_rate": 0.121,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.1449,
            "key_pass": 1,
            "rating": 6.8266,
            "minutes": 78,
            "total_pass": 34,
            "accurate_pass": 30,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 17,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 53,
            "possession_lost": 12.5303,
            "dispossessed": 2.5314,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1729,
            "offsides": 0,
            "ball_carries": 15,
            "total_progression": 68,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9135,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Leandro Cabrera, Vanja Drkušić",
            "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1078,
            "projected_assists": 0,
            "assist_probability": 0.1349,
            "finishing_factor": 1.157,
            "creation_factor": 0.8,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16421078,
              "match_date": "2026-10-18",
              "home_team": "Osasuna",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 69,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.089,
                "expected_assists": 0.0271,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 25,
                "accurate_pass": 23,
                "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": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 75,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1392,
                "expected_assists": 0.0787,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 34,
                "accurate_pass": 29,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 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": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 27,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0054,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 20
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0025,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 42,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 74,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0238,
                "expected_assists": 0.1594,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 30,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "duels_won": 7,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1629,
                "expected_assists": 0.0592,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 42,
                "accurate_pass": 38,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 85,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4989,
                "expected_assists": 0.046,
                "total_shots": 5,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 43,
                "accurate_pass": 34,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 64,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0286,
                "expected_assists": 0.0113,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 77,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1406,
                "expected_assists": 0.059,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 40,
                "accurate_pass": 35,
                "tackles": 1,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2846,
            "combined_rank_score": 963.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1229.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8266,
            "source_file": "data/player_rankings.csv",
            "player_name": "Sergio Canales",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Paulinho",
                  "ranking": 2841
                },
                {
                  "player_name": "Marc Casadó",
                  "ranking": 2842
                },
                {
                  "player_name": "Maximilian Göppel",
                  "ranking": 2843
                },
                {
                  "player_name": "Yevgeniy Malashevich",
                  "ranking": 2844
                },
                {
                  "player_name": "Barrenetxea",
                  "ranking": 2845
                }
              ],
              "lower": [
                {
                  "player_name": "Josip Šutalo",
                  "ranking": 2847
                },
                {
                  "player_name": "Orlando Mosquera",
                  "ranking": 2848
                },
                {
                  "player_name": "Kristian Dimitrov",
                  "ranking": 2849
                },
                {
                  "player_name": "Manor Solomon",
                  "ranking": 2850
                },
                {
                  "player_name": "Jørgen Strand Larsen",
                  "ranking": 2851
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.775,
          "history_matches": 9,
          "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": 9,
            "data_confidence": 0.775,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.993,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 223.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 3.63,
              "shots_on_target_pct": 33.3,
              "prior_reliability": 0.1667
            },
            "rationale": "XGBoost regressor (F_service) evaluated 9 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, rel: 0.17, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1079,
                "goals": 0.1388,
                "goal_rate": 0.1388,
                "shots_on_target": 0.5615,
                "total_shots": 1.693,
                "expected_assists": 0.1251,
                "key_pass": 1.1953,
                "rating": 6.8266,
                "minutes": 78.14,
                "total_pass": 34.5667,
                "accurate_pass": 29.8781,
                "duels_won": 4.3944,
                "total_long_balls": 1.1782,
                "accurate_long_balls": 0.5132,
                "total_opp_half_passes": 20.5448,
                "accurate_opp_half_passes": 16.8363,
                "crosses_total": 2.4584,
                "crosses_accurate": 0.2343,
                "touches": 53.2881,
                "possession_lost": 12.6186,
                "dispossessed": 2.5492,
                "duels_lost": 4.9334,
                "aerial_lost": 0.5381,
                "total_contest": 1.5736,
                "won_contest": 1.0743,
                "ball_recovery": 3.0733,
                "challenges_lost": 0.6723,
                "fouls": 0.6745,
                "fouls_drawn": 2.0018,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.4095,
                "tackles_won": 0.6364,
                "tackles": 0.9854,
                "clearances": 0.1692,
                "blocks": 0.149,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1633,
                "offsides": 0.2062,
                "ball_carries": 15.4327,
                "total_progression": 68.6909,
                "progressive_carries": 2.2026,
                "shots_off_target": 1.1315
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:07:14.441608+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 611,
                    "rows": 16533
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Osasuna",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1952,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Valencia",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.1659,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.141,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1199,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.1019,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0866,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0736,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0626,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0532,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.103,
                  "totalOppositionHalfPasses": 19.1144,
                  "accurateOppositionHalfPasses": 15.9761,
                  "accuratePass": 28.2616,
                  "totalShots": 2.2014
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10786949843168259,
                    "model_output": 0.1079,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2858
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0881
                      },
                      {
                        "name": "goals",
                        "importance": 0.0357
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0272
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0231
                      }
                    ],
                    "decomposition": {
                      "base": 0.1979,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0612
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.049
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0298
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0198
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.013
                        }
                      ],
                      "others": -0.0396,
                      "total": 0.1079,
                      "log_link": true,
                      "margin_base": -1.619934,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.269311
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.209604
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.153035
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.116199
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.08427
                        }
                      ],
                      "others_margin": -0.313101
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13875606656074524,
                    "model_output": 0.1388,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1497
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0696
                      },
                      {
                        "name": "goals",
                        "importance": 0.0577
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0307
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0286
                      }
                    ],
                    "decomposition": {
                      "base": 0.2023,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0531
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0391
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0286
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0213
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0143
                        }
                      ],
                      "others": -0.0133,
                      "total": 0.1388,
                      "log_link": true,
                      "margin_base": -1.597983,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.232994
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.166021
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.141893
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.120357
                        },
                        {
                          "name": "goals",
                          "margin": -0.090075
                        }
                      ],
                      "others_margin": -0.091703
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5614896416664124,
                    "model_output": 0.5615,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2171
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0661
                      },
                      {
                        "name": "goals",
                        "importance": 0.0553
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0475
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0308
                      }
                    ],
                    "decomposition": {
                      "base": 0.5362,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1449
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0668
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0467
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0434
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0368
                        }
                      ],
                      "others": -0.0127,
                      "total": 0.5615,
                      "log_link": true,
                      "margin_base": -0.623262,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.239194
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.103246
                        },
                        {
                          "name": "goals",
                          "margin": -0.079084
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.073661
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.062091
                        }
                      ],
                      "others_margin": -0.022334
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.6929454803466797,
                    "model_output": 1.6929,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2864
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.051
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.031
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 1.3807,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4192
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1586
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0707
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0637
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0527
                        }
                      ],
                      "others": -0.0785,
                      "total": 1.6929,
                      "log_link": false,
                      "margin_base": 1.380749,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.419198
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.158594
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.070703
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.063712
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.052683
                        }
                      ],
                      "others_margin": -0.078498
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.1250752955675125,
                    "model_output": 0.1251,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1157
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0645
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0607
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0558
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 0.0644,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0169
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0152
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0091
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0077
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0064
                        }
                      ],
                      "others": 0.0054,
                      "total": 0.1251,
                      "log_link": true,
                      "margin_base": -2.741965,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.232482
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.171239
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.090253
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.070768
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.055154
                        }
                      ],
                      "others_margin": 0.04323
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.195286512374878,
                    "model_output": 1.1953,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1481
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1244
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1112
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.052
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0395
                      }
                    ],
                    "decomposition": {
                      "base": 0.6805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1745
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.12
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.084
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0804
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0473
                        }
                      ],
                      "others": 0.1766,
                      "total": 1.1953,
                      "log_link": true,
                      "margin_base": -0.384987,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.228244
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.131337
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.090153
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.086453
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.047581
                        }
                      ],
                      "others_margin": 0.159911
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.826620101928711,
                    "model_output": 6.8266,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.059
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0483
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0421
                      },
                      {
                        "name": "rating",
                        "importance": 0.0418
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0415
                      }
                    ],
                    "decomposition": {
                      "base": 6.7683,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0519
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.034
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0306
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0274
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0238
                        }
                      ],
                      "others": -0.0618,
                      "total": 6.8266,
                      "log_link": false,
                      "margin_base": 6.768281,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.05191
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.033979
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.030578
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.027408
                        },
                        {
                          "name": "rating",
                          "margin": -0.023815
                        }
                      ],
                      "others_margin": -0.061719
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 9,
                  "role_matches": 8,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9930, quality 0.440)",
              "stats": {
                "expected_goals": 0.1071,
                "goals": 0.1378,
                "goal_rate": 0.1378,
                "shots_on_target": 0.5576,
                "total_shots": 1.6812,
                "expected_assists": 0.1242,
                "key_pass": 1.1869,
                "rating": 6.8266,
                "minutes": 78.14,
                "total_pass": 34.3247,
                "accurate_pass": 29.669,
                "duels_won": 4.3636,
                "total_long_balls": 1.17,
                "accurate_long_balls": 0.5096,
                "total_opp_half_passes": 20.401,
                "accurate_opp_half_passes": 16.7184,
                "crosses_total": 2.4412,
                "crosses_accurate": 0.2327,
                "touches": 52.9151,
                "possession_lost": 12.5303,
                "dispossessed": 2.5314,
                "duels_lost": 4.8989,
                "aerial_lost": 0.5343,
                "total_contest": 1.5626,
                "won_contest": 1.0668,
                "ball_recovery": 3.0518,
                "challenges_lost": 0.6676,
                "fouls": 0.6698,
                "fouls_drawn": 1.9878,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.4066,
                "tackles_won": 0.6319,
                "tackles": 0.9785,
                "clearances": 0.168,
                "blocks": 0.148,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1622,
                "offsides": 0.2048,
                "ball_carries": 15.3247,
                "total_progression": 68.2101,
                "progressive_carries": 2.1872,
                "shots_off_target": 1.1236
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399,
                "boost_factor": 0.993,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0387)",
              "stats": {
                "expected_goals": 0.1071,
                "goals": 0.1325,
                "goal_rate": 0.1325,
                "shots_on_target": 0.5767,
                "total_shots": 1.7381,
                "expected_assists": 0.1242,
                "key_pass": 1.1869,
                "rating": 6.8266,
                "minutes": 78.14,
                "total_pass": 34.3247,
                "accurate_pass": 29.669,
                "duels_won": 4.3636,
                "total_long_balls": 1.17,
                "accurate_long_balls": 0.5096,
                "total_opp_half_passes": 20.401,
                "accurate_opp_half_passes": 16.7184,
                "crosses_total": 2.3602,
                "crosses_accurate": 0.2327,
                "touches": 52.9151,
                "possession_lost": 12.5303,
                "dispossessed": 2.5314,
                "duels_lost": 4.8989,
                "aerial_lost": 0.5343,
                "total_contest": 1.5626,
                "won_contest": 1.0668,
                "ball_recovery": 3.0518,
                "challenges_lost": 0.6676,
                "fouls": 0.6573,
                "fouls_drawn": 1.9512,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3909,
                "tackles_won": 0.6074,
                "tackles": 0.9785,
                "clearances": 0.168,
                "blocks": 0.148,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1622,
                "offsides": 0.1969,
                "ball_carries": 15.3247,
                "total_progression": 68.2101,
                "progressive_carries": 2.1872,
                "shots_off_target": 1.1236
              },
              "params": {
                "blend_weight": 0.0387,
                "history_matches": 9,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8682,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.4412,
                  "after": 2.3602
                },
                {
                  "stat": "totalShots",
                  "before": 1.6812,
                  "after": 1.7381
                },
                {
                  "stat": "wasFouled",
                  "before": 1.9878,
                  "after": 1.9512
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6319,
                  "after": 0.6074
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5576,
                  "after": 0.5767
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.4066,
                  "after": 0.3909
                },
                {
                  "stat": "fouls",
                  "before": 0.6698,
                  "after": 0.6573
                },
                {
                  "stat": "totalOffside",
                  "before": 0.2048,
                  "after": 0.1969
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1071,
                "goals": 0.1325,
                "goal_rate": 0.1325,
                "shots_on_target": 0.5767,
                "total_shots": 1.7381,
                "expected_assists": 0.1242,
                "key_pass": 1.1869,
                "rating": 6.8266,
                "minutes": 78.14,
                "total_pass": 34.3247,
                "accurate_pass": 29.669,
                "duels_won": 4.3636,
                "total_long_balls": 1.17,
                "accurate_long_balls": 0.5096,
                "total_opp_half_passes": 20.401,
                "accurate_opp_half_passes": 16.7184,
                "crosses_total": 2.3602,
                "crosses_accurate": 0.2327,
                "touches": 52.9151,
                "possession_lost": 12.5303,
                "dispossessed": 2.5314,
                "duels_lost": 4.8989,
                "aerial_lost": 0.5343,
                "total_contest": 1.5626,
                "won_contest": 1.0668,
                "ball_recovery": 3.0518,
                "challenges_lost": 0.6676,
                "fouls": 0.6573,
                "fouls_drawn": 1.9512,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3909,
                "tackles_won": 0.6074,
                "tackles": 0.9785,
                "clearances": 0.168,
                "blocks": 0.148,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1622,
                "offsides": 0.1969,
                "ball_carries": 15.3247,
                "total_progression": 68.2101,
                "progressive_carries": 2.1872,
                "shots_off_target": 1.1236
              },
              "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.0978,
                "goals": 0.121,
                "goal_rate": 0.121,
                "shots_on_target": 0.5268,
                "total_shots": 1.5878,
                "expected_assists": 0.1242,
                "key_pass": 1.1869,
                "rating": 6.8266,
                "minutes": 78.14,
                "total_pass": 34.3247,
                "accurate_pass": 29.669,
                "duels_won": 4.3636,
                "total_long_balls": 1.17,
                "accurate_long_balls": 0.5096,
                "total_opp_half_passes": 20.401,
                "accurate_opp_half_passes": 16.7184,
                "crosses_total": 2.3602,
                "crosses_accurate": 0.2327,
                "touches": 52.9151,
                "possession_lost": 12.5303,
                "dispossessed": 2.5314,
                "duels_lost": 4.8989,
                "aerial_lost": 0.5343,
                "total_contest": 1.5626,
                "won_contest": 1.0668,
                "ball_recovery": 3.0518,
                "challenges_lost": 0.6676,
                "fouls": 0.6573,
                "fouls_drawn": 1.9512,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3909,
                "tackles_won": 0.6074,
                "tackles": 0.9785,
                "clearances": 0.168,
                "blocks": 0.148,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1482,
                "offsides": 0.1969,
                "ball_carries": 15.3247,
                "total_progression": 68.2101,
                "progressive_carries": 2.1872,
                "shots_off_target": 1.0264,
                "duel_xg_multiplier": 0.9135,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                  "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.9135,
                  "skill_edge": -0.0109,
                  "height_edge": -0.048,
                  "attacker_skill": 0.4399,
                  "defender_skill": 0.464,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Leandro Cabrera",
                      "market_value": 930000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Vanja Drkušić",
                      "market_value": 5500000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4907
                    }
                  ],
                  "xg_override": 0.0978
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.7381,
                  "after": 1.5878
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.1236,
                  "after": 1.0264
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5767,
                  "after": 0.5268
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1622,
                  "after": 0.1482
                },
                {
                  "stat": "goals",
                  "before": 0.1325,
                  "after": 0.121
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1071,
                  "after": 0.0978
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0978,
                "goal_rate": 0.121,
                "goals": 0,
                "shots_on_target": 0.5268,
                "total_shots": 1.5878,
                "expected_assists": 0.1242,
                "key_pass": 1.1869,
                "rating": 6.8266,
                "minutes": 78.14,
                "total_pass": 34.3247,
                "accurate_pass": 29.669,
                "duels_won": 4.3636,
                "total_long_balls": 1.17,
                "accurate_long_balls": 0.5096,
                "total_opp_half_passes": 20.401,
                "accurate_opp_half_passes": 16.7184,
                "crosses_total": 2.3602,
                "crosses_accurate": 0.2327,
                "touches": 52.9151,
                "possession_lost": 12.5303,
                "dispossessed": 2.5314,
                "duels_lost": 4.8989,
                "aerial_lost": 0.5343,
                "total_contest": 1.5626,
                "won_contest": 1.0668,
                "ball_recovery": 3.0518,
                "challenges_lost": 0.6676,
                "fouls": 0.6573,
                "fouls_drawn": 1.9512,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3909,
                "tackles_won": 0.6074,
                "tackles": 0.9785,
                "clearances": 0.168,
                "blocks": 0.148,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1482,
                "offsides": 0.1969,
                "ball_carries": 15.3247,
                "total_progression": 68.2101,
                "progressive_carries": 2.1872,
                "shots_off_target": 1.0264,
                "duel_xg_multiplier": 0.9135,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.31 (squad xG sum 1.1245, xG scale 1.1667, xA scale 1.1667, team xA 0.98 = 0.74 x lambda)",
              "stats": {
                "expected_goals": 0.1141,
                "goal_rate": 0.121,
                "goals": 0,
                "shots_on_target": 0.5268,
                "total_shots": 1.5878,
                "expected_assists": 0.1449,
                "key_pass": 1.1869,
                "rating": 6.8266,
                "minutes": 78.14,
                "total_pass": 34.3247,
                "accurate_pass": 29.669,
                "duels_won": 4.3636,
                "total_long_balls": 1.17,
                "accurate_long_balls": 0.5096,
                "total_opp_half_passes": 20.401,
                "accurate_opp_half_passes": 16.7184,
                "crosses_total": 2.3602,
                "crosses_accurate": 0.2327,
                "touches": 52.9151,
                "possession_lost": 12.5303,
                "dispossessed": 2.5314,
                "duels_lost": 4.8989,
                "aerial_lost": 0.5343,
                "total_contest": 1.5626,
                "won_contest": 1.0668,
                "ball_recovery": 3.0518,
                "challenges_lost": 0.6676,
                "fouls": 0.6573,
                "fouls_drawn": 1.9512,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3909,
                "tackles_won": 0.6074,
                "tackles": 0.9785,
                "clearances": 0.168,
                "blocks": 0.148,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1729,
                "offsides": 0.1969,
                "ball_carries": 15.3247,
                "total_progression": 68.2101,
                "progressive_carries": 2.1872,
                "shots_off_target": 1.0264,
                "duel_xg_multiplier": 0.9135,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.157,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.312,
                "squad_xg_sum": 1.1245,
                "squad_xa_sum": 0.8366,
                "team_expected_assists": 0.9761,
                "team_xa_to_xg_ratio": 0.744,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1667,
                "xa_scale": 1.1667,
                "opponent_lambda": 1.46,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0978,
                  "after": 0.1141
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1242,
                  "after": 0.1449
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 8 by projected rating, fifa_overall 78.0)",
              "stats": {
                "expected_goals": 0.1141,
                "goal_rate": 0.121,
                "goals": 0,
                "shots_on_target": 0.5268,
                "total_shots": 1.5878,
                "expected_assists": 0.1449,
                "key_pass": 1.1869,
                "rating": 6.8266,
                "minutes": 78.14,
                "total_pass": 34.3247,
                "accurate_pass": 29.669,
                "duels_won": 4.3636,
                "total_long_balls": 1.17,
                "accurate_long_balls": 0.5096,
                "total_opp_half_passes": 20.401,
                "accurate_opp_half_passes": 16.7184,
                "crosses_total": 2.3602,
                "crosses_accurate": 0.2327,
                "touches": 52.9151,
                "possession_lost": 12.5303,
                "dispossessed": 2.5314,
                "duels_lost": 4.8989,
                "aerial_lost": 0.5343,
                "total_contest": 1.5626,
                "won_contest": 1.0668,
                "ball_recovery": 3.0518,
                "challenges_lost": 0.6676,
                "fouls": 0.6573,
                "fouls_drawn": 1.9512,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3909,
                "tackles_won": 0.6074,
                "tackles": 0.9785,
                "clearances": 0.168,
                "blocks": 0.148,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1729,
                "offsides": 0.1969,
                "ball_carries": 15.3247,
                "total_progression": 68.2101,
                "progressive_carries": 2.1872,
                "shots_off_target": 1.0264,
                "duel_xg_multiplier": 0.9135,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.157,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2846,
                "fifa_rank": 1229.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1141,
                "goal_rate": 0.121,
                "goals": 0,
                "shots_on_target": 0.5268,
                "total_shots": 1.5878,
                "expected_assists": 0.1449,
                "key_pass": 1.1869,
                "rating": 6.8266,
                "minutes": 78.14,
                "total_pass": 34.3247,
                "accurate_pass": 29.669,
                "duels_won": 4.3636,
                "total_long_balls": 1.17,
                "accurate_long_balls": 0.5096,
                "total_opp_half_passes": 20.401,
                "accurate_opp_half_passes": 16.7184,
                "crosses_total": 2.3602,
                "crosses_accurate": 0.2327,
                "touches": 52.9151,
                "possession_lost": 12.5303,
                "dispossessed": 2.5314,
                "duels_lost": 4.8989,
                "aerial_lost": 0.5343,
                "total_contest": 1.5626,
                "won_contest": 1.0668,
                "ball_recovery": 3.0518,
                "challenges_lost": 0.6676,
                "fouls": 0.6573,
                "fouls_drawn": 1.9512,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3909,
                "tackles_won": 0.6074,
                "tackles": 0.9785,
                "clearances": 0.168,
                "blocks": 0.148,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1729,
                "offsides": 0.1969,
                "ball_carries": 15.3247,
                "total_progression": 68.2101,
                "progressive_carries": 2.1872,
                "shots_off_target": 1.0264,
                "duel_xg_multiplier": 0.9135,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1078,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.157,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1078,
                "goal_rate": 0.121,
                "scorer_weight": 0.132,
                "squad_weight_total": 1.3832,
                "weight_share": 0.0954,
                "finishing_factor": 1.157,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.5461,
                    "already": 0,
                    "effective_weight": 0.5461,
                    "runner_up": "Andrés Martín",
                    "runner_up_effective_weight": 0.2591
                  }
                ]
              }
            },
            {
              "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.1141,
                "goal_rate": 0.121,
                "goals": 0,
                "shots_on_target": 0.5268,
                "total_shots": 1.5878,
                "expected_assists": 0.1449,
                "key_pass": 1.1869,
                "rating": 6.8266,
                "minutes": 78.14,
                "total_pass": 34.3247,
                "accurate_pass": 29.669,
                "duels_won": 4.3636,
                "total_long_balls": 1.17,
                "accurate_long_balls": 0.5096,
                "total_opp_half_passes": 20.401,
                "accurate_opp_half_passes": 16.7184,
                "crosses_total": 2.3602,
                "crosses_accurate": 0.2327,
                "touches": 52.9151,
                "possession_lost": 12.5303,
                "dispossessed": 2.5314,
                "duels_lost": 4.8989,
                "aerial_lost": 0.5343,
                "total_contest": 1.5626,
                "won_contest": 1.0668,
                "ball_recovery": 3.0518,
                "challenges_lost": 0.6676,
                "fouls": 0.6573,
                "fouls_drawn": 1.9512,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3909,
                "tackles_won": 0.6074,
                "tackles": 0.9785,
                "clearances": 0.168,
                "blocks": 0.148,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1729,
                "offsides": 0.1969,
                "ball_carries": 15.3247,
                "total_progression": 68.2101,
                "progressive_carries": 2.1872,
                "shots_off_target": 1.0264,
                "duel_xg_multiplier": 0.9135,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1078,
                "projected_assists": 0,
                "assist_probability": 0.1349,
                "finishing_factor": 1.157,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1349,
                "assist_rate": 0.0,
                "provider_weight": 0.1159,
                "squad_weight_total": 0.9828,
                "weight_share": 0.118,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.3651,
                    "already": 0,
                    "effective_weight": 0.3651,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.1384,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Andrés Martín": {
          "player_id": 922939,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 11,
          "height": 178,
          "market_value": 8199999,
          "stats": {
            "expected_goals": 0.2808,
            "goal_rate": 0.2182,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.1588,
            "key_pass": 2,
            "rating": 6.9167,
            "minutes": 79,
            "total_pass": 26,
            "accurate_pass": 20,
            "duels_won": 5,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 14,
            "crosses_total": 4,
            "crosses_accurate": 0,
            "touches": 48,
            "possession_lost": 14.4432,
            "dispossessed": 0.5614,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 4,
            "won_contest": 2,
            "ball_recovery": 5,
            "challenges_lost": 2,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 2,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.7164,
            "offsides": 1,
            "ball_carries": 15,
            "total_progression": 43,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9657,
            "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": "Leandro Cabrera, Vanja Drkušić",
            "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.2448,
            "projected_assists": 0,
            "assist_probability": 0.1468,
            "finishing_factor": 0.9226,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421078,
              "match_date": "2026-10-18",
              "home_team": "Osasuna",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 45,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0183,
                "expected_assists": 0.0471,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 29,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1201,
                "expected_assists": 0.0176,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 15,
                "accurate_pass": 12,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 59,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1443,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 14,
                "key_pass": 3,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2234,
                "expected_assists": 0.0423,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 34,
                "accurate_pass": 27,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.1338,
                "expected_assists": 0.3458,
                "total_shots": 6,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 29,
                "accurate_pass": 20,
                "key_pass": 3,
                "tackles": 3,
                "interceptions": 2,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2264,
            "combined_rank_score": 827.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 91.0,
            "sofascore_rating": 7.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1564.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9167,
            "source_file": "data/player_rankings.csv",
            "player_name": "Andrés Martín",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mikel Vesga",
                  "ranking": 2259
                },
                {
                  "player_name": "Malo Gusto",
                  "ranking": 2260
                },
                {
                  "player_name": "Aldrix Jara",
                  "ranking": 2261
                },
                {
                  "player_name": "Yehor Yarmoliuk",
                  "ranking": 2262
                },
                {
                  "player_name": "Chimy Ávila",
                  "ranking": 2263
                }
              ],
              "lower": [
                {
                  "player_name": "Brais Méndez",
                  "ranking": 2265
                },
                {
                  "player_name": "Bafodé Diakité",
                  "ranking": 2266
                },
                {
                  "player_name": "Kwasi Sibo",
                  "ranking": 2267
                },
                {
                  "player_name": "Jordan Henderson",
                  "ranking": 2268
                },
                {
                  "player_name": "Andoni Gorosabel",
                  "ranking": 2269
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.588,
          "history_matches": 5,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 5,
            "data_confidence": 0.588,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9994,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 238.0,
              "goals_per90": 0.3846153846153846,
              "assists_per90": 0.0,
              "shots_per90": 3.4,
              "shots_on_target_pct": 33.3,
              "prior_reliability": 0.1733
            },
            "rationale": "XGBoost regressor (F_service) evaluated 5 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, rel: 0.17, gls/90: 0.3846153846153846, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2494,
                "goals": 0.2194,
                "goal_rate": 0.2194,
                "shots_on_target": 0.6654,
                "total_shots": 2.0203,
                "expected_assists": 0.1362,
                "key_pass": 1.5475,
                "rating": 6.9167,
                "minutes": 78.77,
                "total_pass": 25.9874,
                "accurate_pass": 19.9806,
                "duels_won": 5.0175,
                "total_long_balls": 0.2809,
                "accurate_long_balls": 0.2809,
                "total_opp_half_passes": 18.6161,
                "accurate_opp_half_passes": 13.6093,
                "crosses_total": 3.8251,
                "crosses_accurate": 0.2809,
                "touches": 48.481,
                "possession_lost": 14.4519,
                "dispossessed": 0.5617,
                "duels_lost": 4.8581,
                "aerial_lost": 0.0,
                "total_contest": 3.7279,
                "won_contest": 1.8358,
                "ball_recovery": 4.553,
                "challenges_lost": 1.5121,
                "fouls": 0.8921,
                "fouls_drawn": 1.62,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.9504,
                "tackles_won": 0.3304,
                "tackles": 1.5617,
                "clearances": 0.3887,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6608,
                "xgot": 0.6362,
                "offsides": 0.7191,
                "ball_carries": 14.8746,
                "total_progression": 43.3071,
                "progressive_carries": 2.2313,
                "shots_off_target": 1.3549
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:07:14.441608+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 611,
                    "rows": 16533
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Osasuna",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.2696,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Valencia",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.2292,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1408,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.3946,
                  "totalOppositionHalfPasses": 15.3562,
                  "accurateOppositionHalfPasses": 11.6201,
                  "accuratePass": 16.2692,
                  "totalShots": 2.0693
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.24936732649803162,
                    "model_output": 0.2494,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2858
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0881
                      },
                      {
                        "name": "goals",
                        "importance": 0.0357
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0272
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0231
                      }
                    ],
                    "decomposition": {
                      "base": 0.1979,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0699
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0458
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0204
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0121
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0116
                        }
                      ],
                      "others": -0.0201,
                      "total": 0.2494,
                      "log_link": true,
                      "margin_base": -1.619934,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.302463
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.157922
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.067405
                        },
                        {
                          "name": "goals",
                          "margin": -0.042273
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.042169
                        }
                      ],
                      "others_margin": -0.077432
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.21942980587482452,
                    "model_output": 0.2194,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1497
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0696
                      },
                      {
                        "name": "goals",
                        "importance": 0.0577
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0307
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0286
                      }
                    ],
                    "decomposition": {
                      "base": 0.2023,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0631
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0294
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0264
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0093
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0093
                        }
                      ],
                      "others": -0.049,
                      "total": 0.2194,
                      "log_link": true,
                      "margin_base": -1.597983,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.271573
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.104966
                        },
                        {
                          "name": "goals",
                          "margin": -0.093858
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.035369
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.035108
                        }
                      ],
                      "others_margin": -0.20116
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6653748154640198,
                    "model_output": 0.6654,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2171
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0661
                      },
                      {
                        "name": "goals",
                        "importance": 0.0553
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0475
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0308
                      }
                    ],
                    "decomposition": {
                      "base": 0.5362,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1487
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0582
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0508
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0384
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0306
                        }
                      ],
                      "others": -0.0043,
                      "total": 0.6654,
                      "log_link": true,
                      "margin_base": -0.623262,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.244707
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.088855
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.077908
                        },
                        {
                          "name": "goals",
                          "margin": -0.058344
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.046745
                        }
                      ],
                      "others_margin": -0.006304
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.0202600955963135,
                    "model_output": 2.0203,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2864
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.051
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.031
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 1.3807,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4702
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1566
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0639
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0493
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0312
                        }
                      ],
                      "others": -0.033,
                      "total": 2.0203,
                      "log_link": false,
                      "margin_base": 1.380749,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.470159
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.156603
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.063905
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.049307
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.031206
                        }
                      ],
                      "others_margin": -0.033055
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.13615399599075317,
                    "model_output": 0.1362,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1157
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0645
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0607
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0558
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 0.0644,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0153
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0141
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0092
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0094
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0053
                        }
                      ],
                      "others": 0.0185,
                      "total": 0.1362,
                      "log_link": true,
                      "margin_base": -2.741965,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.212454
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.162387
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.093529
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.087796
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.046
                        }
                      ],
                      "others_margin": 0.145831
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.5474845170974731,
                    "model_output": 1.5475,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1481
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1244
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1112
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.052
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0395
                      }
                    ],
                    "decomposition": {
                      "base": 0.6805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1927
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0944
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.094
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0956
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0739
                        }
                      ],
                      "others": 0.3164,
                      "total": 1.5475,
                      "log_link": true,
                      "margin_base": -0.384987,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.249366
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.102671
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.092753
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.086252
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.061861
                        }
                      ],
                      "others_margin": 0.228715
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.916679382324219,
                    "model_output": 6.9167,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.059
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0483
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0421
                      },
                      {
                        "name": "rating",
                        "importance": 0.0418
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0415
                      }
                    ],
                    "decomposition": {
                      "base": 6.7683,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.07
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.024
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.017
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0137
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0131
                        }
                      ],
                      "others": 0.0106,
                      "total": 6.9167,
                      "log_link": false,
                      "margin_base": 6.768281,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.069967
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.023979
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.016958
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.013695
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.013146
                        }
                      ],
                      "others_margin": 0.010654
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 5,
                  "role_matches": 3,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9994, quality 0.501)",
              "stats": {
                "expected_goals": 0.2492,
                "goals": 0.2193,
                "goal_rate": 0.2193,
                "shots_on_target": 0.665,
                "total_shots": 2.0191,
                "expected_assists": 0.1361,
                "key_pass": 1.5466,
                "rating": 6.9167,
                "minutes": 78.77,
                "total_pass": 25.9718,
                "accurate_pass": 19.9686,
                "duels_won": 5.0145,
                "total_long_balls": 0.2807,
                "accurate_long_balls": 0.2807,
                "total_opp_half_passes": 18.6049,
                "accurate_opp_half_passes": 13.6011,
                "crosses_total": 3.8228,
                "crosses_accurate": 0.2807,
                "touches": 48.4519,
                "possession_lost": 14.4432,
                "dispossessed": 0.5614,
                "duels_lost": 4.8552,
                "aerial_lost": 0.0,
                "total_contest": 3.7257,
                "won_contest": 1.8347,
                "ball_recovery": 4.5503,
                "challenges_lost": 1.5112,
                "fouls": 0.8916,
                "fouls_drawn": 1.619,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.9498,
                "tackles_won": 0.3302,
                "tackles": 1.5608,
                "clearances": 0.3885,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6604,
                "xgot": 0.6358,
                "offsides": 0.7187,
                "ball_carries": 14.8657,
                "total_progression": 43.2811,
                "progressive_carries": 2.23,
                "shots_off_target": 1.3541
              },
              "params": {
                "market_value_eur": 8199999,
                "quality_factor": 0.5011,
                "boost_factor": 0.9994,
                "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.0563)",
              "stats": {
                "expected_goals": 0.2492,
                "goals": 0.2259,
                "goal_rate": 0.2259,
                "shots_on_target": 0.6832,
                "total_shots": 2.073,
                "expected_assists": 0.1361,
                "key_pass": 1.5466,
                "rating": 6.9167,
                "minutes": 78.77,
                "total_pass": 25.9718,
                "accurate_pass": 19.9686,
                "duels_won": 5.0145,
                "total_long_balls": 0.2807,
                "accurate_long_balls": 0.2807,
                "total_opp_half_passes": 18.6049,
                "accurate_opp_half_passes": 13.6011,
                "crosses_total": 3.835,
                "crosses_accurate": 0.2807,
                "touches": 48.4519,
                "possession_lost": 14.4432,
                "dispossessed": 0.5614,
                "duels_lost": 4.8552,
                "aerial_lost": 0.0,
                "total_contest": 3.7257,
                "won_contest": 1.8347,
                "ball_recovery": 4.5503,
                "challenges_lost": 1.5112,
                "fouls": 0.8983,
                "fouls_drawn": 1.6226,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.9721,
                "tackles_won": 0.3306,
                "tackles": 1.5608,
                "clearances": 0.3885,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6604,
                "xgot": 0.6358,
                "offsides": 0.7161,
                "ball_carries": 14.8657,
                "total_progression": 43.2811,
                "progressive_carries": 2.23,
                "shots_off_target": 1.3541
              },
              "params": {
                "blend_weight": 0.0563,
                "history_matches": 5,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8752,
                "prior_reliability": 0.1733,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.0191,
                  "after": 2.073
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.9498,
                  "after": 0.9721
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.665,
                  "after": 0.6832
                },
                {
                  "stat": "totalCross",
                  "before": 3.8228,
                  "after": 3.835
                },
                {
                  "stat": "fouls",
                  "before": 0.8916,
                  "after": 0.8983
                },
                {
                  "stat": "goals",
                  "before": 0.2193,
                  "after": 0.2259
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2492,
                "goals": 0.2259,
                "goal_rate": 0.2259,
                "shots_on_target": 0.6832,
                "total_shots": 2.073,
                "expected_assists": 0.1361,
                "key_pass": 1.5466,
                "rating": 6.9167,
                "minutes": 78.77,
                "total_pass": 25.9718,
                "accurate_pass": 19.9686,
                "duels_won": 5.0145,
                "total_long_balls": 0.2807,
                "accurate_long_balls": 0.2807,
                "total_opp_half_passes": 18.6049,
                "accurate_opp_half_passes": 13.6011,
                "crosses_total": 3.835,
                "crosses_accurate": 0.2807,
                "touches": 48.4519,
                "possession_lost": 14.4432,
                "dispossessed": 0.5614,
                "duels_lost": 4.8552,
                "aerial_lost": 0.0,
                "total_contest": 3.7257,
                "won_contest": 1.8347,
                "ball_recovery": 4.5503,
                "challenges_lost": 1.5112,
                "fouls": 0.8983,
                "fouls_drawn": 1.6226,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.9721,
                "tackles_won": 0.3306,
                "tackles": 1.5608,
                "clearances": 0.3885,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6604,
                "xgot": 0.6358,
                "offsides": 0.7161,
                "ball_carries": 14.8657,
                "total_progression": 43.2811,
                "progressive_carries": 2.23,
                "shots_off_target": 1.3541
              },
              "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.2407,
                "goals": 0.2182,
                "goal_rate": 0.2182,
                "shots_on_target": 0.6598,
                "total_shots": 2.0019,
                "expected_assists": 0.1361,
                "key_pass": 1.5466,
                "rating": 6.9167,
                "minutes": 78.77,
                "total_pass": 25.9718,
                "accurate_pass": 19.9686,
                "duels_won": 5.0145,
                "total_long_balls": 0.2807,
                "accurate_long_balls": 0.2807,
                "total_opp_half_passes": 18.6049,
                "accurate_opp_half_passes": 13.6011,
                "crosses_total": 3.835,
                "crosses_accurate": 0.2807,
                "touches": 48.4519,
                "possession_lost": 14.4432,
                "dispossessed": 0.5614,
                "duels_lost": 4.8552,
                "aerial_lost": 0.0,
                "total_contest": 3.7257,
                "won_contest": 1.8347,
                "ball_recovery": 4.5503,
                "challenges_lost": 1.5112,
                "fouls": 0.8983,
                "fouls_drawn": 1.6226,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.9721,
                "tackles_won": 0.3306,
                "tackles": 1.5608,
                "clearances": 0.3885,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6377,
                "xgot": 0.614,
                "offsides": 0.7161,
                "ball_carries": 14.8657,
                "total_progression": 43.2811,
                "progressive_carries": 2.23,
                "shots_off_target": 1.3077,
                "duel_xg_multiplier": 0.9657,
                "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": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                  "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.9657,
                  "skill_edge": 0.0167,
                  "height_edge": -0.04,
                  "attacker_skill": 0.5011,
                  "defender_skill": 0.464,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Leandro Cabrera",
                      "market_value": 930000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Vanja Drkušić",
                      "market_value": 5500000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4907
                    }
                  ],
                  "xg_override": 0.2407
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.073,
                  "after": 2.0019
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.3541,
                  "after": 1.3077
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6832,
                  "after": 0.6598
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.6604,
                  "after": 0.6377
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.6358,
                  "after": 0.614
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2492,
                  "after": 0.2407
                },
                {
                  "stat": "goals",
                  "before": 0.2259,
                  "after": 0.2182
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.2407,
                "goal_rate": 0.2182,
                "goals": 0,
                "shots_on_target": 0.6598,
                "total_shots": 2.0019,
                "expected_assists": 0.1361,
                "key_pass": 1.5466,
                "rating": 6.9167,
                "minutes": 78.77,
                "total_pass": 25.9718,
                "accurate_pass": 19.9686,
                "duels_won": 5.0145,
                "total_long_balls": 0.2807,
                "accurate_long_balls": 0.2807,
                "total_opp_half_passes": 18.6049,
                "accurate_opp_half_passes": 13.6011,
                "crosses_total": 3.835,
                "crosses_accurate": 0.2807,
                "touches": 48.4519,
                "possession_lost": 14.4432,
                "dispossessed": 0.5614,
                "duels_lost": 4.8552,
                "aerial_lost": 0.0,
                "total_contest": 3.7257,
                "won_contest": 1.8347,
                "ball_recovery": 4.5503,
                "challenges_lost": 1.5112,
                "fouls": 0.8983,
                "fouls_drawn": 1.6226,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.9721,
                "tackles_won": 0.3306,
                "tackles": 1.5608,
                "clearances": 0.3885,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6377,
                "xgot": 0.614,
                "offsides": 0.7161,
                "ball_carries": 14.8657,
                "total_progression": 43.2811,
                "progressive_carries": 2.23,
                "shots_off_target": 1.3077,
                "duel_xg_multiplier": 0.9657,
                "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": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.31 (squad xG sum 1.1245, xG scale 1.1667, xA scale 1.1667, team xA 0.98 = 0.74 x lambda)",
              "stats": {
                "expected_goals": 0.2808,
                "goal_rate": 0.2182,
                "goals": 0,
                "shots_on_target": 0.6598,
                "total_shots": 2.0019,
                "expected_assists": 0.1588,
                "key_pass": 1.5466,
                "rating": 6.9167,
                "minutes": 78.77,
                "total_pass": 25.9718,
                "accurate_pass": 19.9686,
                "duels_won": 5.0145,
                "total_long_balls": 0.2807,
                "accurate_long_balls": 0.2807,
                "total_opp_half_passes": 18.6049,
                "accurate_opp_half_passes": 13.6011,
                "crosses_total": 3.835,
                "crosses_accurate": 0.2807,
                "touches": 48.4519,
                "possession_lost": 14.4432,
                "dispossessed": 0.5614,
                "duels_lost": 4.8552,
                "aerial_lost": 0.0,
                "total_contest": 3.7257,
                "won_contest": 1.8347,
                "ball_recovery": 4.5503,
                "challenges_lost": 1.5112,
                "fouls": 0.8983,
                "fouls_drawn": 1.6226,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.9721,
                "tackles_won": 0.3306,
                "tackles": 1.5608,
                "clearances": 0.3885,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6377,
                "xgot": 0.7164,
                "offsides": 0.7161,
                "ball_carries": 14.8657,
                "total_progression": 43.2811,
                "progressive_carries": 2.23,
                "shots_off_target": 1.3077,
                "duel_xg_multiplier": 0.9657,
                "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": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9226,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.312,
                "squad_xg_sum": 1.1245,
                "squad_xa_sum": 0.8366,
                "team_expected_assists": 0.9761,
                "team_xa_to_xg_ratio": 0.744,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1667,
                "xa_scale": 1.1667,
                "opponent_lambda": 1.46,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2407,
                  "after": 0.2808
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1361,
                  "after": 0.1588
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 77.0)",
              "stats": {
                "expected_goals": 0.2808,
                "goal_rate": 0.2182,
                "goals": 0,
                "shots_on_target": 0.6598,
                "total_shots": 2.0019,
                "expected_assists": 0.1588,
                "key_pass": 1.5466,
                "rating": 6.9167,
                "minutes": 78.77,
                "total_pass": 25.9718,
                "accurate_pass": 19.9686,
                "duels_won": 5.0145,
                "total_long_balls": 0.2807,
                "accurate_long_balls": 0.2807,
                "total_opp_half_passes": 18.6049,
                "accurate_opp_half_passes": 13.6011,
                "crosses_total": 3.835,
                "crosses_accurate": 0.2807,
                "touches": 48.4519,
                "possession_lost": 14.4432,
                "dispossessed": 0.5614,
                "duels_lost": 4.8552,
                "aerial_lost": 0.0,
                "total_contest": 3.7257,
                "won_contest": 1.8347,
                "ball_recovery": 4.5503,
                "challenges_lost": 1.5112,
                "fouls": 0.8983,
                "fouls_drawn": 1.6226,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.9721,
                "tackles_won": 0.3306,
                "tackles": 1.5608,
                "clearances": 0.3885,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6377,
                "xgot": 0.7164,
                "offsides": 0.7161,
                "ball_carries": 14.8657,
                "total_progression": 43.2811,
                "progressive_carries": 2.23,
                "shots_off_target": 1.3077,
                "duel_xg_multiplier": 0.9657,
                "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": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9226,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2264,
                "fifa_rank": 1564.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.2808,
                "goal_rate": 0.2182,
                "goals": 0,
                "shots_on_target": 0.6598,
                "total_shots": 2.0019,
                "expected_assists": 0.1588,
                "key_pass": 1.5466,
                "rating": 6.9167,
                "minutes": 78.77,
                "total_pass": 25.9718,
                "accurate_pass": 19.9686,
                "duels_won": 5.0145,
                "total_long_balls": 0.2807,
                "accurate_long_balls": 0.2807,
                "total_opp_half_passes": 18.6049,
                "accurate_opp_half_passes": 13.6011,
                "crosses_total": 3.835,
                "crosses_accurate": 0.2807,
                "touches": 48.4519,
                "possession_lost": 14.4432,
                "dispossessed": 0.5614,
                "duels_lost": 4.8552,
                "aerial_lost": 0.0,
                "total_contest": 3.7257,
                "won_contest": 1.8347,
                "ball_recovery": 4.5503,
                "challenges_lost": 1.5112,
                "fouls": 0.8983,
                "fouls_drawn": 1.6226,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.9721,
                "tackles_won": 0.3306,
                "tackles": 1.5608,
                "clearances": 0.3885,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6377,
                "xgot": 0.7164,
                "offsides": 0.7161,
                "ball_carries": 14.8657,
                "total_progression": 43.2811,
                "progressive_carries": 2.23,
                "shots_off_target": 1.3077,
                "duel_xg_multiplier": 0.9657,
                "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": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2448,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9226,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.2448,
                "goal_rate": 0.2182,
                "scorer_weight": 0.2591,
                "squad_weight_total": 1.3832,
                "weight_share": 0.1873,
                "finishing_factor": 0.9226,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.5461,
                    "already": 0,
                    "effective_weight": 0.5461,
                    "runner_up": "Andrés Martín",
                    "runner_up_effective_weight": 0.2591
                  }
                ]
              }
            },
            {
              "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.2808,
                "goal_rate": 0.2182,
                "goals": 0,
                "shots_on_target": 0.6598,
                "total_shots": 2.0019,
                "expected_assists": 0.1588,
                "key_pass": 1.5466,
                "rating": 6.9167,
                "minutes": 78.77,
                "total_pass": 25.9718,
                "accurate_pass": 19.9686,
                "duels_won": 5.0145,
                "total_long_balls": 0.2807,
                "accurate_long_balls": 0.2807,
                "total_opp_half_passes": 18.6049,
                "accurate_opp_half_passes": 13.6011,
                "crosses_total": 3.835,
                "crosses_accurate": 0.2807,
                "touches": 48.4519,
                "possession_lost": 14.4432,
                "dispossessed": 0.5614,
                "duels_lost": 4.8552,
                "aerial_lost": 0.0,
                "total_contest": 3.7257,
                "won_contest": 1.8347,
                "ball_recovery": 4.5503,
                "challenges_lost": 1.5112,
                "fouls": 0.8983,
                "fouls_drawn": 1.6226,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.9721,
                "tackles_won": 0.3306,
                "tackles": 1.5608,
                "clearances": 0.3885,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6377,
                "xgot": 0.7164,
                "offsides": 0.7161,
                "ball_carries": 14.8657,
                "total_progression": 43.2811,
                "progressive_carries": 2.23,
                "shots_off_target": 1.3077,
                "duel_xg_multiplier": 0.9657,
                "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": "Leandro Cabrera, Vanja Drkušić",
                "opponent_faced": "Leandro Cabrera, Vanja Drkušić",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2448,
                "projected_assists": 0,
                "assist_probability": 0.1468,
                "finishing_factor": 0.9226,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1468,
                "assist_rate": 0.0,
                "provider_weight": 0.127,
                "squad_weight_total": 0.9828,
                "weight_share": 0.1293,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.3651,
                    "already": 0,
                    "effective_weight": 0.3651,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.1384,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Iván Martín": {
          "player_id": 973699,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 23,
          "height": 178,
          "market_value": 2700000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0828,
            "assist_rate": 0.0712,
            "assists": 0,
            "expected_goals": 0.052,
            "goal_rate": 0.0682,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9687,
            "minutes": 85,
            "total_pass": 55,
            "accurate_pass": 48,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 23,
            "accurate_own_half_passes": 21,
            "total_opp_half_passes": 32,
            "accurate_opp_half_passes": 27,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 68,
            "possession_lost": 10.8573,
            "dispossessed": 1.0587,
            "duels_lost": 5,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0779,
            "ball_carries": 24,
            "total_progression": 91,
            "progressive_carries": 2,
            "shots_off_target": 0,
            "opponent_faced": "Edu Expósito, Pol Lozano, Javier Hernández",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "antagonist_source": "defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0507,
            "projected_assists": 0,
            "assist_probability": 0.0795,
            "finishing_factor": 1.2495,
            "creation_factor": 1.0017,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421078,
              "match_date": "2026-10-18",
              "home_team": "Osasuna",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 83,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0218,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 41,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0641,
                "expected_assists": 0.0881,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 74,
                "accurate_pass": 68,
                "key_pass": 1,
                "interceptions": 1,
                "aerial_won": 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": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 84,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0661,
                "total_shots": 0,
                "total_pass": 65,
                "accurate_pass": 57,
                "key_pass": 1,
                "tackles": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0148,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 52,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 2,
                "clearances": 2,
                "duels_won": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0301,
                "total_shots": 0,
                "total_pass": 61,
                "accurate_pass": 52,
                "tackles": 6,
                "tackles_won": 3,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0539,
                "expected_assists": 0.0168,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 43,
                "accurate_pass": 39,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.008,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 19,
                "tackles": 5,
                "tackles_won": 3,
                "duels_won": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083743,
              "match_date": "2026-05-23",
              "home_team": "Girona FC",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Girona FC",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0603,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 45,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083661,
              "match_date": "2026-05-17",
              "home_team": "Atlético Madrid",
              "away_team": "Girona FC",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Girona FC",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0261,
                "expected_assists": 0.0449,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 56,
                "accurate_pass": 54,
                "key_pass": 1,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Girona FC",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 57,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.5242,
                "total_shots": 0,
                "total_pass": 58,
                "accurate_pass": 57,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2964,
            "combined_rank_score": 988.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 391.0,
            "sofascore_rating": 6.95,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1585.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9687,
            "source_file": "data/player_rankings.csv",
            "player_name": "Iván Martín",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Aschraf El Mahdioui",
                  "ranking": 2959
                },
                {
                  "player_name": "Ethan Jolley",
                  "ranking": 2960
                },
                {
                  "player_name": "Malang Sarr",
                  "ranking": 2961
                },
                {
                  "player_name": "Giacomo Benvenuti",
                  "ranking": 2962
                },
                {
                  "player_name": "Aron Sele",
                  "ranking": 2963
                }
              ],
              "lower": [
                {
                  "player_name": "Marcello Mularoni",
                  "ranking": 2965
                },
                {
                  "player_name": "Rafael Arace",
                  "ranking": 2966
                },
                {
                  "player_name": "Rodrigo Holgado",
                  "ranking": 2967
                },
                {
                  "player_name": "Gabriel Mentz",
                  "ranking": 2968
                },
                {
                  "player_name": "Maksudkhodzha  Alokhodzhaev",
                  "ranking": 2969
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.765,
          "history_matches": 42,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 42,
            "data_confidence": 0.765,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9978,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "minutes": 135.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.67,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1
            },
            "rationale": "XGBoost regressor (M_service) evaluated 42 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, rel: 0.10, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.7726,
                "expected_assists": 0.0712,
                "assists": 0.0719,
                "assist_rate": 0.0719,
                "expected_goals": 0.0447,
                "goals": 0.0689,
                "goal_rate": 0.0689,
                "shots_on_target": 0.2317,
                "total_shots": 0.6817,
                "rating": 6.9687,
                "minutes": 85.17,
                "total_pass": 54.8779,
                "accurate_pass": 48.4088,
                "duels_won": 4.4997,
                "total_long_balls": 2.3117,
                "accurate_long_balls": 1.202,
                "total_own_half_passes": 23.0726,
                "accurate_own_half_passes": 21.278,
                "total_opp_half_passes": 31.8053,
                "accurate_opp_half_passes": 27.1308,
                "crosses_total": 0.3337,
                "crosses_accurate": 0.1073,
                "touches": 68.4482,
                "possession_lost": 10.8812,
                "dispossessed": 1.061,
                "duels_lost": 4.7212,
                "aerial_won": 0.9146,
                "aerial_lost": 0.9503,
                "interceptions": 0.3341,
                "tackles_won": 0.9714,
                "tackles": 1.8502,
                "clearances": 0.9376,
                "total_contest": 1.8867,
                "won_contest": 0.8529,
                "challenges_lost": 0.4467,
                "fouls": 1.4452,
                "fouls_drawn": 0.882,
                "blocks": 0.2809,
                "big_chances_created": 0.0703,
                "big_chances_missed": 0.0122,
                "xgot": 0.0669,
                "ball_carries": 24.4408,
                "total_progression": 91.0181,
                "progressive_carries": 2.0149,
                "shots_off_target": 0.45
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-24T10:06:41.574598+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 903,
                    "rows": 24475
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Osasuna",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0566,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Real Sociedad",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "creative_index": 0.3318,
                  "totalShots": 0.3248,
                  "expectedGoals": 0.0171,
                  "expectedAssists": 0.0604,
                  "onTargetScoringAttempt": 0.1706
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7725573182106018,
                    "model_output": 0.7726,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1647
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1377
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0663
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0524
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0316
                      }
                    ],
                    "decomposition": {
                      "base": 0.8945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1141
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0766
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.05
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0461
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0458
                        }
                      ],
                      "others": -0.1097,
                      "total": 0.7726,
                      "log_link": true,
                      "margin_base": -0.111507,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.120008
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.078951
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.055146
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.050984
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.050633
                        }
                      ],
                      "others_margin": -0.132805
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07115806639194489,
                    "model_output": 0.0712,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1545
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1048
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1021
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0472
                      }
                    ],
                    "decomposition": {
                      "base": 0.0859,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0129
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0111
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0079
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0035
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0032
                        }
                      ],
                      "others": 0.0017,
                      "total": 0.0712,
                      "log_link": true,
                      "margin_base": -2.454719,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.163036
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.141221
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.099337
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.047634
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.044852
                        }
                      ],
                      "others_margin": 0.025506
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07190179079771042,
                    "model_output": 0.0719,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0619
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0395
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0343
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 0.0874,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.01
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0074
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0052
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0045
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0035
                        }
                      ],
                      "others": -0.0171,
                      "total": 0.0719,
                      "log_link": true,
                      "margin_base": -2.437263,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.121985
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.090789
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.059408
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.05162
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.039616
                        }
                      ],
                      "others_margin": -0.2114
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04469385743141174,
                    "model_output": 0.0447,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.134
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.074
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0705
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.039
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0273
                      }
                    ],
                    "decomposition": {
                      "base": 0.094,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0359
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0099
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0071
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0026
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0017
                        }
                      ],
                      "others": -0.0063,
                      "total": 0.0447,
                      "log_link": true,
                      "margin_base": -2.364919,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.481739
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.187097
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.137785
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.047892
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.033694
                        }
                      ],
                      "others_margin": -0.130362
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06886836886405945,
                    "model_output": 0.0689,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0974
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0527
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0513
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0365
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0993,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0237
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0133
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.009
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0098
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.007
                        }
                      ],
                      "others": -0.0052,
                      "total": 0.0689,
                      "log_link": true,
                      "margin_base": -2.309444,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.272207
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.194105
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.134401
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.128625
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.08991
                        }
                      ],
                      "others_margin": -0.07292
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2316855490207672,
                    "model_output": 0.2317,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1106
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0885
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0762
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0292
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.326,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0807
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0458
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0313
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0181
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0146
                        }
                      ],
                      "others": -0.0026,
                      "total": 0.2317,
                      "log_link": true,
                      "margin_base": -1.120773,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.284312
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.206709
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.145694
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.075367
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.06032
                        }
                      ],
                      "others_margin": -0.011322
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6816413402557373,
                    "model_output": 0.6816,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1261
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1167
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0633
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0419
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.9969,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2764
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1276
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0491
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0461
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0336
                        }
                      ],
                      "others": -0.0377,
                      "total": 0.6816,
                      "log_link": false,
                      "margin_base": 0.996896,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.27637
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.127561
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.049062
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.046119
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.033618
                        }
                      ],
                      "others_margin": -0.037646
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.968682765960693,
                    "model_output": 6.9687,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0947
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0836
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0491
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0438
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.036
                      }
                    ],
                    "decomposition": {
                      "base": 6.8561,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0771
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0312
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0217
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0187
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0184
                        }
                      ],
                      "others": -0.0171,
                      "total": 6.9687,
                      "log_link": false,
                      "margin_base": 6.856052,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.077137
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.031246
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.021741
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.01865
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.018428
                        }
                      ],
                      "others_margin": -0.017271
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 42,
                  "role_matches": 35,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9978, quality 0.437)",
              "stats": {
                "key_pass": 0.7709,
                "expected_assists": 0.071,
                "assists": 0.0717,
                "assist_rate": 0.0717,
                "expected_goals": 0.0446,
                "goals": 0.0687,
                "goal_rate": 0.0687,
                "shots_on_target": 0.2312,
                "total_shots": 0.6802,
                "rating": 6.9687,
                "minutes": 85.17,
                "total_pass": 54.7572,
                "accurate_pass": 48.3023,
                "duels_won": 4.4898,
                "total_long_balls": 2.3066,
                "accurate_long_balls": 1.1994,
                "total_own_half_passes": 23.0218,
                "accurate_own_half_passes": 21.2312,
                "total_opp_half_passes": 31.7353,
                "accurate_opp_half_passes": 27.0711,
                "crosses_total": 0.333,
                "crosses_accurate": 0.1071,
                "touches": 68.2976,
                "possession_lost": 10.8573,
                "dispossessed": 1.0587,
                "duels_lost": 4.7108,
                "aerial_won": 0.9126,
                "aerial_lost": 0.9482,
                "interceptions": 0.3334,
                "tackles_won": 0.9693,
                "tackles": 1.8461,
                "clearances": 0.9355,
                "total_contest": 1.8825,
                "won_contest": 0.851,
                "challenges_lost": 0.4457,
                "fouls": 1.442,
                "fouls_drawn": 0.8801,
                "blocks": 0.2803,
                "big_chances_created": 0.0701,
                "big_chances_missed": 0.0122,
                "xgot": 0.0668,
                "ball_carries": 24.387,
                "total_progression": 90.8179,
                "progressive_carries": 2.0105,
                "shots_off_target": 0.449
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9978,
                "reference_quality": 0.505,
                "history_matches": 42,
                "history_shrink": 0.1064,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0069)",
              "stats": {
                "key_pass": 0.7709,
                "expected_assists": 0.071,
                "assists": 0.0712,
                "assist_rate": 0.0712,
                "expected_goals": 0.0446,
                "goals": 0.0682,
                "goal_rate": 0.0682,
                "shots_on_target": 0.2296,
                "total_shots": 0.6799,
                "rating": 6.9687,
                "minutes": 85.17,
                "total_pass": 54.7572,
                "accurate_pass": 48.3023,
                "duels_won": 4.4898,
                "total_long_balls": 2.3066,
                "accurate_long_balls": 1.1994,
                "total_own_half_passes": 23.0218,
                "accurate_own_half_passes": 21.2312,
                "total_opp_half_passes": 31.7353,
                "accurate_opp_half_passes": 27.0711,
                "crosses_total": 0.3394,
                "crosses_accurate": 0.1071,
                "touches": 68.2976,
                "possession_lost": 10.8573,
                "dispossessed": 1.0587,
                "duels_lost": 4.7108,
                "aerial_won": 0.9126,
                "aerial_lost": 0.9482,
                "interceptions": 0.3311,
                "tackles_won": 0.98,
                "tackles": 1.8461,
                "clearances": 0.9355,
                "total_contest": 1.8825,
                "won_contest": 0.851,
                "challenges_lost": 0.4457,
                "fouls": 1.4408,
                "fouls_drawn": 0.8827,
                "blocks": 0.2803,
                "big_chances_created": 0.0701,
                "big_chances_missed": 0.0122,
                "xgot": 0.0668,
                "ball_carries": 24.387,
                "total_progression": 90.8179,
                "progressive_carries": 2.0105,
                "shots_off_target": 0.449
              },
              "params": {
                "blend_weight": 0.0069,
                "history_matches": 42,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9463,
                "prior_reliability": 0.1,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.9693,
                  "after": 0.98
                },
                {
                  "stat": "totalCross",
                  "before": 0.333,
                  "after": 0.3394
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.7709,
                "expected_assists": 0.071,
                "assists": 0.0712,
                "assist_rate": 0.0712,
                "expected_goals": 0.0446,
                "goals": 0.0682,
                "goal_rate": 0.0682,
                "shots_on_target": 0.2296,
                "total_shots": 0.6799,
                "rating": 6.9687,
                "minutes": 85.17,
                "total_pass": 54.7572,
                "accurate_pass": 48.3023,
                "duels_won": 4.4898,
                "total_long_balls": 2.3066,
                "accurate_long_balls": 1.1994,
                "total_own_half_passes": 23.0218,
                "accurate_own_half_passes": 21.2312,
                "total_opp_half_passes": 31.7353,
                "accurate_opp_half_passes": 27.0711,
                "crosses_total": 0.3394,
                "crosses_accurate": 0.1071,
                "touches": 68.2976,
                "possession_lost": 10.8573,
                "dispossessed": 1.0587,
                "duels_lost": 4.7108,
                "aerial_won": 0.9126,
                "aerial_lost": 0.9482,
                "interceptions": 0.3311,
                "tackles_won": 0.98,
                "tackles": 1.8461,
                "clearances": 0.9355,
                "total_contest": 1.8825,
                "won_contest": 0.851,
                "challenges_lost": 0.4457,
                "fouls": 1.4408,
                "fouls_drawn": 0.8827,
                "blocks": 0.2803,
                "big_chances_created": 0.0701,
                "big_chances_missed": 0.0122,
                "xgot": 0.0668,
                "ball_carries": 24.387,
                "total_progression": 90.8179,
                "progressive_carries": 2.0105,
                "shots_off_target": 0.449
              },
              "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.7709,
                "expected_assists": 0.071,
                "assists": 0.0712,
                "assist_rate": 0.0712,
                "expected_goals": 0.0446,
                "goals": 0.0682,
                "goal_rate": 0.0682,
                "shots_on_target": 0.2296,
                "total_shots": 0.6799,
                "rating": 6.9687,
                "minutes": 85.17,
                "total_pass": 54.7572,
                "accurate_pass": 48.3023,
                "duels_won": 4.4898,
                "total_long_balls": 2.3066,
                "accurate_long_balls": 1.1994,
                "total_own_half_passes": 23.0218,
                "accurate_own_half_passes": 21.2312,
                "total_opp_half_passes": 31.7353,
                "accurate_opp_half_passes": 27.0711,
                "crosses_total": 0.3394,
                "crosses_accurate": 0.1071,
                "touches": 68.2976,
                "possession_lost": 10.8573,
                "dispossessed": 1.0587,
                "duels_lost": 4.7108,
                "aerial_won": 0.9126,
                "aerial_lost": 0.9482,
                "interceptions": 0.3311,
                "tackles_won": 0.98,
                "tackles": 1.8461,
                "clearances": 0.9355,
                "total_contest": 1.8825,
                "won_contest": 0.851,
                "challenges_lost": 0.4457,
                "fouls": 1.4408,
                "fouls_drawn": 0.8827,
                "blocks": 0.2803,
                "big_chances_created": 0.0701,
                "big_chances_missed": 0.0122,
                "xgot": 0.0668,
                "ball_carries": 24.387,
                "total_progression": 90.8179,
                "progressive_carries": 2.0105,
                "shots_off_target": 0.449,
                "opponent_faced": "Edu Expósito, Pol Lozano, Javier Hernández",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Edu Expósito, Pol Lozano, Javier Hernández",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.7709,
                "expected_assists": 0.071,
                "assist_rate": 0.0712,
                "assists": 0,
                "expected_goals": 0.0446,
                "goal_rate": 0.0682,
                "goals": 0,
                "shots_on_target": 0.2296,
                "total_shots": 0.6799,
                "rating": 6.9687,
                "minutes": 85.17,
                "total_pass": 54.7572,
                "accurate_pass": 48.3023,
                "duels_won": 4.4898,
                "total_long_balls": 2.3066,
                "accurate_long_balls": 1.1994,
                "total_own_half_passes": 23.0218,
                "accurate_own_half_passes": 21.2312,
                "total_opp_half_passes": 31.7353,
                "accurate_opp_half_passes": 27.0711,
                "crosses_total": 0.3394,
                "crosses_accurate": 0.1071,
                "touches": 68.2976,
                "possession_lost": 10.8573,
                "dispossessed": 1.0587,
                "duels_lost": 4.7108,
                "aerial_won": 0.9126,
                "aerial_lost": 0.9482,
                "interceptions": 0.3311,
                "tackles_won": 0.98,
                "tackles": 1.8461,
                "clearances": 0.9355,
                "total_contest": 1.8825,
                "won_contest": 0.851,
                "challenges_lost": 0.4457,
                "fouls": 1.4408,
                "fouls_drawn": 0.8827,
                "blocks": 0.2803,
                "big_chances_created": 0.0701,
                "big_chances_missed": 0.0122,
                "xgot": 0.0668,
                "ball_carries": 24.387,
                "total_progression": 90.8179,
                "progressive_carries": 2.0105,
                "shots_off_target": 0.449,
                "opponent_faced": "Edu Expósito, Pol Lozano, Javier Hernández",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.31 (squad xG sum 1.1245, xG scale 1.1667, xA scale 1.1667, team xA 0.98 = 0.74 x lambda)",
              "stats": {
                "key_pass": 0.7709,
                "expected_assists": 0.0828,
                "assist_rate": 0.0712,
                "assists": 0,
                "expected_goals": 0.052,
                "goal_rate": 0.0682,
                "goals": 0,
                "shots_on_target": 0.2296,
                "total_shots": 0.6799,
                "rating": 6.9687,
                "minutes": 85.17,
                "total_pass": 54.7572,
                "accurate_pass": 48.3023,
                "duels_won": 4.4898,
                "total_long_balls": 2.3066,
                "accurate_long_balls": 1.1994,
                "total_own_half_passes": 23.0218,
                "accurate_own_half_passes": 21.2312,
                "total_opp_half_passes": 31.7353,
                "accurate_opp_half_passes": 27.0711,
                "crosses_total": 0.3394,
                "crosses_accurate": 0.1071,
                "touches": 68.2976,
                "possession_lost": 10.8573,
                "dispossessed": 1.0587,
                "duels_lost": 4.7108,
                "aerial_won": 0.9126,
                "aerial_lost": 0.9482,
                "interceptions": 0.3311,
                "tackles_won": 0.98,
                "tackles": 1.8461,
                "clearances": 0.9355,
                "total_contest": 1.8825,
                "won_contest": 0.851,
                "challenges_lost": 0.4457,
                "fouls": 1.4408,
                "fouls_drawn": 0.8827,
                "blocks": 0.2803,
                "big_chances_created": 0.0701,
                "big_chances_missed": 0.0122,
                "xgot": 0.0779,
                "ball_carries": 24.387,
                "total_progression": 90.8179,
                "progressive_carries": 2.0105,
                "shots_off_target": 0.449,
                "opponent_faced": "Edu Expósito, Pol Lozano, Javier Hernández",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2495,
                "creation_factor": 1.0017
              },
              "params": {
                "team_lambda": 1.312,
                "squad_xg_sum": 1.1245,
                "squad_xa_sum": 0.8366,
                "team_expected_assists": 0.9761,
                "team_xa_to_xg_ratio": 0.744,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1667,
                "xa_scale": 1.1667,
                "opponent_lambda": 1.46,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0446,
                  "after": 0.052
                },
                {
                  "stat": "expected_assists",
                  "before": 0.071,
                  "after": 0.0828
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 4 by projected rating, fifa_overall 77.0)",
              "stats": {
                "key_pass": 0.7709,
                "expected_assists": 0.0828,
                "assist_rate": 0.0712,
                "assists": 0,
                "expected_goals": 0.052,
                "goal_rate": 0.0682,
                "goals": 0,
                "shots_on_target": 0.2296,
                "total_shots": 0.6799,
                "rating": 6.9687,
                "minutes": 85.17,
                "total_pass": 54.7572,
                "accurate_pass": 48.3023,
                "duels_won": 4.4898,
                "total_long_balls": 2.3066,
                "accurate_long_balls": 1.1994,
                "total_own_half_passes": 23.0218,
                "accurate_own_half_passes": 21.2312,
                "total_opp_half_passes": 31.7353,
                "accurate_opp_half_passes": 27.0711,
                "crosses_total": 0.3394,
                "crosses_accurate": 0.1071,
                "touches": 68.2976,
                "possession_lost": 10.8573,
                "dispossessed": 1.0587,
                "duels_lost": 4.7108,
                "aerial_won": 0.9126,
                "aerial_lost": 0.9482,
                "interceptions": 0.3311,
                "tackles_won": 0.98,
                "tackles": 1.8461,
                "clearances": 0.9355,
                "total_contest": 1.8825,
                "won_contest": 0.851,
                "challenges_lost": 0.4457,
                "fouls": 1.4408,
                "fouls_drawn": 0.8827,
                "blocks": 0.2803,
                "big_chances_created": 0.0701,
                "big_chances_missed": 0.0122,
                "xgot": 0.0779,
                "ball_carries": 24.387,
                "total_progression": 90.8179,
                "progressive_carries": 2.0105,
                "shots_off_target": 0.449,
                "opponent_faced": "Edu Expósito, Pol Lozano, Javier Hernández",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2495,
                "creation_factor": 1.0017,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2964,
                "fifa_rank": 1585.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.7709,
                "expected_assists": 0.0828,
                "assist_rate": 0.0712,
                "assists": 0,
                "expected_goals": 0.052,
                "goal_rate": 0.0682,
                "goals": 0,
                "shots_on_target": 0.2296,
                "total_shots": 0.6799,
                "rating": 6.9687,
                "minutes": 85.17,
                "total_pass": 54.7572,
                "accurate_pass": 48.3023,
                "duels_won": 4.4898,
                "total_long_balls": 2.3066,
                "accurate_long_balls": 1.1994,
                "total_own_half_passes": 23.0218,
                "accurate_own_half_passes": 21.2312,
                "total_opp_half_passes": 31.7353,
                "accurate_opp_half_passes": 27.0711,
                "crosses_total": 0.3394,
                "crosses_accurate": 0.1071,
                "touches": 68.2976,
                "possession_lost": 10.8573,
                "dispossessed": 1.0587,
                "duels_lost": 4.7108,
                "aerial_won": 0.9126,
                "aerial_lost": 0.9482,
                "interceptions": 0.3311,
                "tackles_won": 0.98,
                "tackles": 1.8461,
                "clearances": 0.9355,
                "total_contest": 1.8825,
                "won_contest": 0.851,
                "challenges_lost": 0.4457,
                "fouls": 1.4408,
                "fouls_drawn": 0.8827,
                "blocks": 0.2803,
                "big_chances_created": 0.0701,
                "big_chances_missed": 0.0122,
                "xgot": 0.0779,
                "ball_carries": 24.387,
                "total_progression": 90.8179,
                "progressive_carries": 2.0105,
                "shots_off_target": 0.449,
                "opponent_faced": "Edu Expósito, Pol Lozano, Javier Hernández",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0507,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2495,
                "creation_factor": 1.0017,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0507,
                "goal_rate": 0.0682,
                "scorer_weight": 0.065,
                "squad_weight_total": 1.3832,
                "weight_share": 0.047,
                "finishing_factor": 1.2495,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.5461,
                    "already": 0,
                    "effective_weight": 0.5461,
                    "runner_up": "Andrés Martín",
                    "runner_up_effective_weight": 0.2591
                  }
                ]
              }
            },
            {
              "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.7709,
                "expected_assists": 0.0828,
                "assist_rate": 0.0712,
                "assists": 0,
                "expected_goals": 0.052,
                "goal_rate": 0.0682,
                "goals": 0,
                "shots_on_target": 0.2296,
                "total_shots": 0.6799,
                "rating": 6.9687,
                "minutes": 85.17,
                "total_pass": 54.7572,
                "accurate_pass": 48.3023,
                "duels_won": 4.4898,
                "total_long_balls": 2.3066,
                "accurate_long_balls": 1.1994,
                "total_own_half_passes": 23.0218,
                "accurate_own_half_passes": 21.2312,
                "total_opp_half_passes": 31.7353,
                "accurate_opp_half_passes": 27.0711,
                "crosses_total": 0.3394,
                "crosses_accurate": 0.1071,
                "touches": 68.2976,
                "possession_lost": 10.8573,
                "dispossessed": 1.0587,
                "duels_lost": 4.7108,
                "aerial_won": 0.9126,
                "aerial_lost": 0.9482,
                "interceptions": 0.3311,
                "tackles_won": 0.98,
                "tackles": 1.8461,
                "clearances": 0.9355,
                "total_contest": 1.8825,
                "won_contest": 0.851,
                "challenges_lost": 0.4457,
                "fouls": 1.4408,
                "fouls_drawn": 0.8827,
                "blocks": 0.2803,
                "big_chances_created": 0.0701,
                "big_chances_missed": 0.0122,
                "xgot": 0.0779,
                "ball_carries": 24.387,
                "total_progression": 90.8179,
                "progressive_carries": 2.0105,
                "shots_off_target": 0.449,
                "opponent_faced": "Edu Expósito, Pol Lozano, Javier Hernández",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0507,
                "projected_assists": 0,
                "assist_probability": 0.0795,
                "finishing_factor": 1.2495,
                "creation_factor": 1.0017,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0795,
                "assist_rate": 0.0712,
                "provider_weight": 0.0829,
                "squad_weight_total": 0.9828,
                "weight_share": 0.0844,
                "creation_factor": 1.0017,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.3651,
                    "already": 0,
                    "effective_weight": 0.3651,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.1384,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Jorge Salinas": {
          "player_id": 1861680,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 17,
          "height": 181,
          "market_value": 8500000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 6.7054,
            "minutes": 89,
            "total_pass": 38,
            "accurate_pass": 30,
            "duels_won": 7,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 15,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 14,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 64,
            "possession_lost": 13.6329,
            "dispossessed": 0.6274,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 0,
            "ball_recovery": 6,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.1207,
            "assists": 0,
            "expected_goals": 0.0558,
            "expected_assists": 0.133,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0368,
            "ball_carries": 13,
            "total_progression": 38,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.8,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.4,
            "defensive_success_rate": 0.654,
            "opponent_faced": "Omar El Hilali",
            "pressing_zone": "RWB vs LW + LB",
            "matchup_zone": "RWB vs LW + LB",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0543,
            "projected_assists": 0,
            "assist_probability": 0.1245,
            "finishing_factor": 0.8,
            "creation_factor": 1.0409,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16421078,
              "match_date": "2026-10-18",
              "home_team": "Osasuna",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 83,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 14,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 5,
                "aerial_won": 2,
                "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": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1169,
                "expected_assists": 0.0144,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 51,
                "accurate_pass": 40,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 2,
                "aerial_won": 4,
                "duels_won": 8,
                "ball_recovery": 10
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0518,
                "expected_assists": 0.0129,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 67,
                "accurate_pass": 58,
                "tackles": 3,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 8,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "interceptions": 1,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.6717,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 27,
                "key_pass": 2,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 3,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 9,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0077,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 20,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 7,
                "aerial_won": 2,
                "duels_won": 8,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2144,
                "expected_assists": 0.0116,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 22,
                "accurate_pass": 16,
                "tackles": 5,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "duels_won": 8,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.173,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 25,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1301,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 31,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 9,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4331,
            "combined_rank_score": 2343.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 4242.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7054,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jorge Salinas",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Roberto Piccoli",
                  "ranking": 4326
                },
                {
                  "player_name": "Thijs Dallinga",
                  "ranking": 4327
                },
                {
                  "player_name": "Abel Hernández",
                  "ranking": 4328
                },
                {
                  "player_name": "Enrico Delprato",
                  "ranking": 4329
                },
                {
                  "player_name": "Hans Nicolussi Caviglia",
                  "ranking": 4330
                }
              ],
              "lower": [
                {
                  "player_name": "Ivan Ilić",
                  "ranking": 4332
                },
                {
                  "player_name": "Emanuele Valeri",
                  "ranking": 4333
                },
                {
                  "player_name": "Devyne Rensch",
                  "ranking": 4334
                },
                {
                  "player_name": "Fabiano Parisi",
                  "ranking": 4335
                },
                {
                  "player_name": "Mandela Keita",
                  "ranking": 4336
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 9,
          "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": 9,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.33,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 9 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.3402,
                "tackles": 2.2809,
                "tackles_won": 1.3424,
                "clearances": 4.348,
                "aerial_won": 1.6799,
                "total_shots": 0.5731,
                "rating": 6.7054,
                "minutes": 88.85,
                "total_pass": 37.5243,
                "accurate_pass": 29.5651,
                "duels_won": 7.3269,
                "total_long_balls": 2.6067,
                "accurate_long_balls": 0.6195,
                "total_own_half_passes": 19.9774,
                "accurate_own_half_passes": 15.2559,
                "total_opp_half_passes": 17.5469,
                "accurate_opp_half_passes": 14.3092,
                "crosses_total": 1.4693,
                "crosses_accurate": 0.0778,
                "touches": 64.3733,
                "possession_lost": 13.6329,
                "dispossessed": 0.6274,
                "duels_lost": 5.0233,
                "aerial_lost": 0.9901,
                "total_contest": 1.5589,
                "won_contest": 0.2705,
                "ball_recovery": 5.6534,
                "challenges_lost": 0.7258,
                "fouls": 1.3915,
                "fouls_drawn": 1.7542,
                "blocks": 0.2532,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1266,
                "assist_rate": 0.1266,
                "expected_goals": 0.0478,
                "expected_assists": 0.114,
                "shots_on_target": 0.2405,
                "big_chances_created": 0.1266,
                "xgot": 0.0315,
                "ball_carries": 12.5729,
                "total_progression": 38.1142,
                "progressive_carries": 0.7158,
                "key_pass": 0.4946,
                "shots_off_target": 0.3326
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:05:47.447103+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 626,
                    "rows": 21426
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Osasuna",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.1952,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1659,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.141,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1199,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1019,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0866,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0736,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0626,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0532,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.8323,
                  "aerialWon": 2.194,
                  "totalClearance_p90": 5.1435,
                  "totalTackle": 2.6295,
                  "defensive_actions": 4.2855
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.340168833732605,
                    "model_output": 1.3402,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2909
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0422
                      },
                      {
                        "name": "touches",
                        "importance": 0.0304
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0294
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.8603,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1053
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0976
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0548
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0394
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0204
                        }
                      ],
                      "others": 0.1624,
                      "total": 1.3402,
                      "log_link": true,
                      "margin_base": -0.150447,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.115512
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.096298
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.050278
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.034623
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.017501
                        }
                      ],
                      "others_margin": 0.129029
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.2809276580810547,
                    "model_output": 2.2809,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2494
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0709
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0459
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0405
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 1.3831,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2183
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1224
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1293
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.1022
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0979
                        }
                      ],
                      "others": 0.2277,
                      "total": 2.2809,
                      "log_link": true,
                      "margin_base": 0.324299,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.146567
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.073667
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.072354
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.053684
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.048837
                        }
                      ],
                      "others_margin": 0.105174
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.3424184322357178,
                    "model_output": 1.3424,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2138
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0741
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0462
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0368
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0292
                      }
                    ],
                    "decomposition": {
                      "base": 0.845,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1359
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0988
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0805
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0525
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0353
                        }
                      ],
                      "others": 0.0944,
                      "total": 1.3424,
                      "log_link": true,
                      "margin_base": -0.168402,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.149158
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.095971
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.071922
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.044266
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.028726
                        }
                      ],
                      "others_margin": 0.072832
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.347994327545166,
                    "model_output": 4.348,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2886
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0929
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0369
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.02
                      }
                    ],
                    "decomposition": {
                      "base": 3.4251,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4862
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.333
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2549
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.1794
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1536
                        }
                      ],
                      "others": -0.1254,
                      "total": 4.348,
                      "log_link": true,
                      "margin_base": 1.231123,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.132734
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.081714
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.058315
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.040683
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.034937
                        }
                      ],
                      "others_margin": -0.028425
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.6798627376556396,
                    "model_output": 1.6799,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1614
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1578
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0791
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 1.3852,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.2494
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1925
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1044
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0913
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0665
                        }
                      ],
                      "others": -0.0938,
                      "total": 1.6799,
                      "log_link": true,
                      "margin_base": 0.325816,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.165586
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.111339
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.055566
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.048432
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.036799
                        }
                      ],
                      "others_margin": -0.054363
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5730934739112854,
                    "model_output": 0.5731,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0997
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0736
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.034
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0332
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.4749,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.062
                        },
                        {
                          "name": "rating",
                          "contribution": -0.04
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0367
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.016
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.015
                        }
                      ],
                      "others": 0.0085,
                      "total": 0.5731,
                      "log_link": false,
                      "margin_base": 0.47494,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.061959
                        },
                        {
                          "name": "rating",
                          "margin": -0.039969
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.03668
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.015967
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.015018
                        }
                      ],
                      "others_margin": 0.008498
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.705353736877441,
                    "model_output": 6.7054,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0694
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0576
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.055
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.7904,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0233
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0206
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0136
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0123
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0101
                        }
                      ],
                      "others": -0.0665,
                      "total": 6.7054,
                      "log_link": false,
                      "margin_base": 6.790384,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.023318
                        },
                        {
                          "name": "touches",
                          "margin": 0.020572
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013568
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.012273
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.010142
                        }
                      ],
                      "others_margin": -0.066585
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 9,
                  "role_matches": 8,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0000, quality 0.505)",
              "stats": {
                "interceptions": 1.3402,
                "tackles": 2.2809,
                "tackles_won": 1.3424,
                "clearances": 4.348,
                "aerial_won": 1.6799,
                "total_shots": 0.5731,
                "rating": 6.7054,
                "minutes": 88.85,
                "total_pass": 37.5243,
                "accurate_pass": 29.5651,
                "duels_won": 7.3269,
                "total_long_balls": 2.6067,
                "accurate_long_balls": 0.6195,
                "total_own_half_passes": 19.9774,
                "accurate_own_half_passes": 15.2559,
                "total_opp_half_passes": 17.5469,
                "accurate_opp_half_passes": 14.3092,
                "crosses_total": 1.4693,
                "crosses_accurate": 0.0778,
                "touches": 64.3733,
                "possession_lost": 13.6329,
                "dispossessed": 0.6274,
                "duels_lost": 5.0233,
                "aerial_lost": 0.9901,
                "total_contest": 1.5589,
                "won_contest": 0.2705,
                "ball_recovery": 5.6534,
                "challenges_lost": 0.7258,
                "fouls": 1.3915,
                "fouls_drawn": 1.7542,
                "blocks": 0.2532,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1266,
                "assist_rate": 0.1266,
                "expected_goals": 0.0478,
                "expected_assists": 0.114,
                "shots_on_target": 0.2405,
                "big_chances_created": 0.1266,
                "xgot": 0.0315,
                "ball_carries": 12.5729,
                "total_progression": 38.1142,
                "progressive_carries": 0.7158,
                "key_pass": 0.4946,
                "shots_off_target": 0.3326
              },
              "params": {
                "market_value_eur": 8500000,
                "quality_factor": 0.5047,
                "boost_factor": 1.0,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0464)",
              "stats": {
                "interceptions": 1.3238,
                "tackles": 2.2809,
                "tackles_won": 1.3412,
                "clearances": 4.348,
                "aerial_won": 1.6799,
                "total_shots": 0.5616,
                "rating": 6.7054,
                "minutes": 88.85,
                "total_pass": 37.5243,
                "accurate_pass": 29.5651,
                "duels_won": 7.3269,
                "total_long_balls": 2.6067,
                "accurate_long_balls": 0.6195,
                "total_own_half_passes": 19.9774,
                "accurate_own_half_passes": 15.2559,
                "total_opp_half_passes": 17.5469,
                "accurate_opp_half_passes": 14.3092,
                "crosses_total": 1.4775,
                "crosses_accurate": 0.0778,
                "touches": 64.3733,
                "possession_lost": 13.6329,
                "dispossessed": 0.6274,
                "duels_lost": 5.0233,
                "aerial_lost": 0.9901,
                "total_contest": 1.5589,
                "won_contest": 0.2705,
                "ball_recovery": 5.6534,
                "challenges_lost": 0.7258,
                "fouls": 1.3575,
                "fouls_drawn": 1.7186,
                "blocks": 0.2532,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1207,
                "assist_rate": 0.1207,
                "expected_goals": 0.0478,
                "expected_assists": 0.114,
                "shots_on_target": 0.2445,
                "big_chances_created": 0.1266,
                "xgot": 0.0315,
                "ball_carries": 12.5729,
                "total_progression": 38.1142,
                "progressive_carries": 0.7158,
                "key_pass": 0.4946,
                "shots_off_target": 0.3326
              },
              "params": {
                "blend_weight": 0.0464,
                "history_matches": 9,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9872,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 1.7542,
                  "after": 1.7186
                },
                {
                  "stat": "fouls",
                  "before": 1.3915,
                  "after": 1.3575
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.3402,
                  "after": 1.3238
                },
                {
                  "stat": "totalShots",
                  "before": 0.5731,
                  "after": 0.5616
                },
                {
                  "stat": "totalCross",
                  "before": 1.4693,
                  "after": 1.4775
                },
                {
                  "stat": "goalAssist",
                  "before": 0.1266,
                  "after": 0.1207
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.3238,
                "tackles": 2.2809,
                "tackles_won": 1.3412,
                "clearances": 4.348,
                "aerial_won": 1.6799,
                "total_shots": 0.5771,
                "rating": 6.7054,
                "minutes": 88.85,
                "total_pass": 37.5243,
                "accurate_pass": 29.5651,
                "duels_won": 7.3269,
                "total_long_balls": 2.6067,
                "accurate_long_balls": 0.6195,
                "total_own_half_passes": 19.9774,
                "accurate_own_half_passes": 15.2559,
                "total_opp_half_passes": 17.5469,
                "accurate_opp_half_passes": 14.3092,
                "crosses_total": 1.4775,
                "crosses_accurate": 0.0778,
                "touches": 64.3733,
                "possession_lost": 13.6329,
                "dispossessed": 0.6274,
                "duels_lost": 5.0233,
                "aerial_lost": 0.9901,
                "total_contest": 1.5589,
                "won_contest": 0.2705,
                "ball_recovery": 5.6534,
                "challenges_lost": 0.7258,
                "fouls": 1.3575,
                "fouls_drawn": 1.7186,
                "blocks": 0.2532,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1207,
                "assist_rate": 0.1207,
                "expected_goals": 0.0478,
                "expected_assists": 0.114,
                "shots_on_target": 0.2445,
                "big_chances_created": 0.1266,
                "xgot": 0.0315,
                "ball_carries": 12.5729,
                "total_progression": 38.1142,
                "progressive_carries": 0.7158,
                "key_pass": 0.4946,
                "shots_off_target": 0.3326
              },
              "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.3238,
                "tackles": 2.2809,
                "tackles_won": 1.3412,
                "clearances": 4.348,
                "aerial_won": 1.6799,
                "total_shots": 0.5771,
                "rating": 6.7054,
                "minutes": 88.85,
                "total_pass": 37.5243,
                "accurate_pass": 29.5651,
                "duels_won": 7.3269,
                "total_long_balls": 2.6067,
                "accurate_long_balls": 0.6195,
                "total_own_half_passes": 19.9774,
                "accurate_own_half_passes": 15.2559,
                "total_opp_half_passes": 17.5469,
                "accurate_opp_half_passes": 14.3092,
                "crosses_total": 1.4775,
                "crosses_accurate": 0.0778,
                "touches": 64.3733,
                "possession_lost": 13.6329,
                "dispossessed": 0.6274,
                "duels_lost": 5.0233,
                "aerial_lost": 0.9901,
                "total_contest": 1.5589,
                "won_contest": 0.2705,
                "ball_recovery": 5.6534,
                "challenges_lost": 0.7258,
                "fouls": 1.3575,
                "fouls_drawn": 1.7186,
                "blocks": 0.2532,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1207,
                "assist_rate": 0.1207,
                "expected_goals": 0.0478,
                "expected_assists": 0.114,
                "shots_on_target": 0.2445,
                "big_chances_created": 0.1266,
                "xgot": 0.0315,
                "ball_carries": 12.5729,
                "total_progression": 38.1142,
                "progressive_carries": 0.7158,
                "key_pass": 0.4946,
                "shots_off_target": 0.3326,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.654,
                "opponent_faced": "Omar El Hilali",
                "pressing_zone": "RWB vs LW + LB",
                "matchup_zone": "RWB vs LW + LB",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Omar El Hilali",
                  "matchup_zone": "RWB vs LW + LB"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.3238,
                "tackles": 2.2809,
                "tackles_won": 1.3412,
                "clearances": 4.348,
                "aerial_won": 1.6799,
                "total_shots": 0.5771,
                "rating": 6.7054,
                "minutes": 88.85,
                "total_pass": 37.5243,
                "accurate_pass": 29.5651,
                "duels_won": 7.3269,
                "total_long_balls": 2.6067,
                "accurate_long_balls": 0.6195,
                "total_own_half_passes": 19.9774,
                "accurate_own_half_passes": 15.2559,
                "total_opp_half_passes": 17.5469,
                "accurate_opp_half_passes": 14.3092,
                "crosses_total": 1.4775,
                "crosses_accurate": 0.0778,
                "touches": 64.3733,
                "possession_lost": 13.6329,
                "dispossessed": 0.6274,
                "duels_lost": 5.0233,
                "aerial_lost": 0.9901,
                "total_contest": 1.5589,
                "won_contest": 0.2705,
                "ball_recovery": 5.6534,
                "challenges_lost": 0.7258,
                "fouls": 1.3575,
                "fouls_drawn": 1.7186,
                "blocks": 0.2532,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1207,
                "assists": 0,
                "expected_goals": 0.0478,
                "expected_assists": 0.114,
                "shots_on_target": 0.2445,
                "big_chances_created": 0.1266,
                "xgot": 0.0315,
                "ball_carries": 12.5729,
                "total_progression": 38.1142,
                "progressive_carries": 0.7158,
                "key_pass": 0.4946,
                "shots_off_target": 0.3326,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.654,
                "opponent_faced": "Omar El Hilali",
                "pressing_zone": "RWB vs LW + LB",
                "matchup_zone": "RWB vs LW + LB",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.31 (squad xG sum 1.1245, xG scale 1.1667, xA scale 1.1667, team xA 0.98 = 0.74 x lambda)",
              "stats": {
                "interceptions": 1.3238,
                "tackles": 2.2809,
                "tackles_won": 1.3412,
                "clearances": 4.348,
                "aerial_won": 1.6799,
                "total_shots": 0.5771,
                "rating": 6.7054,
                "minutes": 88.85,
                "total_pass": 37.5243,
                "accurate_pass": 29.5651,
                "duels_won": 7.3269,
                "total_long_balls": 2.6067,
                "accurate_long_balls": 0.6195,
                "total_own_half_passes": 19.9774,
                "accurate_own_half_passes": 15.2559,
                "total_opp_half_passes": 17.5469,
                "accurate_opp_half_passes": 14.3092,
                "crosses_total": 1.4775,
                "crosses_accurate": 0.0778,
                "touches": 64.3733,
                "possession_lost": 13.6329,
                "dispossessed": 0.6274,
                "duels_lost": 5.0233,
                "aerial_lost": 0.9901,
                "total_contest": 1.5589,
                "won_contest": 0.2705,
                "ball_recovery": 5.6534,
                "challenges_lost": 0.7258,
                "fouls": 1.3575,
                "fouls_drawn": 1.7186,
                "blocks": 0.2532,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1207,
                "assists": 0,
                "expected_goals": 0.0558,
                "expected_assists": 0.133,
                "shots_on_target": 0.2445,
                "big_chances_created": 0.1266,
                "xgot": 0.0368,
                "ball_carries": 12.5729,
                "total_progression": 38.1142,
                "progressive_carries": 0.7158,
                "key_pass": 0.4946,
                "shots_off_target": 0.3326,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.654,
                "opponent_faced": "Omar El Hilali",
                "pressing_zone": "RWB vs LW + LB",
                "matchup_zone": "RWB vs LW + LB",
                "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.0409
              },
              "params": {
                "team_lambda": 1.312,
                "squad_xg_sum": 1.1245,
                "squad_xa_sum": 0.8366,
                "team_expected_assists": 0.9761,
                "team_xa_to_xg_ratio": 0.744,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1667,
                "xa_scale": 1.1667,
                "opponent_lambda": 1.46,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0478,
                  "after": 0.0558
                },
                {
                  "stat": "expected_assists",
                  "before": 0.114,
                  "after": 0.133
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 72.0)",
              "stats": {
                "interceptions": 1.3238,
                "tackles": 2.2809,
                "tackles_won": 1.3412,
                "clearances": 4.348,
                "aerial_won": 1.6799,
                "total_shots": 0.5771,
                "rating": 6.7054,
                "minutes": 88.85,
                "total_pass": 37.5243,
                "accurate_pass": 29.5651,
                "duels_won": 7.3269,
                "total_long_balls": 2.6067,
                "accurate_long_balls": 0.6195,
                "total_own_half_passes": 19.9774,
                "accurate_own_half_passes": 15.2559,
                "total_opp_half_passes": 17.5469,
                "accurate_opp_half_passes": 14.3092,
                "crosses_total": 1.4775,
                "crosses_accurate": 0.0778,
                "touches": 64.3733,
                "possession_lost": 13.6329,
                "dispossessed": 0.6274,
                "duels_lost": 5.0233,
                "aerial_lost": 0.9901,
                "total_contest": 1.5589,
                "won_contest": 0.2705,
                "ball_recovery": 5.6534,
                "challenges_lost": 0.7258,
                "fouls": 1.3575,
                "fouls_drawn": 1.7186,
                "blocks": 0.2532,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1207,
                "assists": 0,
                "expected_goals": 0.0558,
                "expected_assists": 0.133,
                "shots_on_target": 0.2445,
                "big_chances_created": 0.1266,
                "xgot": 0.0368,
                "ball_carries": 12.5729,
                "total_progression": 38.1142,
                "progressive_carries": 0.7158,
                "key_pass": 0.4946,
                "shots_off_target": 0.3326,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.654,
                "opponent_faced": "Omar El Hilali",
                "pressing_zone": "RWB vs LW + LB",
                "matchup_zone": "RWB vs LW + LB",
                "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.0409,
                "fifa_overall": 72.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4331,
                "fifa_rank": 4242.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.3238,
                "tackles": 2.2809,
                "tackles_won": 1.3412,
                "clearances": 4.348,
                "aerial_won": 1.6799,
                "total_shots": 0.5771,
                "rating": 6.7054,
                "minutes": 88.85,
                "total_pass": 37.5243,
                "accurate_pass": 29.5651,
                "duels_won": 7.3269,
                "total_long_balls": 2.6067,
                "accurate_long_balls": 0.6195,
                "total_own_half_passes": 19.9774,
                "accurate_own_half_passes": 15.2559,
                "total_opp_half_passes": 17.5469,
                "accurate_opp_half_passes": 14.3092,
                "crosses_total": 1.4775,
                "crosses_accurate": 0.0778,
                "touches": 64.3733,
                "possession_lost": 13.6329,
                "dispossessed": 0.6274,
                "duels_lost": 5.0233,
                "aerial_lost": 0.9901,
                "total_contest": 1.5589,
                "won_contest": 0.2705,
                "ball_recovery": 5.6534,
                "challenges_lost": 0.7258,
                "fouls": 1.3575,
                "fouls_drawn": 1.7186,
                "blocks": 0.2532,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1207,
                "assists": 0,
                "expected_goals": 0.0558,
                "expected_assists": 0.133,
                "shots_on_target": 0.2445,
                "big_chances_created": 0.1266,
                "xgot": 0.0368,
                "ball_carries": 12.5729,
                "total_progression": 38.1142,
                "progressive_carries": 0.7158,
                "key_pass": 0.4946,
                "shots_off_target": 0.3326,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.654,
                "opponent_faced": "Omar El Hilali",
                "pressing_zone": "RWB vs LW + LB",
                "matchup_zone": "RWB vs LW + LB",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0543,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.0409,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0543,
                "goal_rate": 0.0,
                "scorer_weight": 0.0446,
                "squad_weight_total": 1.3832,
                "weight_share": 0.0323,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.5461,
                    "already": 0,
                    "effective_weight": 0.5461,
                    "runner_up": "Andrés Martín",
                    "runner_up_effective_weight": 0.2591
                  }
                ]
              }
            },
            {
              "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.3238,
                "tackles": 2.2809,
                "tackles_won": 1.3412,
                "clearances": 4.348,
                "aerial_won": 1.6799,
                "total_shots": 0.5771,
                "rating": 6.7054,
                "minutes": 88.85,
                "total_pass": 37.5243,
                "accurate_pass": 29.5651,
                "duels_won": 7.3269,
                "total_long_balls": 2.6067,
                "accurate_long_balls": 0.6195,
                "total_own_half_passes": 19.9774,
                "accurate_own_half_passes": 15.2559,
                "total_opp_half_passes": 17.5469,
                "accurate_opp_half_passes": 14.3092,
                "crosses_total": 1.4775,
                "crosses_accurate": 0.0778,
                "touches": 64.3733,
                "possession_lost": 13.6329,
                "dispossessed": 0.6274,
                "duels_lost": 5.0233,
                "aerial_lost": 0.9901,
                "total_contest": 1.5589,
                "won_contest": 0.2705,
                "ball_recovery": 5.6534,
                "challenges_lost": 0.7258,
                "fouls": 1.3575,
                "fouls_drawn": 1.7186,
                "blocks": 0.2532,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1207,
                "assists": 0,
                "expected_goals": 0.0558,
                "expected_assists": 0.133,
                "shots_on_target": 0.2445,
                "big_chances_created": 0.1266,
                "xgot": 0.0368,
                "ball_carries": 12.5729,
                "total_progression": 38.1142,
                "progressive_carries": 0.7158,
                "key_pass": 0.4946,
                "shots_off_target": 0.3326,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.654,
                "opponent_faced": "Omar El Hilali",
                "pressing_zone": "RWB vs LW + LB",
                "matchup_zone": "RWB vs LW + LB",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0543,
                "projected_assists": 0,
                "assist_probability": 0.1245,
                "finishing_factor": 0.8,
                "creation_factor": 1.0409,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1245,
                "assist_rate": 0.1207,
                "provider_weight": 0.1384,
                "squad_weight_total": 0.9828,
                "weight_share": 0.1409,
                "creation_factor": 1.0409,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.3651,
                    "already": 0,
                    "effective_weight": 0.3651,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.1384,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Jeanuël Belocian": {
          "player_id": 1173172,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 24,
          "height": 186,
          "market_value": 12900000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 6.7093,
            "minutes": 90,
            "total_pass": 50,
            "accurate_pass": 47,
            "duels_won": 2,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 34,
            "accurate_own_half_passes": 32,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 15,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 62,
            "possession_lost": 4.9136,
            "dispossessed": 0.3162,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0306,
            "expected_assists": 0.0106,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.019,
            "ball_carries": 23,
            "total_progression": 103,
            "progressive_carries": 2,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.738,
            "opponent_faced": "Roberto Fernández",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0301,
            "projected_assists": 0,
            "assist_probability": 0.0105,
            "finishing_factor": 0.8,
            "creation_factor": 0.846,
            "fifa_overall": 71.0
          },
          "latest_10_games": [
            {
              "match_id": 16421078,
              "match_date": "2026-10-18",
              "home_team": "Osasuna",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0028,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 30,
                "interceptions": 2,
                "clearances": 6,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0819,
                "expected_assists": 0.0167,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 54,
                "accurate_pass": 54,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0143,
                "total_shots": 0,
                "total_pass": 64,
                "accurate_pass": 60,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0216,
                "expected_assists": 0.0021,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 54,
                "accurate_pass": 48,
                "interceptions": 2,
                "clearances": 12,
                "aerial_won": 5,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 35,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0877,
                "expected_assists": 0.0245,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 16,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 4,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4828,
            "combined_rank_score": 2910.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 941.0,
            "sofascore_rating": 6.45,
            "sofascore_appearances": 2.0,
            "fifa_rank": 4880.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7093,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jeanuël Belocian",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Copete",
                  "ranking": 4823
                },
                {
                  "player_name": "Dubasin",
                  "ranking": 4824
                },
                {
                  "player_name": "Ruairi McConville",
                  "ranking": 4825
                },
                {
                  "player_name": "Lorenzo Bernasconi",
                  "ranking": 4826
                },
                {
                  "player_name": "Peque",
                  "ranking": 4827
                }
              ],
              "lower": [
                {
                  "player_name": "Max Alleyne",
                  "ranking": 4829
                },
                {
                  "player_name": "Herrando",
                  "ranking": 4830
                },
                {
                  "player_name": "Nectarios Triantis",
                  "ranking": 4831
                },
                {
                  "player_name": "Andy Polo",
                  "ranking": 4832
                },
                {
                  "player_name": "Daniel Bentley",
                  "ranking": 4833
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.562,
          "history_matches": 5,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 5,
            "data_confidence": 0.562,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0076,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 5 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.2245,
                "tackles": 1.0634,
                "tackles_won": 0.7062,
                "clearances": 4.9046,
                "aerial_won": 2.0641,
                "total_shots": 0.5161,
                "rating": 6.7093,
                "minutes": 90.0,
                "total_pass": 49.3634,
                "accurate_pass": 46.6725,
                "duels_won": 2.3514,
                "total_long_balls": 2.2738,
                "accurate_long_balls": 1.0,
                "total_own_half_passes": 33.8974,
                "accurate_own_half_passes": 31.592,
                "total_opp_half_passes": 15.466,
                "accurate_opp_half_passes": 15.0806,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 61.9183,
                "possession_lost": 4.8765,
                "dispossessed": 0.3138,
                "duels_lost": 2.5806,
                "aerial_lost": 0.3854,
                "total_contest": 0.3138,
                "won_contest": 0.3138,
                "ball_recovery": 3.1666,
                "challenges_lost": 0.5806,
                "fouls": 1.5275,
                "fouls_drawn": 0.8073,
                "blocks": 0.7602,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.026,
                "expected_assists": 0.009,
                "shots_on_target": 0.2667,
                "big_chances_created": 0.0,
                "xgot": 0.0162,
                "ball_carries": 22.4402,
                "total_progression": 101.7425,
                "progressive_carries": 1.6475,
                "key_pass": 0.0,
                "shots_off_target": 0.2494
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:05:47.447103+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 626,
                    "rows": 21426
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 4.6984,
                  "aerialWon": 1.8494,
                  "totalClearance_p90": 5.8043,
                  "totalTackle": 0.1408,
                  "defensive_actions": 1.6301
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.2245097160339355,
                    "model_output": 1.2245,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2909
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0422
                      },
                      {
                        "name": "touches",
                        "importance": 0.0304
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0294
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.8603,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1057
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0989
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0382
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0345
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0181
                        }
                      ],
                      "others": 0.0688,
                      "total": 1.2245,
                      "log_link": true,
                      "margin_base": -0.150447,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.115868
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.097488
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.035253
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.030833
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.015746
                        }
                      ],
                      "others_margin": 0.057798
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.0634433031082153,
                    "model_output": 1.0634,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2494
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0709
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0459
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0405
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 1.3831,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1692
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1509
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.1417
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.051
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0396
                        }
                      ],
                      "others": -0.0691,
                      "total": 1.0634,
                      "log_link": true,
                      "margin_base": 0.324299,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.130521
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.117188
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.109653
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.042583
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.034411
                        }
                      ],
                      "others_margin": -0.062807
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7062438130378723,
                    "model_output": 0.7062,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2138
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0741
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0462
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0368
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0292
                      }
                    ],
                    "decomposition": {
                      "base": 0.845,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1068
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0907
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0784
                        },
                        {
                          "name": "errorLeadToAShot",
                          "contribution": 0.0287
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.025
                        }
                      ],
                      "others": -0.048,
                      "total": 0.7062,
                      "log_link": true,
                      "margin_base": -0.168402,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.135059
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.115885
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.099362
                        },
                        {
                          "name": "errorLeadToAShot",
                          "margin": 0.03748
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.032597
                        }
                      ],
                      "others_margin": -0.065739
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.904552936553955,
                    "model_output": 4.9046,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2886
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0929
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0369
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.02
                      }
                    ],
                    "decomposition": {
                      "base": 3.4251,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.4879
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5175
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3714
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.3532
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.298
                        }
                      ],
                      "others": 0.1579,
                      "total": 4.9046,
                      "log_link": true,
                      "margin_base": 1.231123,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.133169
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124206
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.080509
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.076398
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.064832
                        }
                      ],
                      "others_margin": 0.032723
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.0641260147094727,
                    "model_output": 2.0641,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1614
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1578
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0791
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 1.3852,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.195
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1722
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0867
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0833
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0777
                        }
                      ],
                      "others": 0.2374,
                      "total": 2.0641,
                      "log_link": true,
                      "margin_base": 0.325816,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.131691
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.103457
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.05077
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.048797
                        },
                        {
                          "name": "rating",
                          "margin": 0.043484
                        }
                      ],
                      "others_margin": 0.122233
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5160539150238037,
                    "model_output": 0.5161,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0997
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0736
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.034
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0332
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.4749,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0584
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0352
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0188
                        },
                        {
                          "name": "errorLeadToAShot",
                          "contribution": 0.0177
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0175
                        }
                      ],
                      "others": 0.0366,
                      "total": 0.5161,
                      "log_link": false,
                      "margin_base": 0.47494,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.058419
                        },
                        {
                          "name": "rating",
                          "margin": -0.035202
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.018773
                        },
                        {
                          "name": "errorLeadToAShot",
                          "margin": 0.017725
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.017492
                        }
                      ],
                      "others_margin": 0.036437
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.709257125854492,
                    "model_output": 6.7093,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0694
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0576
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.055
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.7904,
                      "items": [
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0257
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0211
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0193
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0166
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0161
                        }
                      ],
                      "others": -0.0541,
                      "total": 6.7093,
                      "log_link": false,
                      "margin_base": 6.790384,
                      "item_margins": [
                        {
                          "name": "tackle_success_rate",
                          "margin": -0.02566
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.021101
                        },
                        {
                          "name": "touches",
                          "margin": 0.019257
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.016603
                        },
                        {
                          "name": "rating",
                          "margin": -0.016132
                        }
                      ],
                      "others_margin": -0.054095
                    }
                  }
                ],
                "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 1.0076, quality 0.556)",
              "stats": {
                "interceptions": 1.2338,
                "tackles": 1.0715,
                "tackles_won": 0.7116,
                "clearances": 4.9418,
                "aerial_won": 2.0798,
                "total_shots": 0.52,
                "rating": 6.7093,
                "minutes": 90.0,
                "total_pass": 49.7386,
                "accurate_pass": 47.0272,
                "duels_won": 2.3693,
                "total_long_balls": 2.2911,
                "accurate_long_balls": 1.0076,
                "total_own_half_passes": 34.155,
                "accurate_own_half_passes": 31.8321,
                "total_opp_half_passes": 15.5835,
                "accurate_opp_half_passes": 15.1952,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.3889,
                "possession_lost": 4.9136,
                "dispossessed": 0.3162,
                "duels_lost": 2.6002,
                "aerial_lost": 0.3883,
                "total_contest": 0.3162,
                "won_contest": 0.3162,
                "ball_recovery": 3.1907,
                "challenges_lost": 0.585,
                "fouls": 1.5391,
                "fouls_drawn": 0.8134,
                "blocks": 0.766,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0262,
                "expected_assists": 0.0091,
                "shots_on_target": 0.2687,
                "big_chances_created": 0.0,
                "xgot": 0.0163,
                "ball_carries": 22.6107,
                "total_progression": 102.5157,
                "progressive_carries": 1.66,
                "key_pass": 0.0,
                "shots_off_target": 0.2513
              },
              "params": {
                "market_value_eur": 12900000,
                "quality_factor": 0.5559,
                "boost_factor": 1.0076,
                "reference_quality": 0.505,
                "history_matches": 5,
                "history_shrink": 0.5,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.2338,
                "tackles": 1.0715,
                "tackles_won": 0.7116,
                "clearances": 4.9418,
                "aerial_won": 2.0798,
                "total_shots": 0.52,
                "rating": 6.7093,
                "minutes": 90.0,
                "total_pass": 49.7386,
                "accurate_pass": 47.0272,
                "duels_won": 2.3693,
                "total_long_balls": 2.2911,
                "accurate_long_balls": 1.0076,
                "total_own_half_passes": 34.155,
                "accurate_own_half_passes": 31.8321,
                "total_opp_half_passes": 15.5835,
                "accurate_opp_half_passes": 15.1952,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.3889,
                "possession_lost": 4.9136,
                "dispossessed": 0.3162,
                "duels_lost": 2.6002,
                "aerial_lost": 0.3883,
                "total_contest": 0.3162,
                "won_contest": 0.3162,
                "ball_recovery": 3.1907,
                "challenges_lost": 0.585,
                "fouls": 1.5391,
                "fouls_drawn": 0.8134,
                "blocks": 0.766,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0262,
                "expected_assists": 0.0091,
                "shots_on_target": 0.2687,
                "big_chances_created": 0.0,
                "xgot": 0.0163,
                "ball_carries": 22.6107,
                "total_progression": 102.5157,
                "progressive_carries": 1.66,
                "key_pass": 0.0,
                "shots_off_target": 0.2513
              },
              "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.2338,
                "tackles": 1.0715,
                "tackles_won": 0.7116,
                "clearances": 4.9418,
                "aerial_won": 2.0798,
                "total_shots": 0.52,
                "rating": 6.7093,
                "minutes": 90.0,
                "total_pass": 49.7386,
                "accurate_pass": 47.0272,
                "duels_won": 2.3693,
                "total_long_balls": 2.2911,
                "accurate_long_balls": 1.0076,
                "total_own_half_passes": 34.155,
                "accurate_own_half_passes": 31.8321,
                "total_opp_half_passes": 15.5835,
                "accurate_opp_half_passes": 15.1952,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.3889,
                "possession_lost": 4.9136,
                "dispossessed": 0.3162,
                "duels_lost": 2.6002,
                "aerial_lost": 0.3883,
                "total_contest": 0.3162,
                "won_contest": 0.3162,
                "ball_recovery": 3.1907,
                "challenges_lost": 0.585,
                "fouls": 1.5391,
                "fouls_drawn": 0.8134,
                "blocks": 0.766,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0262,
                "expected_assists": 0.0091,
                "shots_on_target": 0.2687,
                "big_chances_created": 0.0,
                "xgot": 0.0163,
                "ball_carries": 22.6107,
                "total_progression": 102.5157,
                "progressive_carries": 1.66,
                "key_pass": 0.0,
                "shots_off_target": 0.2513,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.738,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Roberto Fernández",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.2338,
                "tackles": 1.0715,
                "tackles_won": 0.7116,
                "clearances": 4.9418,
                "aerial_won": 2.0798,
                "total_shots": 0.52,
                "rating": 6.7093,
                "minutes": 90.0,
                "total_pass": 49.7386,
                "accurate_pass": 47.0272,
                "duels_won": 2.3693,
                "total_long_balls": 2.2911,
                "accurate_long_balls": 1.0076,
                "total_own_half_passes": 34.155,
                "accurate_own_half_passes": 31.8321,
                "total_opp_half_passes": 15.5835,
                "accurate_opp_half_passes": 15.1952,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.3889,
                "possession_lost": 4.9136,
                "dispossessed": 0.3162,
                "duels_lost": 2.6002,
                "aerial_lost": 0.3883,
                "total_contest": 0.3162,
                "won_contest": 0.3162,
                "ball_recovery": 3.1907,
                "challenges_lost": 0.585,
                "fouls": 1.5391,
                "fouls_drawn": 0.8134,
                "blocks": 0.766,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0262,
                "expected_assists": 0.0091,
                "shots_on_target": 0.2687,
                "big_chances_created": 0.0,
                "xgot": 0.0163,
                "ball_carries": 22.6107,
                "total_progression": 102.5157,
                "progressive_carries": 1.66,
                "key_pass": 0.0,
                "shots_off_target": 0.2513,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.738,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.31 (squad xG sum 1.1245, xG scale 1.1667, xA scale 1.1667, team xA 0.98 = 0.74 x lambda)",
              "stats": {
                "interceptions": 1.2338,
                "tackles": 1.0715,
                "tackles_won": 0.7116,
                "clearances": 4.9418,
                "aerial_won": 2.0798,
                "total_shots": 0.52,
                "rating": 6.7093,
                "minutes": 90.0,
                "total_pass": 49.7386,
                "accurate_pass": 47.0272,
                "duels_won": 2.3693,
                "total_long_balls": 2.2911,
                "accurate_long_balls": 1.0076,
                "total_own_half_passes": 34.155,
                "accurate_own_half_passes": 31.8321,
                "total_opp_half_passes": 15.5835,
                "accurate_opp_half_passes": 15.1952,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.3889,
                "possession_lost": 4.9136,
                "dispossessed": 0.3162,
                "duels_lost": 2.6002,
                "aerial_lost": 0.3883,
                "total_contest": 0.3162,
                "won_contest": 0.3162,
                "ball_recovery": 3.1907,
                "challenges_lost": 0.585,
                "fouls": 1.5391,
                "fouls_drawn": 0.8134,
                "blocks": 0.766,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0306,
                "expected_assists": 0.0106,
                "shots_on_target": 0.2687,
                "big_chances_created": 0.0,
                "xgot": 0.019,
                "ball_carries": 22.6107,
                "total_progression": 102.5157,
                "progressive_carries": 1.66,
                "key_pass": 0.0,
                "shots_off_target": 0.2513,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.738,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.846
              },
              "params": {
                "team_lambda": 1.312,
                "squad_xg_sum": 1.1245,
                "squad_xa_sum": 0.8366,
                "team_expected_assists": 0.9761,
                "team_xa_to_xg_ratio": 0.744,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1667,
                "xa_scale": 1.1667,
                "opponent_lambda": 1.46,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 71.0)",
              "stats": {
                "interceptions": 1.2338,
                "tackles": 1.0715,
                "tackles_won": 0.7116,
                "clearances": 4.9418,
                "aerial_won": 2.0798,
                "total_shots": 0.52,
                "rating": 6.7093,
                "minutes": 90.0,
                "total_pass": 49.7386,
                "accurate_pass": 47.0272,
                "duels_won": 2.3693,
                "total_long_balls": 2.2911,
                "accurate_long_balls": 1.0076,
                "total_own_half_passes": 34.155,
                "accurate_own_half_passes": 31.8321,
                "total_opp_half_passes": 15.5835,
                "accurate_opp_half_passes": 15.1952,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.3889,
                "possession_lost": 4.9136,
                "dispossessed": 0.3162,
                "duels_lost": 2.6002,
                "aerial_lost": 0.3883,
                "total_contest": 0.3162,
                "won_contest": 0.3162,
                "ball_recovery": 3.1907,
                "challenges_lost": 0.585,
                "fouls": 1.5391,
                "fouls_drawn": 0.8134,
                "blocks": 0.766,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0306,
                "expected_assists": 0.0106,
                "shots_on_target": 0.2687,
                "big_chances_created": 0.0,
                "xgot": 0.019,
                "ball_carries": 22.6107,
                "total_progression": 102.5157,
                "progressive_carries": 1.66,
                "key_pass": 0.0,
                "shots_off_target": 0.2513,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.738,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.846,
                "fifa_overall": 71.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4828,
                "fifa_rank": 4880.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 71.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.2338,
                "tackles": 1.0715,
                "tackles_won": 0.7116,
                "clearances": 4.9418,
                "aerial_won": 2.0798,
                "total_shots": 0.52,
                "rating": 6.7093,
                "minutes": 90.0,
                "total_pass": 49.7386,
                "accurate_pass": 47.0272,
                "duels_won": 2.3693,
                "total_long_balls": 2.2911,
                "accurate_long_balls": 1.0076,
                "total_own_half_passes": 34.155,
                "accurate_own_half_passes": 31.8321,
                "total_opp_half_passes": 15.5835,
                "accurate_opp_half_passes": 15.1952,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.3889,
                "possession_lost": 4.9136,
                "dispossessed": 0.3162,
                "duels_lost": 2.6002,
                "aerial_lost": 0.3883,
                "total_contest": 0.3162,
                "won_contest": 0.3162,
                "ball_recovery": 3.1907,
                "challenges_lost": 0.585,
                "fouls": 1.5391,
                "fouls_drawn": 0.8134,
                "blocks": 0.766,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0306,
                "expected_assists": 0.0106,
                "shots_on_target": 0.2687,
                "big_chances_created": 0.0,
                "xgot": 0.019,
                "ball_carries": 22.6107,
                "total_progression": 102.5157,
                "progressive_carries": 1.66,
                "key_pass": 0.0,
                "shots_off_target": 0.2513,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.738,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0301,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.846,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0301,
                "goal_rate": 0.0,
                "scorer_weight": 0.0245,
                "squad_weight_total": 1.3832,
                "weight_share": 0.0177,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.5461,
                    "already": 0,
                    "effective_weight": 0.5461,
                    "runner_up": "Andrés Martín",
                    "runner_up_effective_weight": 0.2591
                  }
                ]
              }
            },
            {
              "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.2338,
                "tackles": 1.0715,
                "tackles_won": 0.7116,
                "clearances": 4.9418,
                "aerial_won": 2.0798,
                "total_shots": 0.52,
                "rating": 6.7093,
                "minutes": 90.0,
                "total_pass": 49.7386,
                "accurate_pass": 47.0272,
                "duels_won": 2.3693,
                "total_long_balls": 2.2911,
                "accurate_long_balls": 1.0076,
                "total_own_half_passes": 34.155,
                "accurate_own_half_passes": 31.8321,
                "total_opp_half_passes": 15.5835,
                "accurate_opp_half_passes": 15.1952,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 62.3889,
                "possession_lost": 4.9136,
                "dispossessed": 0.3162,
                "duels_lost": 2.6002,
                "aerial_lost": 0.3883,
                "total_contest": 0.3162,
                "won_contest": 0.3162,
                "ball_recovery": 3.1907,
                "challenges_lost": 0.585,
                "fouls": 1.5391,
                "fouls_drawn": 0.8134,
                "blocks": 0.766,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0306,
                "expected_assists": 0.0106,
                "shots_on_target": 0.2687,
                "big_chances_created": 0.0,
                "xgot": 0.019,
                "ball_carries": 22.6107,
                "total_progression": 102.5157,
                "progressive_carries": 1.66,
                "key_pass": 0.0,
                "shots_off_target": 0.2513,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.738,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0301,
                "projected_assists": 0,
                "assist_probability": 0.0105,
                "finishing_factor": 0.8,
                "creation_factor": 0.846,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0105,
                "assist_rate": 0.0,
                "provider_weight": 0.009,
                "squad_weight_total": 0.9828,
                "weight_share": 0.0091,
                "creation_factor": 0.846,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.3651,
                    "already": 0,
                    "effective_weight": 0.3651,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.1384,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Pablo Ramón": {
          "player_id": 962381,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 5,
          "height": 186,
          "market_value": 1500000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 6,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.8777,
            "minutes": 85,
            "total_pass": 55,
            "accurate_pass": 49,
            "duels_won": 6,
            "total_long_balls": 4,
            "accurate_long_balls": 1,
            "total_own_half_passes": 35,
            "accurate_own_half_passes": 33,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 16,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 71,
            "possession_lost": 7.4659,
            "dispossessed": 0.5426,
            "duels_lost": 3,
            "aerial_lost": 2,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 6,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.006,
            "expected_assists": 0.0116,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0067,
            "ball_carries": 24,
            "total_progression": 90,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.5,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.561,
            "opponent_faced": "Javier Hernández",
            "pressing_zone": "Left Mid vs Right Back — Wide Channel",
            "matchup_zone": "Left Mid vs Right Back — Wide Channel",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.006,
            "projected_assists": 0,
            "assist_probability": 0.0115,
            "finishing_factor": 0.9074,
            "creation_factor": 0.8347,
            "fifa_overall": 69.0
          },
          "latest_10_games": [
            {
              "match_id": 16421078,
              "match_date": "2026-10-18",
              "home_team": "Osasuna",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.014,
                "total_shots": 0,
                "total_pass": 65,
                "accurate_pass": 58,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 13,
                "aerial_won": 3,
                "duels_won": 5,
                "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": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 61,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0027,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 33,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0294,
                "expected_assists": 0.0201,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 72,
                "accurate_pass": 67,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 42,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 10,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 35,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0074,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 23,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0062,
                "total_shots": 0,
                "total_pass": 69,
                "accurate_pass": 63,
                "tackles": 5,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 13,
                "aerial_won": 5,
                "duels_won": 11,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 77,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0138,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 28,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 7,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5500,
            "combined_rank_score": 3679.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 391.0,
            "sofascore_rating": 6.95,
            "sofascore_appearances": 2.0,
            "fifa_rank": 6968.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8777,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo Ramón",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Abdulelah Al Amri",
                  "ranking": 5495
                },
                {
                  "player_name": "Sofiane Bendebka",
                  "ranking": 5496
                },
                {
                  "player_name": "Ramiro Enrique",
                  "ranking": 5497
                },
                {
                  "player_name": "Amir Sâyoud",
                  "ranking": 5498
                },
                {
                  "player_name": "Luciano Rodríguez",
                  "ranking": 5499
                }
              ],
              "lower": [
                {
                  "player_name": "Paul Smyth",
                  "ranking": 5501
                },
                {
                  "player_name": "Marcos Rojo",
                  "ranking": 5502
                },
                {
                  "player_name": "Theo Bair",
                  "ranking": 5503
                },
                {
                  "player_name": "Lisandro Magallán",
                  "ranking": 5504
                },
                {
                  "player_name": "Jaouen Hadjam",
                  "ranking": 5505
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.706,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.706,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9916,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 166.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.12
            },
            "rationale": "XGBoost regressor (D_service) evaluated 7 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, rel: 0.12, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.1397,
                "tackles": 1.657,
                "tackles_won": 0.9962,
                "clearances": 5.815,
                "aerial_won": 1.9281,
                "total_shots": 0.4785,
                "rating": 6.8777,
                "minutes": 84.51,
                "total_pass": 55.3765,
                "accurate_pass": 49.5049,
                "duels_won": 5.5681,
                "total_long_balls": 4.1938,
                "accurate_long_balls": 1.2925,
                "total_own_half_passes": 35.4085,
                "accurate_own_half_passes": 33.5742,
                "total_opp_half_passes": 19.968,
                "accurate_opp_half_passes": 15.9306,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 71.8806,
                "possession_lost": 7.5291,
                "dispossessed": 0.5472,
                "duels_lost": 3.4662,
                "aerial_lost": 1.946,
                "total_contest": 0.4288,
                "won_contest": 0.3219,
                "ball_recovery": 5.8996,
                "challenges_lost": 0.3805,
                "fouls": 0.4856,
                "fouls_drawn": 1.3058,
                "blocks": 0.3665,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0051,
                "expected_assists": 0.01,
                "shots_on_target": 0.174,
                "big_chances_created": 0.0,
                "xgot": 0.0057,
                "ball_carries": 24.674,
                "total_progression": 91.1616,
                "progressive_carries": 1.1879,
                "key_pass": 0.3477,
                "shots_off_target": 0.3045
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:05:47.447103+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 626,
                    "rows": 21426
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Valencia",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.1152,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 6.306,
                  "aerialWon": 1.906,
                  "totalClearance_p90": 6.5829,
                  "totalTackle": 1.7198,
                  "defensive_actions": 2.7133
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1396594047546387,
                    "model_output": 1.1397,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2909
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0422
                      },
                      {
                        "name": "touches",
                        "importance": 0.0304
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0294
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.8603,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1188
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0351
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0236
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0202
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0202
                        }
                      ],
                      "others": 0.0615,
                      "total": 1.1397,
                      "log_link": true,
                      "margin_base": -0.150447,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.12939
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.035234
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.023033
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.019296
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.018903
                        }
                      ],
                      "others_margin": 0.05532
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.656965970993042,
                    "model_output": 1.657,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2494
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0709
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0459
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0405
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 1.3831,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2011
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0869
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.09
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0686
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0392
                        }
                      ],
                      "others": -0.2119,
                      "total": 1.657,
                      "log_link": true,
                      "margin_base": 0.324299,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.135758
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.053387
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.052456
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.038201
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.021177
                        }
                      ],
                      "others_margin": -0.120289
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.9961676597595215,
                    "model_output": 0.9962,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2138
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0741
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0462
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0368
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0292
                      }
                    ],
                    "decomposition": {
                      "base": 0.845,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1207
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0709
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0408
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0379
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0361
                        }
                      ],
                      "others": -0.0794,
                      "total": 0.9962,
                      "log_link": true,
                      "margin_base": -0.168402,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.133546
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.070824
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.038598
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.035819
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.034157
                        }
                      ],
                      "others_margin": -0.076743
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.814966201782227,
                    "model_output": 5.815,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2886
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0929
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0369
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.02
                      }
                    ],
                    "decomposition": {
                      "base": 3.4251,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.836
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5851
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.3817
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3563
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.1352
                        }
                      ],
                      "others": 0.0956,
                      "total": 5.815,
                      "log_link": true,
                      "margin_base": 1.231123,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.21839
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.128662
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.075813
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.065929
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.02393
                        }
                      ],
                      "others_margin": 0.016588
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.9281429052352905,
                    "model_output": 1.9281,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1614
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1578
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0791
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 1.3852,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.1974
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1894
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1693
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.139
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1052
                        }
                      ],
                      "others": -0.2574,
                      "total": 1.9281,
                      "log_link": true,
                      "margin_base": 0.325816,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.133202
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.113038
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.091266
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.069155
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.049324
                        }
                      ],
                      "others_margin": -0.125244
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.47853100299835205,
                    "model_output": 0.4785,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0997
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0736
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.034
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0332
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.4749,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.057
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0435
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0202
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0175
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0124
                        }
                      ],
                      "others": 0.0052,
                      "total": 0.4785,
                      "log_link": false,
                      "margin_base": 0.47494,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.056972
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.043503
                        },
                        {
                          "name": "rating",
                          "margin": -0.020185
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.017485
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.012416
                        }
                      ],
                      "others_margin": 0.005238
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.877696514129639,
                    "model_output": 6.8777,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0694
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0576
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.055
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.7904,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": 0.0456
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0259
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0249
                        },
                        {
                          "name": "rating",
                          "contribution": -0.019
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0187
                        }
                      ],
                      "others": 0.0286,
                      "total": 6.8777,
                      "log_link": false,
                      "margin_base": 6.790384,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": 0.045577
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.025942
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.024875
                        },
                        {
                          "name": "rating",
                          "margin": -0.018973
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.018743
                        }
                      ],
                      "others_margin": 0.028633
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 7,
                  "role_matches": 6,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9916, quality 0.437)",
              "stats": {
                "interceptions": 1.1301,
                "tackles": 1.643,
                "tackles_won": 0.9878,
                "clearances": 5.7661,
                "aerial_won": 1.9119,
                "total_shots": 0.4745,
                "rating": 6.8777,
                "minutes": 84.51,
                "total_pass": 54.9113,
                "accurate_pass": 49.0891,
                "duels_won": 5.5213,
                "total_long_balls": 4.1586,
                "accurate_long_balls": 1.2816,
                "total_own_half_passes": 35.1111,
                "accurate_own_half_passes": 33.2922,
                "total_opp_half_passes": 19.8003,
                "accurate_opp_half_passes": 15.7968,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 71.2768,
                "possession_lost": 7.4659,
                "dispossessed": 0.5426,
                "duels_lost": 3.4371,
                "aerial_lost": 1.9297,
                "total_contest": 0.4252,
                "won_contest": 0.3192,
                "ball_recovery": 5.85,
                "challenges_lost": 0.3773,
                "fouls": 0.4815,
                "fouls_drawn": 1.2948,
                "blocks": 0.3634,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0051,
                "expected_assists": 0.0099,
                "shots_on_target": 0.1725,
                "big_chances_created": 0.0,
                "xgot": 0.0057,
                "ball_carries": 24.4667,
                "total_progression": 90.3958,
                "progressive_carries": 1.1779,
                "key_pass": 0.3448,
                "shots_off_target": 0.3019
              },
              "params": {
                "market_value_eur": 1500000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9916,
                "reference_quality": 0.505,
                "history_matches": 7,
                "history_shrink": 0.4167,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0325)",
              "stats": {
                "interceptions": 1.1612,
                "tackles": 1.643,
                "tackles_won": 1.0235,
                "clearances": 5.7661,
                "aerial_won": 1.9119,
                "total_shots": 0.4591,
                "rating": 6.8777,
                "minutes": 84.51,
                "total_pass": 54.9113,
                "accurate_pass": 49.0891,
                "duels_won": 5.5213,
                "total_long_balls": 4.1586,
                "accurate_long_balls": 1.2816,
                "total_own_half_passes": 35.1111,
                "accurate_own_half_passes": 33.2922,
                "total_opp_half_passes": 19.8003,
                "accurate_opp_half_passes": 15.7968,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 71.2768,
                "possession_lost": 7.4659,
                "dispossessed": 0.5426,
                "duels_lost": 3.4371,
                "aerial_lost": 1.9297,
                "total_contest": 0.4252,
                "won_contest": 0.3192,
                "ball_recovery": 5.85,
                "challenges_lost": 0.3773,
                "fouls": 0.4828,
                "fouls_drawn": 1.2866,
                "blocks": 0.3634,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0051,
                "expected_assists": 0.0099,
                "shots_on_target": 0.1669,
                "big_chances_created": 0.0,
                "xgot": 0.0057,
                "ball_carries": 24.4667,
                "total_progression": 90.3958,
                "progressive_carries": 1.1779,
                "key_pass": 0.3448,
                "shots_off_target": 0.3019
              },
              "params": {
                "blend_weight": 0.0325,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.939,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.9878,
                  "after": 1.0235
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.1301,
                  "after": 1.1612
                },
                {
                  "stat": "totalShots",
                  "before": 0.4745,
                  "after": 0.4591
                },
                {
                  "stat": "wasFouled",
                  "before": 1.2948,
                  "after": 1.2866
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1725,
                  "after": 0.1669
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1612,
                "tackles": 1.643,
                "tackles_won": 1.0235,
                "clearances": 5.7661,
                "aerial_won": 1.9119,
                "total_shots": 0.4688,
                "rating": 6.8777,
                "minutes": 84.51,
                "total_pass": 54.9113,
                "accurate_pass": 49.0891,
                "duels_won": 5.5213,
                "total_long_balls": 4.1586,
                "accurate_long_balls": 1.2816,
                "total_own_half_passes": 35.1111,
                "accurate_own_half_passes": 33.2922,
                "total_opp_half_passes": 19.8003,
                "accurate_opp_half_passes": 15.7968,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 71.2768,
                "possession_lost": 7.4659,
                "dispossessed": 0.5426,
                "duels_lost": 3.4371,
                "aerial_lost": 1.9297,
                "total_contest": 0.4252,
                "won_contest": 0.3192,
                "ball_recovery": 5.85,
                "challenges_lost": 0.3773,
                "fouls": 0.4828,
                "fouls_drawn": 1.2866,
                "blocks": 0.3634,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0051,
                "expected_assists": 0.0099,
                "shots_on_target": 0.1669,
                "big_chances_created": 0.0,
                "xgot": 0.0057,
                "ball_carries": 24.4667,
                "total_progression": 90.3958,
                "progressive_carries": 1.1779,
                "key_pass": 0.3448,
                "shots_off_target": 0.3019
              },
              "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.1612,
                "tackles": 1.643,
                "tackles_won": 1.0235,
                "clearances": 5.7661,
                "aerial_won": 1.9119,
                "total_shots": 0.4688,
                "rating": 6.8777,
                "minutes": 84.51,
                "total_pass": 54.9113,
                "accurate_pass": 49.0891,
                "duels_won": 5.5213,
                "total_long_balls": 4.1586,
                "accurate_long_balls": 1.2816,
                "total_own_half_passes": 35.1111,
                "accurate_own_half_passes": 33.2922,
                "total_opp_half_passes": 19.8003,
                "accurate_opp_half_passes": 15.7968,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 71.2768,
                "possession_lost": 7.4659,
                "dispossessed": 0.5426,
                "duels_lost": 3.4371,
                "aerial_lost": 1.9297,
                "total_contest": 0.4252,
                "won_contest": 0.3192,
                "ball_recovery": 5.85,
                "challenges_lost": 0.3773,
                "fouls": 0.4828,
                "fouls_drawn": 1.2866,
                "blocks": 0.3634,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0051,
                "expected_assists": 0.0099,
                "shots_on_target": 0.1669,
                "big_chances_created": 0.0,
                "xgot": 0.0057,
                "ball_carries": 24.4667,
                "total_progression": 90.3958,
                "progressive_carries": 1.1779,
                "key_pass": 0.3448,
                "shots_off_target": 0.3019,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.561,
                "opponent_faced": "Javier Hernández",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Javier Hernández",
                  "matchup_zone": "Left Mid vs Right Back — Wide Channel"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.1612,
                "tackles": 1.643,
                "tackles_won": 1.0235,
                "clearances": 5.7661,
                "aerial_won": 1.9119,
                "total_shots": 0.4688,
                "rating": 6.8777,
                "minutes": 84.51,
                "total_pass": 54.9113,
                "accurate_pass": 49.0891,
                "duels_won": 5.5213,
                "total_long_balls": 4.1586,
                "accurate_long_balls": 1.2816,
                "total_own_half_passes": 35.1111,
                "accurate_own_half_passes": 33.2922,
                "total_opp_half_passes": 19.8003,
                "accurate_opp_half_passes": 15.7968,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 71.2768,
                "possession_lost": 7.4659,
                "dispossessed": 0.5426,
                "duels_lost": 3.4371,
                "aerial_lost": 1.9297,
                "total_contest": 0.4252,
                "won_contest": 0.3192,
                "ball_recovery": 5.85,
                "challenges_lost": 0.3773,
                "fouls": 0.4828,
                "fouls_drawn": 1.2866,
                "blocks": 0.3634,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0051,
                "expected_assists": 0.0099,
                "shots_on_target": 0.1669,
                "big_chances_created": 0.0,
                "xgot": 0.0057,
                "ball_carries": 24.4667,
                "total_progression": 90.3958,
                "progressive_carries": 1.1779,
                "key_pass": 0.3448,
                "shots_off_target": 0.3019,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.561,
                "opponent_faced": "Javier Hernández",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.31 (squad xG sum 1.1245, xG scale 1.1667, xA scale 1.1667, team xA 0.98 = 0.74 x lambda)",
              "stats": {
                "interceptions": 1.1612,
                "tackles": 1.643,
                "tackles_won": 1.0235,
                "clearances": 5.7661,
                "aerial_won": 1.9119,
                "total_shots": 0.4688,
                "rating": 6.8777,
                "minutes": 84.51,
                "total_pass": 54.9113,
                "accurate_pass": 49.0891,
                "duels_won": 5.5213,
                "total_long_balls": 4.1586,
                "accurate_long_balls": 1.2816,
                "total_own_half_passes": 35.1111,
                "accurate_own_half_passes": 33.2922,
                "total_opp_half_passes": 19.8003,
                "accurate_opp_half_passes": 15.7968,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 71.2768,
                "possession_lost": 7.4659,
                "dispossessed": 0.5426,
                "duels_lost": 3.4371,
                "aerial_lost": 1.9297,
                "total_contest": 0.4252,
                "won_contest": 0.3192,
                "ball_recovery": 5.85,
                "challenges_lost": 0.3773,
                "fouls": 0.4828,
                "fouls_drawn": 1.2866,
                "blocks": 0.3634,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.006,
                "expected_assists": 0.0116,
                "shots_on_target": 0.1669,
                "big_chances_created": 0.0,
                "xgot": 0.0067,
                "ball_carries": 24.4667,
                "total_progression": 90.3958,
                "progressive_carries": 1.1779,
                "key_pass": 0.3448,
                "shots_off_target": 0.3019,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.561,
                "opponent_faced": "Javier Hernández",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9074,
                "creation_factor": 0.8347
              },
              "params": {
                "team_lambda": 1.312,
                "squad_xg_sum": 1.1245,
                "squad_xa_sum": 0.8366,
                "team_expected_assists": 0.9761,
                "team_xa_to_xg_ratio": 0.744,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1667,
                "xa_scale": 1.1667,
                "opponent_lambda": 1.46,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 6 by projected rating, fifa_overall 69.0)",
              "stats": {
                "interceptions": 1.1612,
                "tackles": 1.643,
                "tackles_won": 1.0235,
                "clearances": 5.7661,
                "aerial_won": 1.9119,
                "total_shots": 0.4688,
                "rating": 6.8777,
                "minutes": 84.51,
                "total_pass": 54.9113,
                "accurate_pass": 49.0891,
                "duels_won": 5.5213,
                "total_long_balls": 4.1586,
                "accurate_long_balls": 1.2816,
                "total_own_half_passes": 35.1111,
                "accurate_own_half_passes": 33.2922,
                "total_opp_half_passes": 19.8003,
                "accurate_opp_half_passes": 15.7968,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 71.2768,
                "possession_lost": 7.4659,
                "dispossessed": 0.5426,
                "duels_lost": 3.4371,
                "aerial_lost": 1.9297,
                "total_contest": 0.4252,
                "won_contest": 0.3192,
                "ball_recovery": 5.85,
                "challenges_lost": 0.3773,
                "fouls": 0.4828,
                "fouls_drawn": 1.2866,
                "blocks": 0.3634,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.006,
                "expected_assists": 0.0116,
                "shots_on_target": 0.1669,
                "big_chances_created": 0.0,
                "xgot": 0.0067,
                "ball_carries": 24.4667,
                "total_progression": 90.3958,
                "progressive_carries": 1.1779,
                "key_pass": 0.3448,
                "shots_off_target": 0.3019,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.561,
                "opponent_faced": "Javier Hernández",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9074,
                "creation_factor": 0.8347,
                "fifa_overall": 69.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": 5500,
                "fifa_rank": 6968.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.1612,
                "tackles": 1.643,
                "tackles_won": 1.0235,
                "clearances": 5.7661,
                "aerial_won": 1.9119,
                "total_shots": 0.4688,
                "rating": 6.8777,
                "minutes": 84.51,
                "total_pass": 54.9113,
                "accurate_pass": 49.0891,
                "duels_won": 5.5213,
                "total_long_balls": 4.1586,
                "accurate_long_balls": 1.2816,
                "total_own_half_passes": 35.1111,
                "accurate_own_half_passes": 33.2922,
                "total_opp_half_passes": 19.8003,
                "accurate_opp_half_passes": 15.7968,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 71.2768,
                "possession_lost": 7.4659,
                "dispossessed": 0.5426,
                "duels_lost": 3.4371,
                "aerial_lost": 1.9297,
                "total_contest": 0.4252,
                "won_contest": 0.3192,
                "ball_recovery": 5.85,
                "challenges_lost": 0.3773,
                "fouls": 0.4828,
                "fouls_drawn": 1.2866,
                "blocks": 0.3634,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.006,
                "expected_assists": 0.0116,
                "shots_on_target": 0.1669,
                "big_chances_created": 0.0,
                "xgot": 0.0067,
                "ball_carries": 24.4667,
                "total_progression": 90.3958,
                "progressive_carries": 1.1779,
                "key_pass": 0.3448,
                "shots_off_target": 0.3019,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.561,
                "opponent_faced": "Javier Hernández",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.006,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9074,
                "creation_factor": 0.8347,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.006,
                "goal_rate": 0.0,
                "scorer_weight": 0.0054,
                "squad_weight_total": 1.3832,
                "weight_share": 0.0039,
                "finishing_factor": 0.9074,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.5461,
                    "already": 0,
                    "effective_weight": 0.5461,
                    "runner_up": "Andrés Martín",
                    "runner_up_effective_weight": 0.2591
                  }
                ]
              }
            },
            {
              "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.1612,
                "tackles": 1.643,
                "tackles_won": 1.0235,
                "clearances": 5.7661,
                "aerial_won": 1.9119,
                "total_shots": 0.4688,
                "rating": 6.8777,
                "minutes": 84.51,
                "total_pass": 54.9113,
                "accurate_pass": 49.0891,
                "duels_won": 5.5213,
                "total_long_balls": 4.1586,
                "accurate_long_balls": 1.2816,
                "total_own_half_passes": 35.1111,
                "accurate_own_half_passes": 33.2922,
                "total_opp_half_passes": 19.8003,
                "accurate_opp_half_passes": 15.7968,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 71.2768,
                "possession_lost": 7.4659,
                "dispossessed": 0.5426,
                "duels_lost": 3.4371,
                "aerial_lost": 1.9297,
                "total_contest": 0.4252,
                "won_contest": 0.3192,
                "ball_recovery": 5.85,
                "challenges_lost": 0.3773,
                "fouls": 0.4828,
                "fouls_drawn": 1.2866,
                "blocks": 0.3634,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.006,
                "expected_assists": 0.0116,
                "shots_on_target": 0.1669,
                "big_chances_created": 0.0,
                "xgot": 0.0067,
                "ball_carries": 24.4667,
                "total_progression": 90.3958,
                "progressive_carries": 1.1779,
                "key_pass": 0.3448,
                "shots_off_target": 0.3019,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.561,
                "opponent_faced": "Javier Hernández",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.006,
                "projected_assists": 0,
                "assist_probability": 0.0115,
                "finishing_factor": 0.9074,
                "creation_factor": 0.8347,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0115,
                "assist_rate": 0.0,
                "provider_weight": 0.0097,
                "squad_weight_total": 0.9828,
                "weight_share": 0.0099,
                "creation_factor": 0.8347,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.3651,
                    "already": 0,
                    "effective_weight": 0.3651,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.1384,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Alvaro Mantilla": {
          "player_id": 1010792,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 2,
          "height": 182,
          "market_value": 1200000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7205,
            "minutes": 87,
            "total_pass": 42,
            "accurate_pass": 32,
            "duels_won": 5,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 15,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 65,
            "possession_lost": 16.1486,
            "dispossessed": 0.2807,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0133,
            "expected_assists": 0.0247,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 11,
            "total_progression": 41,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.8,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.738,
            "opponent_faced": "Roberto Fernández",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0132,
            "projected_assists": 0,
            "assist_probability": 0.0244,
            "finishing_factor": 0.8143,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421078,
              "match_date": "2026-10-18",
              "home_team": "Osasuna",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0139,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 48,
                "tackles": 6,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 8,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0064,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 19,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "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": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 63,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0328,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 41,
                "tackles": 3,
                "tackles_won": 2,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0058,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 33,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 89,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0694,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 20,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0042,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 25,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 9,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0077,
                "total_shots": 0,
                "total_pass": 55,
                "accurate_pass": 36,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1743,
                "expected_assists": 0.0505,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 16,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2732,
            "combined_rank_score": 1276.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 948.0,
            "sofascore_rating": 6.4333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1604.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7205,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alvaro Mantilla",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Dan Edwards",
                  "ranking": 2727
                },
                {
                  "player_name": "Bartra",
                  "ranking": 2728
                },
                {
                  "player_name": "İsmail Yüksek",
                  "ranking": 2729
                },
                {
                  "player_name": "Enzo Monteiro",
                  "ranking": 2730
                },
                {
                  "player_name": "Max Ebong",
                  "ranking": 2731
                }
              ],
              "lower": [
                {
                  "player_name": "Miguel Silveira",
                  "ranking": 2733
                },
                {
                  "player_name": "Alexis Rodríguez",
                  "ranking": 2734
                },
                {
                  "player_name": "Carmelo Algarañaz",
                  "ranking": 2735
                },
                {
                  "player_name": "Marcos Bolados",
                  "ranking": 2736
                },
                {
                  "player_name": "Carlos Salomón",
                  "ranking": 2737
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.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"
            ],
            "market_value_adjustment": 0.9922,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 8 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.0228,
                "tackles": 2.381,
                "tackles_won": 1.3552,
                "clearances": 2.8116,
                "aerial_won": 1.226,
                "total_shots": 0.3428,
                "rating": 6.7205,
                "minutes": 86.7,
                "total_pass": 42.2418,
                "accurate_pass": 31.8095,
                "duels_won": 4.7604,
                "total_long_balls": 2.5521,
                "accurate_long_balls": 0.5235,
                "total_own_half_passes": 19.7605,
                "accurate_own_half_passes": 16.5986,
                "total_opp_half_passes": 22.4813,
                "accurate_opp_half_passes": 15.2109,
                "crosses_total": 1.4619,
                "crosses_accurate": 0.0,
                "touches": 65.5028,
                "possession_lost": 16.2755,
                "dispossessed": 0.2829,
                "duels_lost": 3.3953,
                "aerial_lost": 1.0899,
                "total_contest": 0.48,
                "won_contest": 0.149,
                "ball_recovery": 3.8186,
                "challenges_lost": 0.8758,
                "fouls": 1.0879,
                "fouls_drawn": 0.2405,
                "blocks": 0.3257,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0115,
                "expected_assists": 0.0214,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.9422,
                "total_progression": 41.0196,
                "progressive_carries": 0.7023,
                "key_pass": 0.1266,
                "shots_off_target": 0.3428
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:05:47.447103+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 626,
                    "rows": 21426
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2062,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1753,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.149,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1266,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.1076,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0915,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0778,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0661,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 8.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.3416,
                  "aerialWon": 1.5129,
                  "totalClearance_p90": 3.3501,
                  "totalTackle": 2.858,
                  "defensive_actions": 3.6485
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0227631330490112,
                    "model_output": 1.0228,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2909
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0422
                      },
                      {
                        "name": "touches",
                        "importance": 0.0304
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0294
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.8603,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1131
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0425
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0248
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0234
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.02
                        }
                      ],
                      "others": 0.1201,
                      "total": 1.0228,
                      "log_link": true,
                      "margin_base": -0.150447,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.12347
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.044682
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.027023
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.026164
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.022445
                        }
                      ],
                      "others_margin": 0.124909
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.381037950515747,
                    "model_output": 2.381,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2494
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0709
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0459
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0405
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 1.3831,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2115
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1679
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1111
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.1061
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1087
                        }
                      ],
                      "others": 0.2926,
                      "total": 2.381,
                      "log_link": true,
                      "margin_base": 0.324299,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.1423
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.100091
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.061118
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.055081
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.053475
                        }
                      ],
                      "others_margin": 0.131172
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.3552333116531372,
                    "model_output": 1.3552,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2138
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0741
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0462
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0368
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0292
                      }
                    ],
                    "decomposition": {
                      "base": 0.845,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1282
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0938
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0723
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0553
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0486
                        }
                      ],
                      "others": 0.112,
                      "total": 1.3552,
                      "log_link": true,
                      "margin_base": -0.168402,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.141253
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.09206
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.065571
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.047417
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.039872
                        }
                      ],
                      "others_margin": 0.086203
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.811554431915283,
                    "model_output": 2.8116,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2886
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0929
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0369
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.02
                      }
                    ],
                    "decomposition": {
                      "base": 3.4251,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4298
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.3582
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2408
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.1037
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0967
                        }
                      ],
                      "others": -0.2439,
                      "total": 2.8116,
                      "log_link": true,
                      "margin_base": 1.231123,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.118207
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.097516
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.071337
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.032376
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.031172
                        }
                      ],
                      "others_margin": -0.083192
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.225974202156067,
                    "model_output": 1.226,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1614
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1578
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0791
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 1.3852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1543
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0555
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.046
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0325
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0304
                        }
                      ],
                      "others": -0.1491,
                      "total": 1.226,
                      "log_link": true,
                      "margin_base": 0.325816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.105584
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.036738
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.031457
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.022849
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.021865
                        }
                      ],
                      "others_margin": -0.114755
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3427634835243225,
                    "model_output": 0.3428,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0997
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0736
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.034
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0332
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.4749,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1291
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0517
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0295
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0101
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0095
                        }
                      ],
                      "others": -0.0448,
                      "total": 0.3428,
                      "log_link": false,
                      "margin_base": 0.47494,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.129147
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.051707
                        },
                        {
                          "name": "rating",
                          "margin": -0.029519
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.010111
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.009505
                        }
                      ],
                      "others_margin": -0.044833
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.720451831817627,
                    "model_output": 6.7205,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0694
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0576
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.055
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.7904,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0197
                        },
                        {
                          "name": "rating",
                          "contribution": -0.015
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0146
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0142
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0128
                        }
                      ],
                      "others": -0.0586,
                      "total": 6.7205,
                      "log_link": false,
                      "margin_base": 6.790384,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.019707
                        },
                        {
                          "name": "rating",
                          "margin": -0.015006
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.01459
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.014168
                        },
                        {
                          "name": "touches",
                          "margin": 0.012828
                        }
                      ],
                      "others_margin": -0.058702
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 8,
                  "role_matches": 8,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9922, quality 0.437)",
              "stats": {
                "interceptions": 1.0148,
                "tackles": 2.3625,
                "tackles_won": 1.3447,
                "clearances": 2.7896,
                "aerial_won": 1.2164,
                "total_shots": 0.3401,
                "rating": 6.7205,
                "minutes": 86.7,
                "total_pass": 41.9123,
                "accurate_pass": 31.5614,
                "duels_won": 4.7233,
                "total_long_balls": 2.5322,
                "accurate_long_balls": 0.5194,
                "total_own_half_passes": 19.6064,
                "accurate_own_half_passes": 16.4691,
                "total_opp_half_passes": 22.3059,
                "accurate_opp_half_passes": 15.0923,
                "crosses_total": 1.4505,
                "crosses_accurate": 0.0,
                "touches": 64.9919,
                "possession_lost": 16.1486,
                "dispossessed": 0.2807,
                "duels_lost": 3.3688,
                "aerial_lost": 1.0814,
                "total_contest": 0.4763,
                "won_contest": 0.1478,
                "ball_recovery": 3.7888,
                "challenges_lost": 0.869,
                "fouls": 1.0794,
                "fouls_drawn": 0.2386,
                "blocks": 0.3232,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0114,
                "expected_assists": 0.0212,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.8569,
                "total_progression": 40.6996,
                "progressive_carries": 0.6968,
                "key_pass": 0.1256,
                "shots_off_target": 0.3401
              },
              "params": {
                "market_value_eur": 1200000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9922,
                "reference_quality": 0.505,
                "history_matches": 8,
                "history_shrink": 0.3846,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0148,
                "tackles": 2.3625,
                "tackles_won": 1.3447,
                "clearances": 2.7896,
                "aerial_won": 1.2164,
                "total_shots": 0.3401,
                "rating": 6.7205,
                "minutes": 86.7,
                "total_pass": 41.9123,
                "accurate_pass": 31.5614,
                "duels_won": 4.7233,
                "total_long_balls": 2.5322,
                "accurate_long_balls": 0.5194,
                "total_own_half_passes": 19.6064,
                "accurate_own_half_passes": 16.4691,
                "total_opp_half_passes": 22.3059,
                "accurate_opp_half_passes": 15.0923,
                "crosses_total": 1.4505,
                "crosses_accurate": 0.0,
                "touches": 64.9919,
                "possession_lost": 16.1486,
                "dispossessed": 0.2807,
                "duels_lost": 3.3688,
                "aerial_lost": 1.0814,
                "total_contest": 0.4763,
                "won_contest": 0.1478,
                "ball_recovery": 3.7888,
                "challenges_lost": 0.869,
                "fouls": 1.0794,
                "fouls_drawn": 0.2386,
                "blocks": 0.3232,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0114,
                "expected_assists": 0.0212,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.8569,
                "total_progression": 40.6996,
                "progressive_carries": 0.6968,
                "key_pass": 0.1256,
                "shots_off_target": 0.3401
              },
              "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.0148,
                "tackles": 2.3625,
                "tackles_won": 1.3447,
                "clearances": 2.7896,
                "aerial_won": 1.2164,
                "total_shots": 0.3401,
                "rating": 6.7205,
                "minutes": 86.7,
                "total_pass": 41.9123,
                "accurate_pass": 31.5614,
                "duels_won": 4.7233,
                "total_long_balls": 2.5322,
                "accurate_long_balls": 0.5194,
                "total_own_half_passes": 19.6064,
                "accurate_own_half_passes": 16.4691,
                "total_opp_half_passes": 22.3059,
                "accurate_opp_half_passes": 15.0923,
                "crosses_total": 1.4505,
                "crosses_accurate": 0.0,
                "touches": 64.9919,
                "possession_lost": 16.1486,
                "dispossessed": 0.2807,
                "duels_lost": 3.3688,
                "aerial_lost": 1.0814,
                "total_contest": 0.4763,
                "won_contest": 0.1478,
                "ball_recovery": 3.7888,
                "challenges_lost": 0.869,
                "fouls": 1.0794,
                "fouls_drawn": 0.2386,
                "blocks": 0.3232,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0114,
                "expected_assists": 0.0212,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.8569,
                "total_progression": 40.6996,
                "progressive_carries": 0.6968,
                "key_pass": 0.1256,
                "shots_off_target": 0.3401,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.738,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Roberto Fernández",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0148,
                "tackles": 2.3625,
                "tackles_won": 1.3447,
                "clearances": 2.7896,
                "aerial_won": 1.2164,
                "total_shots": 0.3401,
                "rating": 6.7205,
                "minutes": 86.7,
                "total_pass": 41.9123,
                "accurate_pass": 31.5614,
                "duels_won": 4.7233,
                "total_long_balls": 2.5322,
                "accurate_long_balls": 0.5194,
                "total_own_half_passes": 19.6064,
                "accurate_own_half_passes": 16.4691,
                "total_opp_half_passes": 22.3059,
                "accurate_opp_half_passes": 15.0923,
                "crosses_total": 1.4505,
                "crosses_accurate": 0.0,
                "touches": 64.9919,
                "possession_lost": 16.1486,
                "dispossessed": 0.2807,
                "duels_lost": 3.3688,
                "aerial_lost": 1.0814,
                "total_contest": 0.4763,
                "won_contest": 0.1478,
                "ball_recovery": 3.7888,
                "challenges_lost": 0.869,
                "fouls": 1.0794,
                "fouls_drawn": 0.2386,
                "blocks": 0.3232,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0114,
                "expected_assists": 0.0212,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.8569,
                "total_progression": 40.6996,
                "progressive_carries": 0.6968,
                "key_pass": 0.1256,
                "shots_off_target": 0.3401,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.738,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.31 (squad xG sum 1.1245, xG scale 1.1667, xA scale 1.1667, team xA 0.98 = 0.74 x lambda)",
              "stats": {
                "interceptions": 1.0148,
                "tackles": 2.3625,
                "tackles_won": 1.3447,
                "clearances": 2.7896,
                "aerial_won": 1.2164,
                "total_shots": 0.3401,
                "rating": 6.7205,
                "minutes": 86.7,
                "total_pass": 41.9123,
                "accurate_pass": 31.5614,
                "duels_won": 4.7233,
                "total_long_balls": 2.5322,
                "accurate_long_balls": 0.5194,
                "total_own_half_passes": 19.6064,
                "accurate_own_half_passes": 16.4691,
                "total_opp_half_passes": 22.3059,
                "accurate_opp_half_passes": 15.0923,
                "crosses_total": 1.4505,
                "crosses_accurate": 0.0,
                "touches": 64.9919,
                "possession_lost": 16.1486,
                "dispossessed": 0.2807,
                "duels_lost": 3.3688,
                "aerial_lost": 1.0814,
                "total_contest": 0.4763,
                "won_contest": 0.1478,
                "ball_recovery": 3.7888,
                "challenges_lost": 0.869,
                "fouls": 1.0794,
                "fouls_drawn": 0.2386,
                "blocks": 0.3232,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0133,
                "expected_assists": 0.0247,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.8569,
                "total_progression": 40.6996,
                "progressive_carries": 0.6968,
                "key_pass": 0.1256,
                "shots_off_target": 0.3401,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.738,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8143,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.312,
                "squad_xg_sum": 1.1245,
                "squad_xa_sum": 0.8366,
                "team_expected_assists": 0.9761,
                "team_xa_to_xg_ratio": 0.744,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1667,
                "xa_scale": 1.1667,
                "opponent_lambda": 1.46,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 12 by projected rating, fifa_overall 77.0)",
              "stats": {
                "interceptions": 1.0148,
                "tackles": 2.3625,
                "tackles_won": 1.3447,
                "clearances": 2.7896,
                "aerial_won": 1.2164,
                "total_shots": 0.3401,
                "rating": 6.7205,
                "minutes": 86.7,
                "total_pass": 41.9123,
                "accurate_pass": 31.5614,
                "duels_won": 4.7233,
                "total_long_balls": 2.5322,
                "accurate_long_balls": 0.5194,
                "total_own_half_passes": 19.6064,
                "accurate_own_half_passes": 16.4691,
                "total_opp_half_passes": 22.3059,
                "accurate_opp_half_passes": 15.0923,
                "crosses_total": 1.4505,
                "crosses_accurate": 0.0,
                "touches": 64.9919,
                "possession_lost": 16.1486,
                "dispossessed": 0.2807,
                "duels_lost": 3.3688,
                "aerial_lost": 1.0814,
                "total_contest": 0.4763,
                "won_contest": 0.1478,
                "ball_recovery": 3.7888,
                "challenges_lost": 0.869,
                "fouls": 1.0794,
                "fouls_drawn": 0.2386,
                "blocks": 0.3232,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0133,
                "expected_assists": 0.0247,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.8569,
                "total_progression": 40.6996,
                "progressive_carries": 0.6968,
                "key_pass": 0.1256,
                "shots_off_target": 0.3401,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.738,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8143,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2732,
                "fifa_rank": 1604.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.0148,
                "tackles": 2.3625,
                "tackles_won": 1.3447,
                "clearances": 2.7896,
                "aerial_won": 1.2164,
                "total_shots": 0.3401,
                "rating": 6.7205,
                "minutes": 86.7,
                "total_pass": 41.9123,
                "accurate_pass": 31.5614,
                "duels_won": 4.7233,
                "total_long_balls": 2.5322,
                "accurate_long_balls": 0.5194,
                "total_own_half_passes": 19.6064,
                "accurate_own_half_passes": 16.4691,
                "total_opp_half_passes": 22.3059,
                "accurate_opp_half_passes": 15.0923,
                "crosses_total": 1.4505,
                "crosses_accurate": 0.0,
                "touches": 64.9919,
                "possession_lost": 16.1486,
                "dispossessed": 0.2807,
                "duels_lost": 3.3688,
                "aerial_lost": 1.0814,
                "total_contest": 0.4763,
                "won_contest": 0.1478,
                "ball_recovery": 3.7888,
                "challenges_lost": 0.869,
                "fouls": 1.0794,
                "fouls_drawn": 0.2386,
                "blocks": 0.3232,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0133,
                "expected_assists": 0.0247,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.8569,
                "total_progression": 40.6996,
                "progressive_carries": 0.6968,
                "key_pass": 0.1256,
                "shots_off_target": 0.3401,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.738,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0132,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8143,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0132,
                "goal_rate": 0.0,
                "scorer_weight": 0.0108,
                "squad_weight_total": 1.3832,
                "weight_share": 0.0078,
                "finishing_factor": 0.8143,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.5461,
                    "already": 0,
                    "effective_weight": 0.5461,
                    "runner_up": "Andrés Martín",
                    "runner_up_effective_weight": 0.2591
                  }
                ]
              }
            },
            {
              "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.0148,
                "tackles": 2.3625,
                "tackles_won": 1.3447,
                "clearances": 2.7896,
                "aerial_won": 1.2164,
                "total_shots": 0.3401,
                "rating": 6.7205,
                "minutes": 86.7,
                "total_pass": 41.9123,
                "accurate_pass": 31.5614,
                "duels_won": 4.7233,
                "total_long_balls": 2.5322,
                "accurate_long_balls": 0.5194,
                "total_own_half_passes": 19.6064,
                "accurate_own_half_passes": 16.4691,
                "total_opp_half_passes": 22.3059,
                "accurate_opp_half_passes": 15.0923,
                "crosses_total": 1.4505,
                "crosses_accurate": 0.0,
                "touches": 64.9919,
                "possession_lost": 16.1486,
                "dispossessed": 0.2807,
                "duels_lost": 3.3688,
                "aerial_lost": 1.0814,
                "total_contest": 0.4763,
                "won_contest": 0.1478,
                "ball_recovery": 3.7888,
                "challenges_lost": 0.869,
                "fouls": 1.0794,
                "fouls_drawn": 0.2386,
                "blocks": 0.3232,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0133,
                "expected_assists": 0.0247,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.8569,
                "total_progression": 40.6996,
                "progressive_carries": 0.6968,
                "key_pass": 0.1256,
                "shots_off_target": 0.3401,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.738,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0132,
                "projected_assists": 0,
                "assist_probability": 0.0244,
                "finishing_factor": 0.8143,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0244,
                "assist_rate": 0.0,
                "provider_weight": 0.0198,
                "squad_weight_total": 0.9828,
                "weight_share": 0.0201,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.3651,
                    "already": 0,
                    "effective_weight": 0.3651,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.1384,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Julen Agirrezabala": {
          "player_id": 1014412,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 13,
          "height": 187,
          "market_value": 6500000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.3852,
            "rating": 7.1118,
            "minutes": 90,
            "total_pass": 22,
            "accurate_pass": 17,
            "total_long_balls": 7,
            "accurate_long_balls": 3,
            "touches": 35,
            "clearances": 1,
            "ball_recovery": 9,
            "high_claims": 1,
            "punches": 1.1583,
            "aerial_won": 0,
            "sweeper_actions": 2,
            "sweeper_accurate": 1,
            "saves_inside_box": 2,
            "possession_lost": 4.7851,
            "duels_won": 1,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 17,
            "accurate_own_half_passes": 16,
            "gk_engine_opponent_lambda": 1.4702,
            "shots_faced": 13.9,
            "expected_saves": 3.41,
            "high_pressure_saves": 1.17,
            "opponent_faced": "Roberto Fernández, Javier Hernández",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "defensive_duel",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16421078,
              "match_date": "2026-10-18",
              "home_team": "Osasuna",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 8.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 20,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 6,
                "saves": 5,
                "goals_prevented": 2.5191
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 16,
                "interceptions": 1,
                "ball_recovery": 8,
                "goals_prevented": -0.6542
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 14,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 9,
                "saves": 4,
                "goals_prevented": -1.331
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 19,
                "clearances": 3,
                "ball_recovery": 9,
                "saves": 3,
                "goals_prevented": -2.5941
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 8.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 17,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 9,
                "saves": 7,
                "goals_prevented": 1.1052
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0011,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 16,
                "clearances": 1,
                "ball_recovery": 20,
                "saves": 6,
                "goals_prevented": -0.8677
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 14,
                "clearances": 1,
                "ball_recovery": 8,
                "saves": 5,
                "goals_prevented": -0.1012
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 14,
                "clearances": 4,
                "duels_won": 2,
                "ball_recovery": 10,
                "goals_prevented": -0.0081
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 16,
                "clearances": 1,
                "ball_recovery": 8,
                "saves": 5,
                "goals_prevented": -0.5844
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083196,
              "match_date": "2026-01-03",
              "home_team": "Celta Vigo",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 25,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 6,
                "saves": 2,
                "goals_prevented": -0.9823
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 932,
            "combined_rank_score": 433.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 434.0,
            "sofascore_rating": 6.9111,
            "sofascore_appearances": 18.0,
            "fifa_rank": 433.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1118,
            "source_file": "data/player_rankings.csv",
            "player_name": "Julen Agirrezabala",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Karim Adeyemi",
                  "ranking": 927
                },
                {
                  "player_name": "Marlon Maranhão",
                  "ranking": 928
                },
                {
                  "player_name": "Islom Kenzhaboev",
                  "ranking": 929
                },
                {
                  "player_name": "Isco",
                  "ranking": 930
                },
                {
                  "player_name": "Karim Benzema",
                  "ranking": 931
                }
              ],
              "lower": [
                {
                  "player_name": "Koen Casteels",
                  "ranking": 933
                },
                {
                  "player_name": "Danilo Pereira",
                  "ranking": 934
                },
                {
                  "player_name": "David Soria",
                  "ranking": 935
                },
                {
                  "player_name": "Jasurbek Jaloliddinov",
                  "ranking": 936
                },
                {
                  "player_name": "Kalidou Koulibaly",
                  "ranking": 937
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 27,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "G_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "accurateLongBalls",
              "totalOwnHalfPasses",
              "accurateOwnHalfPasses",
              "saves",
              "savedShotsFromInsideTheBox",
              "goodHighClaim",
              "punches",
              "aerialWon",
              "totalKeeperSweeper",
              "accurateKeeperSweeper",
              "totalClearance",
              "ballRecovery",
              "touches",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "goalsPrevented",
              "rating",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 27,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9989,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (G_service) evaluated 27 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.7376,
                "goals_prevented": 0.3857,
                "rating": 7.1118,
                "minutes": 90.0,
                "total_pass": 21.988,
                "accurate_pass": 17.2026,
                "total_long_balls": 7.3752,
                "accurate_long_balls": 2.5925,
                "touches": 35.4497,
                "clearances": 1.3287,
                "ball_recovery": 8.5744,
                "high_claims": 1.2029,
                "punches": 1.1596,
                "aerial_won": 0.3197,
                "sweeper_actions": 1.5126,
                "sweeper_accurate": 1.4253,
                "saves_inside_box": 2.4903,
                "possession_lost": 4.7904,
                "duels_won": 0.7769,
                "duels_lost": 0.1195,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2589,
                "total_own_half_passes": 16.9269,
                "accurate_own_half_passes": 15.8656
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-24T10:04:55.355626+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 200,
                    "rows": 7186
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1519,
                    "rating": 8.6
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1291,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1097,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0933,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0793,
                    "rating": 8.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0674,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0573,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0487,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0414,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0352,
                    "rating": 6.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "possessionLostCtrl": 4.7904,
                  "distribution_accuracy": 0.9419,
                  "saves": 3.5063,
                  "goalkeeperValueNormalized": 0.2047,
                  "save_contribution": 3.3545,
                  "accurateOwnHalfPasses": 15.8657
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.7375986576080322,
                    "model_output": 2.7376,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "saves",
                        "importance": 0.0396
                      },
                      {
                        "name": "save_contribution",
                        "importance": 0.0396
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0361
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0356
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 2.9357,
                      "items": [
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0782
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0586
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0202
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": -0.0159
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0154
                        }
                      ],
                      "others": -0.0406,
                      "total": 2.7376,
                      "log_link": true,
                      "margin_base": 1.076962,
                      "item_margins": [
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.027011
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.020729
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.00726
                        },
                        {
                          "name": "inside_box_save_rate",
                          "margin": -0.005738
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.005551
                        }
                      ],
                      "others_margin": -0.014695
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.38567349314689636,
                    "model_output": 0.3857,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0403
                      },
                      {
                        "name": "punches",
                        "importance": 0.0402
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.039
                      },
                      {
                        "name": "goodHighClaim",
                        "importance": 0.0381
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0377
                      }
                    ],
                    "decomposition": {
                      "base": -0.0276,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1691
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0846
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0538
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0372
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0362
                        }
                      ],
                      "others": 0.0324,
                      "total": 0.3857,
                      "log_link": false,
                      "margin_base": -0.027557,
                      "item_margins": [
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.169092
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.084642
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.053829
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.037201
                        },
                        {
                          "name": "rating",
                          "margin": 0.036222
                        }
                      ],
                      "others_margin": 0.032244
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.111810684204102,
                    "model_output": 7.1118,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "saves",
                        "importance": 0.0419
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0397
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0368
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0351
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0351
                      }
                    ],
                    "decomposition": {
                      "base": 6.9908,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1245
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0282
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.025
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": -0.0226
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0217
                        }
                      ],
                      "others": -0.0058,
                      "total": 7.1118,
                      "log_link": false,
                      "margin_base": 6.990849,
                      "item_margins": [
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.124509
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.028232
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.025027
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "margin": -0.022583
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.021683
                        }
                      ],
                      "others_margin": -0.005852
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 27,
                  "role_matches": 27,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9989, quality 0.481)",
              "stats": {
                "saves": 2.7346,
                "goals_prevented": 0.3852,
                "rating": 7.1118,
                "minutes": 90.0,
                "total_pass": 21.9638,
                "accurate_pass": 17.1837,
                "total_long_balls": 7.3671,
                "accurate_long_balls": 2.5896,
                "touches": 35.4107,
                "clearances": 1.3272,
                "ball_recovery": 8.565,
                "high_claims": 1.2016,
                "punches": 1.1583,
                "aerial_won": 0.3193,
                "sweeper_actions": 1.5109,
                "sweeper_accurate": 1.4237,
                "saves_inside_box": 2.4876,
                "possession_lost": 4.7851,
                "duels_won": 0.776,
                "duels_lost": 0.1194,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2586,
                "total_own_half_passes": 16.9083,
                "accurate_own_half_passes": 15.8481
              },
              "params": {
                "market_value_eur": 6500000,
                "quality_factor": 0.4805,
                "boost_factor": 0.9989,
                "reference_quality": 0.505,
                "history_matches": 27,
                "history_shrink": 0.1562,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0203)",
              "stats": {
                "saves": 2.7468,
                "goals_prevented": 0.3852,
                "rating": 7.1118,
                "minutes": 90.0,
                "total_pass": 21.9638,
                "accurate_pass": 17.1837,
                "total_long_balls": 7.3671,
                "accurate_long_balls": 2.5896,
                "touches": 35.4107,
                "clearances": 1.3272,
                "ball_recovery": 8.565,
                "high_claims": 1.2016,
                "punches": 1.1583,
                "aerial_won": 0.3193,
                "sweeper_actions": 1.5109,
                "sweeper_accurate": 1.4237,
                "saves_inside_box": 2.4876,
                "possession_lost": 4.7851,
                "duels_won": 0.776,
                "duels_lost": 0.1194,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2669,
                "total_own_half_passes": 16.9083,
                "accurate_own_half_passes": 15.8481
              },
              "params": {
                "blend_weight": 0.0203,
                "history_matches": 27,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.7346,
                  "after": 2.7468
                },
                {
                  "stat": "wasFouled",
                  "before": 0.2586,
                  "after": 0.2669
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.7468,
                "goals_prevented": 0.3852,
                "rating": 7.1118,
                "minutes": 90.0,
                "total_pass": 21.9638,
                "accurate_pass": 17.1837,
                "total_long_balls": 7.3671,
                "accurate_long_balls": 2.5896,
                "touches": 35.4107,
                "clearances": 1.3272,
                "ball_recovery": 8.565,
                "high_claims": 1.2016,
                "punches": 1.1583,
                "aerial_won": 0.3193,
                "sweeper_actions": 1.5109,
                "sweeper_accurate": 1.4237,
                "saves_inside_box": 2.4876,
                "possession_lost": 4.7851,
                "duels_won": 0.776,
                "duels_lost": 0.1194,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2669,
                "total_own_half_passes": 16.9083,
                "accurate_own_half_passes": 15.8481
              },
              "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.7468,
                "goals_prevented": 0.3852,
                "rating": 7.1118,
                "minutes": 90.0,
                "total_pass": 21.9638,
                "accurate_pass": 17.1837,
                "total_long_balls": 7.3671,
                "accurate_long_balls": 2.5896,
                "touches": 35.4107,
                "clearances": 1.3272,
                "ball_recovery": 8.565,
                "high_claims": 1.2016,
                "punches": 1.1583,
                "aerial_won": 0.3193,
                "sweeper_actions": 1.5109,
                "sweeper_accurate": 1.4237,
                "saves_inside_box": 2.4876,
                "possession_lost": 4.7851,
                "duels_won": 0.776,
                "duels_lost": 0.1194,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2669,
                "total_own_half_passes": 16.9083,
                "accurate_own_half_passes": 15.8481,
                "gk_engine_opponent_lambda": 1.4702,
                "shots_faced": 14.0,
                "expected_saves": 3.43,
                "high_pressure_saves": 1.18,
                "opponent_faced": "Roberto Fernández, Javier Hernández",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Roberto Fernández, Javier Hernández",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.4702
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "saves": 2.7468,
                "goals_prevented": 0.3852,
                "rating": 7.1118,
                "minutes": 90.0,
                "total_pass": 21.9638,
                "accurate_pass": 17.1837,
                "total_long_balls": 7.3671,
                "accurate_long_balls": 2.5896,
                "touches": 35.4107,
                "clearances": 1.3272,
                "ball_recovery": 8.565,
                "high_claims": 1.2016,
                "punches": 1.1583,
                "aerial_won": 0.3193,
                "sweeper_actions": 1.5109,
                "sweeper_accurate": 1.4237,
                "saves_inside_box": 2.4876,
                "possession_lost": 4.7851,
                "duels_won": 0.776,
                "duels_lost": 0.1194,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2669,
                "total_own_half_passes": 16.9083,
                "accurate_own_half_passes": 15.8481,
                "gk_engine_opponent_lambda": 1.4702,
                "shots_faced": 14.0,
                "expected_saves": 3.43,
                "high_pressure_saves": 1.18,
                "opponent_faced": "Roberto Fernández, Javier Hernández",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.31 (squad xG sum 1.1245, xG scale 1.1667, xA scale 1.1667, team xA 0.98 = 0.74 x lambda)",
              "stats": {
                "saves": 2.7468,
                "goals_prevented": 0.3852,
                "rating": 7.1118,
                "minutes": 90.0,
                "total_pass": 21.9638,
                "accurate_pass": 17.1837,
                "total_long_balls": 7.3671,
                "accurate_long_balls": 2.5896,
                "touches": 35.4107,
                "clearances": 1.3272,
                "ball_recovery": 8.565,
                "high_claims": 1.2016,
                "punches": 1.1583,
                "aerial_won": 0.3193,
                "sweeper_actions": 1.5109,
                "sweeper_accurate": 1.4237,
                "saves_inside_box": 2.4876,
                "possession_lost": 4.7851,
                "duels_won": 0.776,
                "duels_lost": 0.1194,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2669,
                "total_own_half_passes": 16.9083,
                "accurate_own_half_passes": 15.8481,
                "gk_engine_opponent_lambda": 1.4702,
                "shots_faced": 13.9,
                "expected_saves": 3.41,
                "high_pressure_saves": 1.17,
                "opponent_faced": "Roberto Fernández, Javier Hernández",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 1.312,
                "squad_xg_sum": 1.1245,
                "squad_xa_sum": 0.8366,
                "team_expected_assists": 0.9761,
                "team_xa_to_xg_ratio": 0.744,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1667,
                "xa_scale": 1.1667,
                "opponent_lambda": 1.46,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 14.0,
                  "after": 13.9
                },
                {
                  "stat": "expected_saves",
                  "before": 3.43,
                  "after": 3.41
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 1.18,
                  "after": 1.17
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 2 by projected rating, fifa_overall 82.0)",
              "stats": {
                "saves": 2.7468,
                "goals_prevented": 0.3852,
                "rating": 7.1118,
                "minutes": 90.0,
                "total_pass": 21.9638,
                "accurate_pass": 17.1837,
                "total_long_balls": 7.3671,
                "accurate_long_balls": 2.5896,
                "touches": 35.4107,
                "clearances": 1.3272,
                "ball_recovery": 8.565,
                "high_claims": 1.2016,
                "punches": 1.1583,
                "aerial_won": 0.3193,
                "sweeper_actions": 1.5109,
                "sweeper_accurate": 1.4237,
                "saves_inside_box": 2.4876,
                "possession_lost": 4.7851,
                "duels_won": 0.776,
                "duels_lost": 0.1194,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2669,
                "total_own_half_passes": 16.9083,
                "accurate_own_half_passes": 15.8481,
                "gk_engine_opponent_lambda": 1.4702,
                "shots_faced": 13.9,
                "expected_saves": 3.41,
                "high_pressure_saves": 1.17,
                "opponent_faced": "Roberto Fernández, Javier Hernández",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 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": 932,
                "fifa_rank": 433.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 2.7468,
                "goals_prevented": 0.3852,
                "rating": 7.1118,
                "minutes": 90.0,
                "total_pass": 21.9638,
                "accurate_pass": 17.1837,
                "total_long_balls": 7.3671,
                "accurate_long_balls": 2.5896,
                "touches": 35.4107,
                "clearances": 1.3272,
                "ball_recovery": 8.565,
                "high_claims": 1.2016,
                "punches": 1.1583,
                "aerial_won": 0.3193,
                "sweeper_actions": 1.5109,
                "sweeper_accurate": 1.4237,
                "saves_inside_box": 2.4876,
                "possession_lost": 4.7851,
                "duels_won": 0.776,
                "duels_lost": 0.1194,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2669,
                "total_own_half_passes": 16.9083,
                "accurate_own_half_passes": 15.8481,
                "gk_engine_opponent_lambda": 1.4702,
                "shots_faced": 13.9,
                "expected_saves": 3.41,
                "high_pressure_saves": 1.17,
                "opponent_faced": "Roberto Fernández, Javier Hernández",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.3832,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.5461,
                    "already": 0,
                    "effective_weight": 0.5461,
                    "runner_up": "Andrés Martín",
                    "runner_up_effective_weight": 0.2591
                  }
                ]
              }
            },
            {
              "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.7468,
                "goals_prevented": 0.3852,
                "rating": 7.1118,
                "minutes": 90.0,
                "total_pass": 21.9638,
                "accurate_pass": 17.1837,
                "total_long_balls": 7.3671,
                "accurate_long_balls": 2.5896,
                "touches": 35.4107,
                "clearances": 1.3272,
                "ball_recovery": 8.565,
                "high_claims": 1.2016,
                "punches": 1.1583,
                "aerial_won": 0.3193,
                "sweeper_actions": 1.5109,
                "sweeper_accurate": 1.4237,
                "saves_inside_box": 2.4876,
                "possession_lost": 4.7851,
                "duels_won": 0.776,
                "duels_lost": 0.1194,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2669,
                "total_own_half_passes": 16.9083,
                "accurate_own_half_passes": 15.8481,
                "gk_engine_opponent_lambda": 1.4702,
                "shots_faced": 13.9,
                "expected_saves": 3.41,
                "high_pressure_saves": 1.17,
                "opponent_faced": "Roberto Fernández, Javier Hernández",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 0.9828,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.3651,
                    "already": 0,
                    "effective_weight": 0.3651,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.1384,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Matteo Prati": {
          "player_id": 1111640,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 18,
          "height": 182,
          "market_value": 5000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0461,
            "assist_rate": 0.0647,
            "assists": 0,
            "expected_goals": 0.0473,
            "goal_rate": 0.0454,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8438,
            "minutes": 84,
            "total_pass": 42,
            "accurate_pass": 36,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 0,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 18,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 18,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 57,
            "possession_lost": 8.0284,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_won": 0,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 3,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 2,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 1,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 14,
            "total_progression": 32,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "opponent_faced": "Pol Lozano",
            "matchup_zone": "Midfield lane",
            "antagonist_source": "midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0462,
            "projected_assists": 0,
            "assist_probability": 0.0451,
            "finishing_factor": 1.0541,
            "creation_factor": 1.25,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16421078,
              "match_date": "2026-10-18",
              "home_team": "Osasuna",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0255,
                "expected_assists": 0.0166,
                "total_shots": 1,
                "total_pass": 41,
                "accurate_pass": 37,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 2,
                "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": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 87,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0498,
                "expected_assists": 0.0403,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 61,
                "accurate_pass": 55,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 27,
                "interceptions": 1,
                "clearances": 8,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 84,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 26,
                "tackles": 4,
                "tackles_won": 3,
                "clearances": 2,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 55,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0717,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 31,
                "key_pass": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 31,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0141,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 10,
                "interceptions": 1,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4525,
            "combined_rank_score": 2558.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 959.0,
            "sofascore_rating": 6.4,
            "sofascore_appearances": 1.0,
            "fifa_rank": 4158.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8438,
            "source_file": "data/player_rankings.csv",
            "player_name": "Matteo Prati",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "César Huerta",
                  "ranking": 4520
                },
                {
                  "player_name": "Daniel Torres",
                  "ranking": 4521
                },
                {
                  "player_name": "Toni Lato",
                  "ranking": 4522
                },
                {
                  "player_name": "Ben Gannon-Doak",
                  "ranking": 4523
                },
                {
                  "player_name": "Álex Sola",
                  "ranking": 4524
                }
              ],
              "lower": [
                {
                  "player_name": "Kevin Rodriguez",
                  "ranking": 4526
                },
                {
                  "player_name": "Alan Franco",
                  "ranking": 4527
                },
                {
                  "player_name": "Deniz Gül",
                  "ranking": 4528
                },
                {
                  "player_name": "Alejo Véliz",
                  "ranking": 4529
                },
                {
                  "player_name": "Eric Meza",
                  "ranking": 4530
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.629,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.629,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9942,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "minutes": 32.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0267
            },
            "rationale": "XGBoost regressor (M_service) evaluated 6 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Racing Sant, rel: 0.03, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.5411,
                "expected_assists": 0.0397,
                "assists": 0.0656,
                "assist_rate": 0.0656,
                "expected_goals": 0.0407,
                "goals": 0.0461,
                "goal_rate": 0.0461,
                "shots_on_target": 0.1571,
                "total_shots": 0.5893,
                "rating": 6.8438,
                "minutes": 84.14,
                "total_pass": 42.498,
                "accurate_pass": 36.5113,
                "duels_won": 4.6921,
                "total_long_balls": 2.3485,
                "accurate_long_balls": 0.424,
                "total_own_half_passes": 19.8519,
                "accurate_own_half_passes": 18.5912,
                "total_opp_half_passes": 22.6461,
                "accurate_opp_half_passes": 17.9201,
                "crosses_total": 0.1656,
                "crosses_accurate": 0.0,
                "touches": 57.0177,
                "possession_lost": 8.0752,
                "dispossessed": 0.0,
                "duels_lost": 3.4285,
                "aerial_won": 0.4988,
                "aerial_lost": 0.9341,
                "interceptions": 0.6937,
                "tackles_won": 1.4945,
                "tackles": 2.1589,
                "clearances": 2.7989,
                "total_contest": 1.9228,
                "won_contest": 1.104,
                "challenges_lost": 1.5101,
                "fouls": 0.1656,
                "fouls_drawn": 0.9303,
                "blocks": 0.6668,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.9224,
                "total_progression": 32.2156,
                "progressive_carries": 0.1408,
                "shots_off_target": 0.4322
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-24T10:06:41.574598+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 903,
                    "rows": 24475
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Valencia",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1069,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "creative_index": 0.3751,
                  "totalShots": 0.6502,
                  "expectedGoals": 0.0163,
                  "expectedAssists": 0.0241,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.541086733341217,
                    "model_output": 0.5411,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1647
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1377
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0663
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0524
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0316
                      }
                    ],
                    "decomposition": {
                      "base": 0.8945,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.1153
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1034
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.1006
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0525
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0289
                        }
                      ],
                      "others": -0.1595,
                      "total": 0.5411,
                      "log_link": true,
                      "margin_base": -0.111507,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.138008
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124619
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.120995
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.069431
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.040368
                        }
                      ],
                      "others_margin": -0.258487
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0397159568965435,
                    "model_output": 0.0397,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1545
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1048
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1021
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0472
                      }
                    ],
                    "decomposition": {
                      "base": 0.0859,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0167
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0132
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0087
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0081
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0142,
                      "total": 0.0397,
                      "log_link": true,
                      "margin_base": -2.454719,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.216406
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.211099
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.145007
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.13412
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.048786
                        }
                      ],
                      "others_margin": -0.30588
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06561215966939926,
                    "model_output": 0.0656,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0619
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0395
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0343
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 0.0874,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0107
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0076
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0082
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0077
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0046
                        }
                      ],
                      "others": -0.0146,
                      "total": 0.0656,
                      "log_link": true,
                      "margin_base": -2.437263,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.130376
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.094213
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.09276
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.086854
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.055558
                        }
                      ],
                      "others_margin": -0.200917
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04068979620933533,
                    "model_output": 0.0407,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.134
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.074
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0705
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.039
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0273
                      }
                    ],
                    "decomposition": {
                      "base": 0.094,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0353
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0084
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0071
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0038
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0099,
                      "total": 0.0407,
                      "log_link": true,
                      "margin_base": -2.364919,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.471735
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.154498
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.132472
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.06777
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.05812
                        }
                      ],
                      "others_margin": -0.217207
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.046100664883852005,
                    "model_output": 0.0461,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0974
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0527
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0513
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0365
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0993,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0235
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0102
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0088
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0063
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0049
                        }
                      ],
                      "others": -0.0121,
                      "total": 0.0461,
                      "log_link": true,
                      "margin_base": -2.309444,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.269541
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.144325
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.143172
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.105567
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.080713
                        }
                      ],
                      "others_margin": -0.2353
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.1570976972579956,
                    "model_output": 0.1571,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1106
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0885
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0762
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0292
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.326,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0698
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0463
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0312
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0243
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0087
                        }
                      ],
                      "others": -0.051,
                      "total": 0.1571,
                      "log_link": true,
                      "margin_base": -1.120773,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.241045
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.199556
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.138539
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.106078
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.040855
                        }
                      ],
                      "others_margin": -0.28112
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5892771482467651,
                    "model_output": 0.5893,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1261
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1167
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0633
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0419
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.9969,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1863
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1266
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0678
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0436
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.038
                        }
                      ],
                      "others": -0.1985,
                      "total": 0.5893,
                      "log_link": false,
                      "margin_base": 0.996896,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.186289
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.126607
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.067796
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.043585
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.038027
                        }
                      ],
                      "others_margin": -0.198528
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.843753337860107,
                    "model_output": 6.8438,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0947
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0836
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0491
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0438
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.036
                      }
                    ],
                    "decomposition": {
                      "base": 6.8561,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0629
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0301
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0229
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0205
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0162
                        }
                      ],
                      "others": -0.0457,
                      "total": 6.8438,
                      "log_link": false,
                      "margin_base": 6.856052,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.062924
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.030054
                        },
                        {
                          "name": "rating",
                          "margin": -0.022939
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.020521
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.016198
                        }
                      ],
                      "others_margin": -0.045619
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 6,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9942, quality 0.462)",
              "stats": {
                "key_pass": 0.5379,
                "expected_assists": 0.0395,
                "assists": 0.0652,
                "assist_rate": 0.0652,
                "expected_goals": 0.0405,
                "goals": 0.0458,
                "goal_rate": 0.0458,
                "shots_on_target": 0.1562,
                "total_shots": 0.5859,
                "rating": 6.8438,
                "minutes": 84.14,
                "total_pass": 42.2515,
                "accurate_pass": 36.2995,
                "duels_won": 4.6649,
                "total_long_balls": 2.3349,
                "accurate_long_balls": 0.4215,
                "total_own_half_passes": 19.7368,
                "accurate_own_half_passes": 18.4834,
                "total_opp_half_passes": 22.5148,
                "accurate_opp_half_passes": 17.8162,
                "crosses_total": 0.1646,
                "crosses_accurate": 0.0,
                "touches": 56.687,
                "possession_lost": 8.0284,
                "dispossessed": 0.0,
                "duels_lost": 3.4086,
                "aerial_won": 0.4959,
                "aerial_lost": 0.9287,
                "interceptions": 0.6897,
                "tackles_won": 1.4858,
                "tackles": 2.1464,
                "clearances": 2.7827,
                "total_contest": 1.9116,
                "won_contest": 1.0976,
                "challenges_lost": 1.5013,
                "fouls": 0.1646,
                "fouls_drawn": 0.9249,
                "blocks": 0.6629,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.8417,
                "total_progression": 32.0287,
                "progressive_carries": 0.14,
                "shots_off_target": 0.4297
              },
              "params": {
                "market_value_eur": 5000000,
                "quality_factor": 0.4622,
                "boost_factor": 0.9942,
                "reference_quality": 0.505,
                "history_matches": 6,
                "history_shrink": 0.4545,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0079)",
              "stats": {
                "key_pass": 0.5379,
                "expected_assists": 0.0395,
                "assists": 0.0647,
                "assist_rate": 0.0647,
                "expected_goals": 0.0405,
                "goals": 0.0454,
                "goal_rate": 0.0454,
                "shots_on_target": 0.155,
                "total_shots": 0.5813,
                "rating": 6.8438,
                "minutes": 84.14,
                "total_pass": 42.2515,
                "accurate_pass": 36.2995,
                "duels_won": 4.6649,
                "total_long_balls": 2.3349,
                "accurate_long_balls": 0.4215,
                "total_own_half_passes": 19.7368,
                "accurate_own_half_passes": 18.4834,
                "total_opp_half_passes": 22.5148,
                "accurate_opp_half_passes": 17.8162,
                "crosses_total": 0.1633,
                "crosses_accurate": 0.0,
                "touches": 56.687,
                "possession_lost": 8.0284,
                "dispossessed": 0.0,
                "duels_lost": 3.4086,
                "aerial_won": 0.4959,
                "aerial_lost": 0.9287,
                "interceptions": 0.7027,
                "tackles_won": 1.4741,
                "tackles": 2.1464,
                "clearances": 2.7827,
                "total_contest": 1.9116,
                "won_contest": 1.0976,
                "challenges_lost": 1.5013,
                "fouls": 0.1817,
                "fouls_drawn": 0.9176,
                "blocks": 0.6629,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.8417,
                "total_progression": 32.0287,
                "progressive_carries": 0.14,
                "shots_off_target": 0.4297
              },
              "params": {
                "blend_weight": 0.0079,
                "history_matches": 6,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9349,
                "prior_reliability": 0.0267,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.1646,
                  "after": 0.1817
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.6897,
                  "after": 0.7027
                },
                {
                  "stat": "wonTackle",
                  "before": 1.4858,
                  "after": 1.4741
                },
                {
                  "stat": "wasFouled",
                  "before": 0.9249,
                  "after": 0.9176
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5379,
                "expected_assists": 0.0395,
                "assists": 0.0647,
                "assist_rate": 0.0647,
                "expected_goals": 0.0405,
                "goals": 0.0454,
                "goal_rate": 0.0454,
                "shots_on_target": 0.155,
                "total_shots": 0.5847,
                "rating": 6.8438,
                "minutes": 84.14,
                "total_pass": 42.2515,
                "accurate_pass": 36.2995,
                "duels_won": 4.6649,
                "total_long_balls": 2.3349,
                "accurate_long_balls": 0.4215,
                "total_own_half_passes": 19.7368,
                "accurate_own_half_passes": 18.4834,
                "total_opp_half_passes": 22.5148,
                "accurate_opp_half_passes": 17.8162,
                "crosses_total": 0.1633,
                "crosses_accurate": 0.0,
                "touches": 56.687,
                "possession_lost": 8.0284,
                "dispossessed": 0.0,
                "duels_lost": 3.4086,
                "aerial_won": 0.4959,
                "aerial_lost": 0.9287,
                "interceptions": 0.7027,
                "tackles_won": 1.4741,
                "tackles": 2.1464,
                "clearances": 2.7827,
                "total_contest": 1.9116,
                "won_contest": 1.0976,
                "challenges_lost": 1.5013,
                "fouls": 0.1817,
                "fouls_drawn": 0.9176,
                "blocks": 0.6629,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.8417,
                "total_progression": 32.0287,
                "progressive_carries": 0.14,
                "shots_off_target": 0.4297
              },
              "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.5379,
                "expected_assists": 0.0395,
                "assists": 0.0647,
                "assist_rate": 0.0647,
                "expected_goals": 0.0405,
                "goals": 0.0454,
                "goal_rate": 0.0454,
                "shots_on_target": 0.155,
                "total_shots": 0.5847,
                "rating": 6.8438,
                "minutes": 84.14,
                "total_pass": 42.2515,
                "accurate_pass": 36.2995,
                "duels_won": 4.6649,
                "total_long_balls": 2.3349,
                "accurate_long_balls": 0.4215,
                "total_own_half_passes": 19.7368,
                "accurate_own_half_passes": 18.4834,
                "total_opp_half_passes": 22.5148,
                "accurate_opp_half_passes": 17.8162,
                "crosses_total": 0.1633,
                "crosses_accurate": 0.0,
                "touches": 56.687,
                "possession_lost": 8.0284,
                "dispossessed": 0.0,
                "duels_lost": 3.4086,
                "aerial_won": 0.4959,
                "aerial_lost": 0.9287,
                "interceptions": 0.7027,
                "tackles_won": 1.4741,
                "tackles": 2.1464,
                "clearances": 2.7827,
                "total_contest": 1.9116,
                "won_contest": 1.0976,
                "challenges_lost": 1.5013,
                "fouls": 0.1817,
                "fouls_drawn": 0.9176,
                "blocks": 0.6629,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.8417,
                "total_progression": 32.0287,
                "progressive_carries": 0.14,
                "shots_off_target": 0.4297,
                "opponent_faced": "Pol Lozano",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pol Lozano",
                  "matchup_zone": "Midfield lane"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.5379,
                "expected_assists": 0.0395,
                "assist_rate": 0.0647,
                "assists": 0,
                "expected_goals": 0.0405,
                "goal_rate": 0.0454,
                "goals": 0,
                "shots_on_target": 0.155,
                "total_shots": 0.5847,
                "rating": 6.8438,
                "minutes": 84.14,
                "total_pass": 42.2515,
                "accurate_pass": 36.2995,
                "duels_won": 4.6649,
                "total_long_balls": 2.3349,
                "accurate_long_balls": 0.4215,
                "total_own_half_passes": 19.7368,
                "accurate_own_half_passes": 18.4834,
                "total_opp_half_passes": 22.5148,
                "accurate_opp_half_passes": 17.8162,
                "crosses_total": 0.1633,
                "crosses_accurate": 0.0,
                "touches": 56.687,
                "possession_lost": 8.0284,
                "dispossessed": 0.0,
                "duels_lost": 3.4086,
                "aerial_won": 0.4959,
                "aerial_lost": 0.9287,
                "interceptions": 0.7027,
                "tackles_won": 1.4741,
                "tackles": 2.1464,
                "clearances": 2.7827,
                "total_contest": 1.9116,
                "won_contest": 1.0976,
                "challenges_lost": 1.5013,
                "fouls": 0.1817,
                "fouls_drawn": 0.9176,
                "blocks": 0.6629,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.8417,
                "total_progression": 32.0287,
                "progressive_carries": 0.14,
                "shots_off_target": 0.4297,
                "opponent_faced": "Pol Lozano",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.31 (squad xG sum 1.1245, xG scale 1.1667, xA scale 1.1667, team xA 0.98 = 0.74 x lambda)",
              "stats": {
                "key_pass": 0.5379,
                "expected_assists": 0.0461,
                "assist_rate": 0.0647,
                "assists": 0,
                "expected_goals": 0.0473,
                "goal_rate": 0.0454,
                "goals": 0,
                "shots_on_target": 0.155,
                "total_shots": 0.5847,
                "rating": 6.8438,
                "minutes": 84.14,
                "total_pass": 42.2515,
                "accurate_pass": 36.2995,
                "duels_won": 4.6649,
                "total_long_balls": 2.3349,
                "accurate_long_balls": 0.4215,
                "total_own_half_passes": 19.7368,
                "accurate_own_half_passes": 18.4834,
                "total_opp_half_passes": 22.5148,
                "accurate_opp_half_passes": 17.8162,
                "crosses_total": 0.1633,
                "crosses_accurate": 0.0,
                "touches": 56.687,
                "possession_lost": 8.0284,
                "dispossessed": 0.0,
                "duels_lost": 3.4086,
                "aerial_won": 0.4959,
                "aerial_lost": 0.9287,
                "interceptions": 0.7027,
                "tackles_won": 1.4741,
                "tackles": 2.1464,
                "clearances": 2.7827,
                "total_contest": 1.9116,
                "won_contest": 1.0976,
                "challenges_lost": 1.5013,
                "fouls": 0.1817,
                "fouls_drawn": 0.9176,
                "blocks": 0.6629,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.8417,
                "total_progression": 32.0287,
                "progressive_carries": 0.14,
                "shots_off_target": 0.4297,
                "opponent_faced": "Pol Lozano",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0541,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.312,
                "squad_xg_sum": 1.1245,
                "squad_xa_sum": 0.8366,
                "team_expected_assists": 0.9761,
                "team_xa_to_xg_ratio": 0.744,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1667,
                "xa_scale": 1.1667,
                "opponent_lambda": 1.46,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0405,
                  "after": 0.0473
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0395,
                  "after": 0.0461
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 72.0)",
              "stats": {
                "key_pass": 0.5379,
                "expected_assists": 0.0461,
                "assist_rate": 0.0647,
                "assists": 0,
                "expected_goals": 0.0473,
                "goal_rate": 0.0454,
                "goals": 0,
                "shots_on_target": 0.155,
                "total_shots": 0.5847,
                "rating": 6.8438,
                "minutes": 84.14,
                "total_pass": 42.2515,
                "accurate_pass": 36.2995,
                "duels_won": 4.6649,
                "total_long_balls": 2.3349,
                "accurate_long_balls": 0.4215,
                "total_own_half_passes": 19.7368,
                "accurate_own_half_passes": 18.4834,
                "total_opp_half_passes": 22.5148,
                "accurate_opp_half_passes": 17.8162,
                "crosses_total": 0.1633,
                "crosses_accurate": 0.0,
                "touches": 56.687,
                "possession_lost": 8.0284,
                "dispossessed": 0.0,
                "duels_lost": 3.4086,
                "aerial_won": 0.4959,
                "aerial_lost": 0.9287,
                "interceptions": 0.7027,
                "tackles_won": 1.4741,
                "tackles": 2.1464,
                "clearances": 2.7827,
                "total_contest": 1.9116,
                "won_contest": 1.0976,
                "challenges_lost": 1.5013,
                "fouls": 0.1817,
                "fouls_drawn": 0.9176,
                "blocks": 0.6629,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.8417,
                "total_progression": 32.0287,
                "progressive_carries": 0.14,
                "shots_off_target": 0.4297,
                "opponent_faced": "Pol Lozano",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0541,
                "creation_factor": 1.25,
                "fifa_overall": 72.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": 4525,
                "fifa_rank": 4158.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.5379,
                "expected_assists": 0.0461,
                "assist_rate": 0.0647,
                "assists": 0,
                "expected_goals": 0.0473,
                "goal_rate": 0.0454,
                "goals": 0,
                "shots_on_target": 0.155,
                "total_shots": 0.5847,
                "rating": 6.8438,
                "minutes": 84.14,
                "total_pass": 42.2515,
                "accurate_pass": 36.2995,
                "duels_won": 4.6649,
                "total_long_balls": 2.3349,
                "accurate_long_balls": 0.4215,
                "total_own_half_passes": 19.7368,
                "accurate_own_half_passes": 18.4834,
                "total_opp_half_passes": 22.5148,
                "accurate_opp_half_passes": 17.8162,
                "crosses_total": 0.1633,
                "crosses_accurate": 0.0,
                "touches": 56.687,
                "possession_lost": 8.0284,
                "dispossessed": 0.0,
                "duels_lost": 3.4086,
                "aerial_won": 0.4959,
                "aerial_lost": 0.9287,
                "interceptions": 0.7027,
                "tackles_won": 1.4741,
                "tackles": 2.1464,
                "clearances": 2.7827,
                "total_contest": 1.9116,
                "won_contest": 1.0976,
                "challenges_lost": 1.5013,
                "fouls": 0.1817,
                "fouls_drawn": 0.9176,
                "blocks": 0.6629,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.8417,
                "total_progression": 32.0287,
                "progressive_carries": 0.14,
                "shots_off_target": 0.4297,
                "opponent_faced": "Pol Lozano",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0462,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0541,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0462,
                "goal_rate": 0.0454,
                "scorer_weight": 0.0499,
                "squad_weight_total": 1.3832,
                "weight_share": 0.036,
                "finishing_factor": 1.0541,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.5461,
                    "already": 0,
                    "effective_weight": 0.5461,
                    "runner_up": "Andrés Martín",
                    "runner_up_effective_weight": 0.2591
                  }
                ]
              }
            },
            {
              "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.5379,
                "expected_assists": 0.0461,
                "assist_rate": 0.0647,
                "assists": 0,
                "expected_goals": 0.0473,
                "goal_rate": 0.0454,
                "goals": 0,
                "shots_on_target": 0.155,
                "total_shots": 0.5847,
                "rating": 6.8438,
                "minutes": 84.14,
                "total_pass": 42.2515,
                "accurate_pass": 36.2995,
                "duels_won": 4.6649,
                "total_long_balls": 2.3349,
                "accurate_long_balls": 0.4215,
                "total_own_half_passes": 19.7368,
                "accurate_own_half_passes": 18.4834,
                "total_opp_half_passes": 22.5148,
                "accurate_opp_half_passes": 17.8162,
                "crosses_total": 0.1633,
                "crosses_accurate": 0.0,
                "touches": 56.687,
                "possession_lost": 8.0284,
                "dispossessed": 0.0,
                "duels_lost": 3.4086,
                "aerial_won": 0.4959,
                "aerial_lost": 0.9287,
                "interceptions": 0.7027,
                "tackles_won": 1.4741,
                "tackles": 2.1464,
                "clearances": 2.7827,
                "total_contest": 1.9116,
                "won_contest": 1.0976,
                "challenges_lost": 1.5013,
                "fouls": 0.1817,
                "fouls_drawn": 0.9176,
                "blocks": 0.6629,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.8417,
                "total_progression": 32.0287,
                "progressive_carries": 0.14,
                "shots_off_target": 0.4297,
                "opponent_faced": "Pol Lozano",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0462,
                "projected_assists": 0,
                "assist_probability": 0.0451,
                "finishing_factor": 1.0541,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0451,
                "assist_rate": 0.0647,
                "provider_weight": 0.0576,
                "squad_weight_total": 0.9828,
                "weight_share": 0.0586,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.3651,
                    "already": 0,
                    "effective_weight": 0.3651,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.1384,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Simon Eriksson": {
          "player_id": 1472960,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 1,
          "height": 194,
          "market_value": 2100000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.022,
            "rating": 6.8,
            "minutes": 4,
            "total_pass": 1,
            "accurate_pass": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "touches": 2,
            "clearances": 0,
            "ball_recovery": 0,
            "high_claims": 0,
            "punches": 0.0146,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1171,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.39,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 69.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 5395,
            "combined_rank_score": 3586.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 6957.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Simon Eriksson",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kerem Demirbay",
                  "ranking": 5390
                },
                {
                  "player_name": "Mbaye Diagne",
                  "ranking": 5391
                },
                {
                  "player_name": "Cengiz Ünder",
                  "ranking": 5392
                },
                {
                  "player_name": "Christopher Opéri",
                  "ranking": 5393
                },
                {
                  "player_name": "Levent Mercan",
                  "ranking": 5394
                }
              ],
              "lower": [
                {
                  "player_name": "Jiří Letáček",
                  "ranking": 5396
                },
                {
                  "player_name": "Emin Bayram",
                  "ranking": 5397
                },
                {
                  "player_name": "Anthony Musaba",
                  "ranking": 5398
                },
                {
                  "player_name": "Archie Brown",
                  "ranking": 5399
                },
                {
                  "player_name": "Gift Orban",
                  "ranking": 5400
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "G_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.10873737216187492,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€2,100,000) scaled to 4.4 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position G (quality 0.44)",
              "stats": {
                "saves": 2.9,
                "goals_prevented": 0.45,
                "rating": 6.8,
                "minutes": 90.0,
                "total_pass": 27.0,
                "accurate_pass": 20.0,
                "total_long_balls": 8.0,
                "accurate_long_balls": 4.0,
                "touches": 32.0,
                "clearances": 0.9,
                "ball_recovery": 1.2,
                "high_claims": 0.5,
                "punches": 0.3,
                "aerial_won": 0.6,
                "sweeper_actions": 1.2,
                "sweeper_accurate": 0.7,
                "saves_inside_box": 1.2,
                "possession_lost": 2.4,
                "duels_won": 0.4,
                "duels_lost": 0.2,
                "total_contest": 0.4,
                "won_contest": 0.2,
                "fouls": 0.2,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 21.0,
                "accurate_own_half_passes": 16.0
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 90.0 to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "expected_minutes": 4.39,
                "projection_minutes": 90.0,
                "minutes_scale": 0.0488,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.109,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 9 by projected rating, fifa_overall 69.0)",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 69.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5395,
                "fifa_rank": 6957.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            }
          ]
        },
        "Facundo González": {
          "player_id": 1085103,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 193,
          "market_value": 3100000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.6398,
            "minutes": 14,
            "total_pass": 19,
            "accurate_pass": 15,
            "duels_won": 2,
            "total_long_balls": 3,
            "accurate_long_balls": 0,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 28,
            "possession_lost": 4.0342,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0008,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 5,
            "total_progression": 17,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.58,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 69.0
          },
          "latest_10_games": [
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 86,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 20,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 8,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 55,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 15,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 31,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 9,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 13,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 2,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5579,
            "combined_rank_score": 3836.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 6974.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6398,
            "source_file": "data/player_rankings.csv",
            "player_name": "Facundo González",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ivan Schranz",
                  "ranking": 5574
                },
                {
                  "player_name": "Marcel Tisserand",
                  "ranking": 5575
                },
                {
                  "player_name": "Alex Grant",
                  "ranking": 5576
                },
                {
                  "player_name": "Carlos Rivero",
                  "ranking": 5577
                },
                {
                  "player_name": "Gonzalo Perez",
                  "ranking": 5578
                }
              ],
              "lower": [
                {
                  "player_name": "Cristián Cuevas",
                  "ranking": 5580
                },
                {
                  "player_name": "Paweł Wszołek",
                  "ranking": 5581
                },
                {
                  "player_name": "Giorgi Kvernadze",
                  "ranking": 5582
                },
                {
                  "player_name": "Mateusz Wieteska",
                  "ranking": 5583
                },
                {
                  "player_name": "Ondrej Lingr",
                  "ranking": 5584
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.562,
          "history_matches": 5,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 5,
            "data_confidence": 0.562,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.577143516617772,
            "bench_appearance_prob": 0.29896106893717145,
            "market_value_adjustment": 0.9901,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (5 historical appearances) to 13.6 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3974,
                "tackles": 0.5082,
                "tackles_won": 0.3039,
                "clearances": 1.7897,
                "aerial_won": 0.5551,
                "total_shots": 0.1484,
                "rating": 6.6398,
                "minutes": 14.42,
                "total_pass": 20.0255,
                "accurate_pass": 15.8636,
                "duels_won": 2.5168,
                "total_long_balls": 2.8174,
                "accurate_long_balls": 0.4645,
                "total_own_half_passes": 14.524,
                "accurate_own_half_passes": 14.1636,
                "total_opp_half_passes": 5.5015,
                "accurate_opp_half_passes": 1.7001,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 29.8406,
                "possession_lost": 4.3274,
                "dispossessed": 0.0,
                "duels_lost": 2.768,
                "aerial_lost": 1.1148,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.95,
                "challenges_lost": 0.1408,
                "fouls": 1.5125,
                "fouls_drawn": 0.6188,
                "blocks": 0.9289,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0008,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.5004,
                "total_progression": 18.5478,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1484
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:05:47.447103+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 626,
                    "rows": 21426
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1656,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 4.3836,
                  "aerialWon": 0.7596,
                  "totalClearance_p90": 5.901,
                  "totalTackle": 1.1384,
                  "defensive_actions": 2.3309
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.39742159843444824,
                    "model_output": 0.3974,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2909
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0422
                      },
                      {
                        "name": "touches",
                        "importance": 0.0304
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0294
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.8603,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4756
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0365
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0144
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0113
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0078
                        }
                      ],
                      "others": -0.0059,
                      "total": 0.3974,
                      "log_link": true,
                      "margin_base": -0.150447,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.804681
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.090561
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.034898
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.028243
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.019599
                        }
                      ],
                      "others_margin": -0.014649
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5081650018692017,
                    "model_output": 0.5082,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2494
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0709
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0459
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0405
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 1.3831,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7988
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0284
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0234
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0229
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0176
                        }
                      ],
                      "others": -0.0658,
                      "total": 0.5082,
                      "log_link": true,
                      "margin_base": 0.324299,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.861632
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.049912
                        },
                        {
                          "name": "rating",
                          "margin": 0.041312
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.04026
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.031072
                        }
                      ],
                      "others_margin": -0.12183
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.30387234687805176,
                    "model_output": 0.3039,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2138
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0741
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0462
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0368
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0292
                      }
                    ],
                    "decomposition": {
                      "base": 0.845,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4712
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0189
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0108
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0092
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0086
                        }
                      ],
                      "others": -0.0224,
                      "total": 0.3039,
                      "log_link": true,
                      "margin_base": -0.168402,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.815558
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.051869
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.030867
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.027065
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.026087
                        }
                      ],
                      "others_margin": -0.0713
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.789671778678894,
                    "model_output": 1.7897,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2886
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0929
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0369
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.02
                      }
                    ],
                    "decomposition": {
                      "base": 3.4251,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1265
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.2743
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0738
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0567
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0475
                        }
                      ],
                      "others": 0.0388,
                      "total": 1.7897,
                      "log_link": true,
                      "margin_base": 1.231123,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.969873
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.191615
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.045825
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.033837
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.0275
                        }
                      ],
                      "others_margin": 0.022004
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.5551135540008545,
                    "model_output": 0.5551,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1614
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1578
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0791
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 1.3852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8097
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1201
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0375
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0283
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0264
                        }
                      ],
                      "others": 0.0075,
                      "total": 0.5551,
                      "log_link": true,
                      "margin_base": 0.325816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.878485
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.23415
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.079051
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.055891
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.049337
                        }
                      ],
                      "others_margin": 0.013958
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.14838214218616486,
                    "model_output": 0.1484,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0997
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0736
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.034
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0332
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.4749,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1715
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.074
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0226
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0159
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0147
                        }
                      ],
                      "others": -0.0278,
                      "total": 0.1484,
                      "log_link": false,
                      "margin_base": 0.47494,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.171493
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.074029
                        },
                        {
                          "name": "rating",
                          "margin": -0.022648
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.015854
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.014742
                        }
                      ],
                      "others_margin": -0.027793
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.639753818511963,
                    "model_output": 6.6398,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0694
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0576
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.055
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.7904,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0364
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0163
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0157
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0154
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0148
                        }
                      ],
                      "others": -0.052,
                      "total": 6.6398,
                      "log_link": false,
                      "margin_base": 6.790384,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.036429
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.016324
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.015653
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.015354
                        },
                        {
                          "name": "rating",
                          "margin": -0.014826
                        }
                      ],
                      "others_margin": -0.052045
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 5,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9901, quality 0.439)",
              "stats": {
                "interceptions": 0.3935,
                "tackles": 0.5031,
                "tackles_won": 0.3009,
                "clearances": 1.772,
                "aerial_won": 0.5496,
                "total_shots": 0.1469,
                "rating": 6.6398,
                "minutes": 14.42,
                "total_pass": 19.8272,
                "accurate_pass": 15.7066,
                "duels_won": 2.4919,
                "total_long_balls": 2.7895,
                "accurate_long_balls": 0.4599,
                "total_own_half_passes": 14.3802,
                "accurate_own_half_passes": 14.0234,
                "total_opp_half_passes": 5.447,
                "accurate_opp_half_passes": 1.6833,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 29.5452,
                "possession_lost": 4.2846,
                "dispossessed": 0.0,
                "duels_lost": 2.7406,
                "aerial_lost": 1.1038,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9406,
                "challenges_lost": 0.1394,
                "fouls": 1.4975,
                "fouls_drawn": 0.6127,
                "blocks": 0.9197,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0008,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.4459,
                "total_progression": 18.3642,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1469
              },
              "params": {
                "market_value_eur": 3100000,
                "quality_factor": 0.4387,
                "boost_factor": 0.9901,
                "reference_quality": 0.505,
                "history_matches": 5,
                "history_shrink": 0.5,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 14.4 to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0.3705,
                "tackles": 0.4737,
                "tackles_won": 0.2833,
                "clearances": 1.6684,
                "aerial_won": 0.5175,
                "total_shots": 0.1383,
                "rating": 6.6398,
                "minutes": 13.58,
                "total_pass": 18.6683,
                "accurate_pass": 14.7885,
                "duels_won": 2.3462,
                "total_long_balls": 2.6265,
                "accurate_long_balls": 0.433,
                "total_own_half_passes": 13.5397,
                "accurate_own_half_passes": 13.2037,
                "total_opp_half_passes": 5.1286,
                "accurate_opp_half_passes": 1.5849,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.8183,
                "possession_lost": 4.0342,
                "dispossessed": 0.0,
                "duels_lost": 2.5804,
                "aerial_lost": 1.1038,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.8856,
                "challenges_lost": 0.1394,
                "fouls": 1.41,
                "fouls_drawn": 0.5769,
                "blocks": 0.8659,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0008,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.1276,
                "total_progression": 17.2908,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1383,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.58
              },
              "params": {
                "expected_minutes": 13.58,
                "projection_minutes": 14.42,
                "minutes_scale": 0.9415,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.3705,
                "tackles": 0.4737,
                "tackles_won": 0.2833,
                "clearances": 1.6684,
                "aerial_won": 0.5175,
                "total_shots": 0.1383,
                "rating": 6.6398,
                "minutes": 13.58,
                "total_pass": 18.6683,
                "accurate_pass": 14.7885,
                "duels_won": 2.3462,
                "total_long_balls": 2.6265,
                "accurate_long_balls": 0.433,
                "total_own_half_passes": 13.5397,
                "accurate_own_half_passes": 13.2037,
                "total_opp_half_passes": 5.1286,
                "accurate_opp_half_passes": 1.5849,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.8183,
                "possession_lost": 4.0342,
                "dispossessed": 0.0,
                "duels_lost": 2.5804,
                "aerial_lost": 1.1038,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.8856,
                "challenges_lost": 0.1394,
                "fouls": 1.41,
                "fouls_drawn": 0.5769,
                "blocks": 0.8659,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0008,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.1276,
                "total_progression": 17.2908,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1383,
                "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.3705,
                "tackles": 0.4737,
                "tackles_won": 0.2833,
                "clearances": 1.6684,
                "aerial_won": 0.5175,
                "total_shots": 0.1383,
                "rating": 6.6398,
                "minutes": 13.58,
                "total_pass": 18.6683,
                "accurate_pass": 14.7885,
                "duels_won": 2.3462,
                "total_long_balls": 2.6265,
                "accurate_long_balls": 0.433,
                "total_own_half_passes": 13.5397,
                "accurate_own_half_passes": 13.2037,
                "total_opp_half_passes": 5.1286,
                "accurate_opp_half_passes": 1.5849,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.8183,
                "possession_lost": 4.0342,
                "dispossessed": 0.0,
                "duels_lost": 2.5804,
                "aerial_lost": 1.1038,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.8856,
                "challenges_lost": 0.1394,
                "fouls": 1.41,
                "fouls_drawn": 0.5769,
                "blocks": 0.8659,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0008,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.1276,
                "total_progression": 17.2908,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1383,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.58,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.299,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 15 by projected rating, fifa_overall 69.0)",
              "stats": {
                "interceptions": 0.3705,
                "tackles": 0.4737,
                "tackles_won": 0.2833,
                "clearances": 1.6684,
                "aerial_won": 0.5175,
                "total_shots": 0.1383,
                "rating": 6.6398,
                "minutes": 13.58,
                "total_pass": 18.6683,
                "accurate_pass": 14.7885,
                "duels_won": 2.3462,
                "total_long_balls": 2.6265,
                "accurate_long_balls": 0.433,
                "total_own_half_passes": 13.5397,
                "accurate_own_half_passes": 13.2037,
                "total_opp_half_passes": 5.1286,
                "accurate_opp_half_passes": 1.5849,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.8183,
                "possession_lost": 4.0342,
                "dispossessed": 0.0,
                "duels_lost": 2.5804,
                "aerial_lost": 1.1038,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.8856,
                "challenges_lost": 0.1394,
                "fouls": 1.41,
                "fouls_drawn": 0.5769,
                "blocks": 0.8659,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0008,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.1276,
                "total_progression": 17.2908,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1383,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.58,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 69.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5579,
                "fifa_rank": 6974.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            }
          ]
        },
        "Pedro Felipe": {
          "player_id": 1485292,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 190,
          "market_value": 1500000,
          "stats": {
            "interceptions": 0,
            "tackles": 1,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.5436,
            "minutes": 14,
            "total_pass": 6,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 1.8779,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0001,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 5,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 59,
                "rating": 5.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 10,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 16,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 2,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1780,
            "combined_rank_score": 964.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1231.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.5436,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pedro Felipe",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Emil Tsenov",
                  "ranking": 1775
                },
                {
                  "player_name": "Maksim Myakish",
                  "ranking": 1776
                },
                {
                  "player_name": "Jun'ai Byfield",
                  "ranking": 1777
                },
                {
                  "player_name": "Nemanja Gudelj",
                  "ranking": 1778
                },
                {
                  "player_name": "Jon Guridi",
                  "ranking": 1779
                }
              ],
              "lower": [
                {
                  "player_name": "Nico Guillén",
                  "ranking": 1781
                },
                {
                  "player_name": "Gabriel Pires",
                  "ranking": 1782
                },
                {
                  "player_name": "Yuri",
                  "ranking": 1783
                },
                {
                  "player_name": "William Furtado",
                  "ranking": 1784
                },
                {
                  "player_name": "Carlos Del Valle",
                  "ranking": 1785
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.2987373721618749,
            "market_value_adjustment": 0.9873,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (3 historical appearances) to 13.6 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3069,
                "tackles": 0.6196,
                "tackles_won": 0.3895,
                "clearances": 0.9684,
                "aerial_won": 0.4922,
                "total_shots": 0.1431,
                "rating": 6.5436,
                "minutes": 12.33,
                "total_pass": 5.8377,
                "accurate_pass": 4.7794,
                "duels_won": 0.7775,
                "total_long_balls": 0.3304,
                "accurate_long_balls": 0.3304,
                "total_own_half_passes": 4.7298,
                "accurate_own_half_passes": 4.4489,
                "total_opp_half_passes": 1.1079,
                "accurate_opp_half_passes": 0.3304,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.6754,
                "possession_lost": 1.7279,
                "dispossessed": 0.0,
                "duels_lost": 1.9436,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7191,
                "challenges_lost": 0.7775,
                "fouls": 1.1662,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0001,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.447,
                "total_progression": 4.6827,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1431
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:05:47.447103+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 626,
                    "rows": 21426
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 5.2
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 16.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.8358,
                  "aerialWon": 0.0,
                  "totalClearance_p90": 3.9517,
                  "totalTackle": 0.7775,
                  "defensive_actions": 0.7775
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.3069152534008026,
                    "model_output": 0.3069,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2909
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0422
                      },
                      {
                        "name": "touches",
                        "importance": 0.0304
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0294
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.8603,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4668
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0322
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0188
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0113
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0108
                        }
                      ],
                      "others": -0.0577,
                      "total": 0.3069,
                      "log_link": true,
                      "margin_base": -0.150447,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.782065
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.085273
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.053539
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.032592
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.030096
                        }
                      ],
                      "others_margin": -0.172548
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.6195611953735352,
                    "model_output": 0.6196,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2494
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0709
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0459
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0405
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 1.3831,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7553
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0382
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0215
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0192
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.018
                        }
                      ],
                      "others": 0.0457,
                      "total": 0.6196,
                      "log_link": true,
                      "margin_base": 0.324299,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.789964
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.062758
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.035851
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.031928
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.030947
                        }
                      ],
                      "others_margin": 0.076704
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.38946542143821716,
                    "model_output": 0.3895,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2138
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0741
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0462
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0368
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0292
                      }
                    ],
                    "decomposition": {
                      "base": 0.845,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4689
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0273
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0187
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0144
                        },
                        {
                          "name": "errorLeadToAShot",
                          "contribution": -0.0138
                        }
                      ],
                      "others": 0.0042,
                      "total": 0.3895,
                      "log_link": true,
                      "margin_base": -0.168402,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.809379
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.069997
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.047442
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.036849
                        },
                        {
                          "name": "errorLeadToAShot",
                          "margin": -0.035061
                        }
                      ],
                      "others_margin": 0.010457
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.9684433937072754,
                    "model_output": 0.9684,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2886
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0929
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0369
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.02
                      }
                    ],
                    "decomposition": {
                      "base": 3.4251,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.2576
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.1602
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.1224
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0472
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0449
                        }
                      ],
                      "others": 0.0858,
                      "total": 0.9684,
                      "log_link": true,
                      "margin_base": 1.231123,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -1.076309
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.147558
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.129522
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.054871
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.05224
                        }
                      ],
                      "others_margin": 0.092832
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.49224793910980225,
                    "model_output": 0.4922,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1614
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1578
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0791
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 1.3852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7974
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1471
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0481
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0396
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0384
                        }
                      ],
                      "others": 0.0022,
                      "total": 0.4922,
                      "log_link": true,
                      "margin_base": 0.325816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.857258
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.288128
                        },
                        {
                          "name": "rating",
                          "margin": 0.103692
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.077823
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.075462
                        }
                      ],
                      "others_margin": 0.004745
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.14309148490428925,
                    "model_output": 0.1431,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0997
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0736
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.034
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0332
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.4749,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1844
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0733
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0218
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.015
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0136
                        }
                      ],
                      "others": -0.0537,
                      "total": 0.1431,
                      "log_link": false,
                      "margin_base": 0.47494,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.184421
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.073274
                        },
                        {
                          "name": "rating",
                          "margin": -0.021767
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.014969
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.013596
                        }
                      ],
                      "others_margin": -0.053759
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.543575286865234,
                    "model_output": 6.5436,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0694
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0576
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.055
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.7904,
                      "items": [
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.044
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.036
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0196
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0178
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0165
                        }
                      ],
                      "others": -0.1129,
                      "total": 6.5436,
                      "log_link": false,
                      "margin_base": 6.790384,
                      "item_margins": [
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.043975
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.036002
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.019557
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.01783
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.016547
                        }
                      ],
                      "others_margin": -0.112898
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 3,
                  "role_matches": 1,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9873, quality 0.437)",
              "stats": {
                "interceptions": 0.303,
                "tackles": 0.6117,
                "tackles_won": 0.3845,
                "clearances": 0.9561,
                "aerial_won": 0.486,
                "total_shots": 0.1413,
                "rating": 6.5436,
                "minutes": 12.33,
                "total_pass": 5.7636,
                "accurate_pass": 4.7187,
                "duels_won": 0.7676,
                "total_long_balls": 0.3262,
                "accurate_long_balls": 0.3262,
                "total_own_half_passes": 4.6697,
                "accurate_own_half_passes": 4.3924,
                "total_opp_half_passes": 1.0938,
                "accurate_opp_half_passes": 0.3262,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.5398,
                "possession_lost": 1.706,
                "dispossessed": 0.0,
                "duels_lost": 1.9189,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.71,
                "challenges_lost": 0.7676,
                "fouls": 1.1514,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0001,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.4159,
                "total_progression": 4.6232,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1413
              },
              "params": {
                "market_value_eur": 1500000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9873,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 12.3 to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0.3335,
                "tackles": 0.6733,
                "tackles_won": 0.4232,
                "clearances": 1.0524,
                "aerial_won": 0.535,
                "total_shots": 0.1555,
                "rating": 6.5436,
                "minutes": 13.57,
                "total_pass": 6.3443,
                "accurate_pass": 5.1941,
                "duels_won": 0.8449,
                "total_long_balls": 0.3591,
                "accurate_long_balls": 0.3591,
                "total_own_half_passes": 5.1402,
                "accurate_own_half_passes": 4.8349,
                "total_opp_half_passes": 1.204,
                "accurate_opp_half_passes": 0.3591,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.6017,
                "possession_lost": 1.8779,
                "dispossessed": 0.0,
                "duels_lost": 2.1122,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7815,
                "challenges_lost": 0.7676,
                "fouls": 1.2674,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0001,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.6593,
                "total_progression": 5.089,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1555,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "projection_minutes": 12.33,
                "minutes_scale": 1.1007,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.3335,
                "tackles": 0.6733,
                "tackles_won": 0.4232,
                "clearances": 1.0524,
                "aerial_won": 0.535,
                "total_shots": 0.1555,
                "rating": 6.5436,
                "minutes": 13.57,
                "total_pass": 6.3443,
                "accurate_pass": 5.1941,
                "duels_won": 0.8449,
                "total_long_balls": 0.3591,
                "accurate_long_balls": 0.3591,
                "total_own_half_passes": 5.1402,
                "accurate_own_half_passes": 4.8349,
                "total_opp_half_passes": 1.204,
                "accurate_opp_half_passes": 0.3591,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.6017,
                "possession_lost": 1.8779,
                "dispossessed": 0.0,
                "duels_lost": 2.1122,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7815,
                "challenges_lost": 0.7676,
                "fouls": 1.2674,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0001,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.6593,
                "total_progression": 5.089,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1555,
                "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.3335,
                "tackles": 0.6733,
                "tackles_won": 0.4232,
                "clearances": 1.0524,
                "aerial_won": 0.535,
                "total_shots": 0.1555,
                "rating": 6.5436,
                "minutes": 13.57,
                "total_pass": 6.3443,
                "accurate_pass": 5.1941,
                "duels_won": 0.8449,
                "total_long_balls": 0.3591,
                "accurate_long_balls": 0.3591,
                "total_own_half_passes": 5.1402,
                "accurate_own_half_passes": 4.8349,
                "total_opp_half_passes": 1.204,
                "accurate_opp_half_passes": 0.3591,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.6017,
                "possession_lost": 1.8779,
                "dispossessed": 0.0,
                "duels_lost": 2.1122,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7815,
                "challenges_lost": 0.7676,
                "fouls": 1.2674,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0001,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.6593,
                "total_progression": 5.089,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1555,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.299,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 78.0)",
              "stats": {
                "interceptions": 0.3335,
                "tackles": 0.6733,
                "tackles_won": 0.4232,
                "clearances": 1.0524,
                "aerial_won": 0.535,
                "total_shots": 0.1555,
                "rating": 6.5436,
                "minutes": 13.57,
                "total_pass": 6.3443,
                "accurate_pass": 5.1941,
                "duels_won": 0.8449,
                "total_long_balls": 0.3591,
                "accurate_long_balls": 0.3591,
                "total_own_half_passes": 5.1402,
                "accurate_own_half_passes": 4.8349,
                "total_opp_half_passes": 1.204,
                "accurate_opp_half_passes": 0.3591,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.6017,
                "possession_lost": 1.8779,
                "dispossessed": 0.0,
                "duels_lost": 2.1122,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7815,
                "challenges_lost": 0.7676,
                "fouls": 1.2674,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0001,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.6593,
                "total_progression": 5.089,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1555,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1780,
                "fifa_rank": 1231.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Gustavo Puerta": {
          "player_id": 1174889,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 171,
          "market_value": 19200000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0435,
            "assist_rate": 0.0581,
            "assists": 0,
            "expected_goals": 0.0282,
            "goal_rate": 0.0465,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 7.0519,
            "minutes": 23,
            "total_pass": 72,
            "accurate_pass": 66,
            "duels_won": 8,
            "total_long_balls": 2,
            "accurate_long_balls": 2,
            "total_own_half_passes": 34,
            "accurate_own_half_passes": 31,
            "total_opp_half_passes": 38,
            "accurate_opp_half_passes": 35,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 99,
            "possession_lost": 14.4497,
            "dispossessed": 1.4194,
            "duels_lost": 11,
            "aerial_won": 0,
            "aerial_lost": 2,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 3,
            "clearances": 1,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 4,
            "fouls_drawn": 4,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 26,
            "total_progression": 55,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.322,
            "bench_expected_minutes": 22.71,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2809,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 53,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 9,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416300,
              "match_date": "2026-08-23",
              "home_team": "Getafe",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Getafe",
              "stats": {
                "minutes": 88,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0288,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 49,
                "tackles": 3,
                "duels_won": 8,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0527,
                "expected_assists": 0.0891,
                "total_shots": 2,
                "total_pass": 63,
                "accurate_pass": 61,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 10
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3575,
            "combined_rank_score": 1536.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2915.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0519,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gustavo Puerta",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Philip Zinckernagel",
                  "ranking": 3570
                },
                {
                  "player_name": "Cristian Roldan",
                  "ranking": 3571
                },
                {
                  "player_name": "Joaquín Pereyra",
                  "ranking": 3572
                },
                {
                  "player_name": "Moise Bombito",
                  "ranking": 3573
                },
                {
                  "player_name": "Germán Berterame",
                  "ranking": 3574
                }
              ],
              "lower": [
                {
                  "player_name": "Martín Ojeda",
                  "ranking": 3576
                },
                {
                  "player_name": "Maximiliano Gómez",
                  "ranking": 3577
                },
                {
                  "player_name": "David Douděra",
                  "ranking": 3578
                },
                {
                  "player_name": "Daniel Peretz",
                  "ranking": 3579
                },
                {
                  "player_name": "Callum McGregor",
                  "ranking": 3580
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.467,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.467,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.707562348292583,
            "bench_appearance_prob": 0.322,
            "market_value_adjustment": 1.0221,
            "fbref_prior_metrics": {
              "squad": "Racing Sant",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "Bench projection scaled from XGBoost M_service (3 historical appearances) to 22.7 expected mins (appearance prob 0.32); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.4992,
                "expected_assists": 0.0356,
                "assists": 0.0518,
                "assist_rate": 0.0518,
                "expected_goals": 0.0231,
                "goals": 0.0413,
                "goal_rate": 0.0413,
                "shots_on_target": 0.0982,
                "total_shots": 0.3146,
                "rating": 7.0519,
                "minutes": 19.0,
                "total_pass": 58.6463,
                "accurate_pass": 53.9252,
                "duels_won": 6.4227,
                "total_long_balls": 1.3392,
                "accurate_long_balls": 1.3392,
                "total_own_half_passes": 27.8212,
                "accurate_own_half_passes": 25.5967,
                "total_opp_half_passes": 30.8251,
                "accurate_opp_half_passes": 28.3285,
                "crosses_total": 0.3304,
                "crosses_accurate": 0.0,
                "touches": 80.8639,
                "possession_lost": 11.829,
                "dispossessed": 1.3887,
                "duels_lost": 8.6433,
                "aerial_won": 0.0,
                "aerial_lost": 1.9417,
                "interceptions": 0.5617,
                "tackles_won": 1.0583,
                "tackles": 2.4383,
                "clearances": 0.6696,
                "total_contest": 1.7687,
                "won_contest": 0.7191,
                "challenges_lost": 1.2721,
                "fouls": 3.38,
                "fouls_drawn": 3.2653,
                "blocks": 0.3887,
                "big_chances_created": 0.2809,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 21.2886,
                "total_progression": 44.6451,
                "progressive_carries": 0.5617,
                "shots_off_target": 0.2164
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-24T10:06:41.574598+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 903,
                    "rows": 24475
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Getafe",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "creative_index": 0.5787,
                  "totalShots": 0.5617,
                  "expectedGoals": 0.0148,
                  "expectedAssists": 0.1437,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.4992232322692871,
                    "model_output": 0.4992,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1647
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1377
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0663
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0524
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0316
                      }
                    ],
                    "decomposition": {
                      "base": 0.8945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4099
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0543
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0599
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0433
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.022
                        }
                      ],
                      "others": -0.0343,
                      "total": 0.4992,
                      "log_link": true,
                      "margin_base": -0.111507,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.613057
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.106195
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.10548
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.075127
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.04033
                        }
                      ],
                      "others_margin": -0.066356
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03561340644955635,
                    "model_output": 0.0356,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1545
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1048
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1021
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0472
                      }
                    ],
                    "decomposition": {
                      "base": 0.0859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0445
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0058
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0048
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0038
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.003
                        }
                      ],
                      "others": -0.002,
                      "total": 0.0356,
                      "log_link": true,
                      "margin_base": -2.454719,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.729049
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.15035
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.144976
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.116179
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.083536
                        }
                      ],
                      "others_margin": -0.055653
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.0517711378633976,
                    "model_output": 0.0518,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0619
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0395
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0343
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 0.0874,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0234
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0082
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0073
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0058
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0051
                        }
                      ],
                      "others": -0.0022,
                      "total": 0.0518,
                      "log_link": true,
                      "margin_base": -2.437263,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.31161
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.120814
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.106034
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.093602
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.089343
                        }
                      ],
                      "others_margin": -0.043884
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.023121753707528114,
                    "model_output": 0.0231,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.134
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.074
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0705
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.039
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0273
                      }
                    ],
                    "decomposition": {
                      "base": 0.094,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0398
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0163
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0049
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0041
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.0032,
                      "total": 0.0231,
                      "log_link": true,
                      "margin_base": -2.364919,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.550813
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.357346
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.137958
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.133935
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.09597
                        }
                      ],
                      "others_margin": -0.126039
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.041344888508319855,
                    "model_output": 0.0413,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0974
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0527
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0513
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0365
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0993,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0277
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0125
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0097
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0064
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0041
                        }
                      ],
                      "others": 0.0024,
                      "total": 0.0413,
                      "log_link": true,
                      "margin_base": -2.309444,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.32726
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.191098
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.179563
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.138698
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.099236
                        }
                      ],
                      "others_margin": 0.059494
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.09816884249448776,
                    "model_output": 0.0982,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1106
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0885
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0762
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0292
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.326,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1449
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0395
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.021
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0118
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0068
                        }
                      ],
                      "others": -0.0038,
                      "total": 0.0982,
                      "log_link": true,
                      "margin_base": -1.120773,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.587975
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.245851
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.160426
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.103383
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.064255
                        }
                      ],
                      "others_margin": -0.038403
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3145357072353363,
                    "model_output": 0.3145,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1261
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1167
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0633
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0419
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.9969,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3319
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1488
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0504
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0477
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0337
                        }
                      ],
                      "others": -0.1707,
                      "total": 0.3145,
                      "log_link": false,
                      "margin_base": 0.996896,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.331896
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.148752
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.050363
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.047654
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.033695
                        }
                      ],
                      "others_margin": -0.170725
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.051945209503174,
                    "model_output": 7.0519,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0947
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0836
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0491
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0438
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.036
                      }
                    ],
                    "decomposition": {
                      "base": 6.8561,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1365
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1003
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0812
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0285
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0257
                        }
                      ],
                      "others": 0.0242,
                      "total": 7.0519,
                      "log_link": false,
                      "margin_base": 6.856052,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.136452
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.100292
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.081168
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.028482
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.025708
                        }
                      ],
                      "others_margin": 0.024377
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 3,
                  "role_matches": 0,
                  "minutes_source": "position_median",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0221, quality 0.623)",
              "stats": {
                "key_pass": 0.5103,
                "expected_assists": 0.0364,
                "assists": 0.0529,
                "assist_rate": 0.0529,
                "expected_goals": 0.0236,
                "goals": 0.0423,
                "goal_rate": 0.0423,
                "shots_on_target": 0.1003,
                "total_shots": 0.3215,
                "rating": 7.0519,
                "minutes": 19.0,
                "total_pass": 59.9424,
                "accurate_pass": 55.1169,
                "duels_won": 6.5646,
                "total_long_balls": 1.3688,
                "accurate_long_balls": 1.3688,
                "total_own_half_passes": 28.436,
                "accurate_own_half_passes": 26.1624,
                "total_opp_half_passes": 31.5063,
                "accurate_opp_half_passes": 28.9546,
                "crosses_total": 0.3377,
                "crosses_accurate": 0.0,
                "touches": 82.651,
                "possession_lost": 12.0904,
                "dispossessed": 1.4194,
                "duels_lost": 8.8343,
                "aerial_won": 0.0,
                "aerial_lost": 1.9846,
                "interceptions": 0.5741,
                "tackles_won": 1.0817,
                "tackles": 2.4922,
                "clearances": 0.6844,
                "total_contest": 1.8078,
                "won_contest": 0.735,
                "challenges_lost": 1.3002,
                "fouls": 3.4547,
                "fouls_drawn": 3.3375,
                "blocks": 0.3973,
                "big_chances_created": 0.2871,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 21.7591,
                "total_progression": 45.6318,
                "progressive_carries": 0.5741,
                "shots_off_target": 0.2212
              },
              "params": {
                "market_value_eur": 19200000,
                "quality_factor": 0.6231,
                "boost_factor": 1.0221,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0813)",
              "stats": {
                "key_pass": 0.5103,
                "expected_assists": 0.0364,
                "assists": 0.0486,
                "assist_rate": 0.0486,
                "expected_goals": 0.0236,
                "goals": 0.0389,
                "goal_rate": 0.0389,
                "shots_on_target": 0.0922,
                "total_shots": 0.3069,
                "rating": 7.0519,
                "minutes": 19.0,
                "total_pass": 59.9424,
                "accurate_pass": 55.1169,
                "duels_won": 6.5646,
                "total_long_balls": 1.3688,
                "accurate_long_balls": 1.3688,
                "total_own_half_passes": 28.436,
                "accurate_own_half_passes": 26.1624,
                "total_opp_half_passes": 31.5063,
                "accurate_opp_half_passes": 28.9546,
                "crosses_total": 0.316,
                "crosses_accurate": 0.0,
                "touches": 82.651,
                "possession_lost": 12.0904,
                "dispossessed": 1.4194,
                "duels_lost": 8.8343,
                "aerial_won": 0.0,
                "aerial_lost": 1.9846,
                "interceptions": 0.5389,
                "tackles_won": 1.011,
                "tackles": 2.4922,
                "clearances": 0.6844,
                "total_contest": 1.8078,
                "won_contest": 0.735,
                "challenges_lost": 1.3002,
                "fouls": 3.2312,
                "fouls_drawn": 3.1178,
                "blocks": 0.3973,
                "big_chances_created": 0.2871,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 21.7591,
                "total_progression": 45.6318,
                "progressive_carries": 0.5741,
                "shots_off_target": 0.2212
              },
              "params": {
                "blend_weight": 0.0813,
                "history_matches": 3,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2111,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Racing Sant"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 3.4547,
                  "after": 3.2312
                },
                {
                  "stat": "wasFouled",
                  "before": 3.3375,
                  "after": 3.1178
                },
                {
                  "stat": "wonTackle",
                  "before": 1.0817,
                  "after": 1.011
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.5741,
                  "after": 0.5389
                },
                {
                  "stat": "totalCross",
                  "before": 0.3377,
                  "after": 0.316
                },
                {
                  "stat": "totalShots",
                  "before": 0.3215,
                  "after": 0.3069
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1003,
                  "after": 0.0922
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 19.0 to 22.7 expected minutes (appearance prob 0.32)",
              "stats": {
                "key_pass": 0.6099,
                "expected_assists": 0.0435,
                "assists": 0.0581,
                "assist_rate": 0.0581,
                "expected_goals": 0.0282,
                "goals": 0.0465,
                "goal_rate": 0.0465,
                "shots_on_target": 0.1102,
                "total_shots": 0.3746,
                "rating": 7.0519,
                "minutes": 22.71,
                "total_pass": 71.6393,
                "accurate_pass": 65.8721,
                "duels_won": 7.8456,
                "total_long_balls": 1.6359,
                "accurate_long_balls": 1.6359,
                "total_own_half_passes": 33.9849,
                "accurate_own_half_passes": 31.2676,
                "total_opp_half_passes": 37.6543,
                "accurate_opp_half_passes": 34.6047,
                "crosses_total": 0.3777,
                "crosses_accurate": 0.0,
                "touches": 98.7791,
                "possession_lost": 14.4497,
                "dispossessed": 1.4194,
                "duels_lost": 10.5582,
                "aerial_won": 0.0,
                "aerial_lost": 1.9846,
                "interceptions": 0.6441,
                "tackles_won": 1.2083,
                "tackles": 2.9785,
                "clearances": 0.818,
                "total_contest": 2.1606,
                "won_contest": 0.8784,
                "challenges_lost": 1.3002,
                "fouls": 3.8617,
                "fouls_drawn": 3.7262,
                "blocks": 0.4748,
                "big_chances_created": 0.3431,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 26.0051,
                "total_progression": 54.5362,
                "progressive_carries": 0.6861,
                "shots_off_target": 0.2644,
                "bench_appearance_probability": 0.322,
                "bench_expected_minutes": 22.71
              },
              "params": {
                "expected_minutes": 22.71,
                "projection_minutes": 19.0,
                "minutes_scale": 1.1951,
                "appearance_probability": 0.322
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.6099,
                "expected_assists": 0.0435,
                "assists": 0.0581,
                "assist_rate": 0.0581,
                "expected_goals": 0.0282,
                "goals": 0.0465,
                "goal_rate": 0.0465,
                "shots_on_target": 0.1102,
                "total_shots": 0.3746,
                "rating": 7.0519,
                "minutes": 22.71,
                "total_pass": 71.6393,
                "accurate_pass": 65.8721,
                "duels_won": 7.8456,
                "total_long_balls": 1.6359,
                "accurate_long_balls": 1.6359,
                "total_own_half_passes": 33.9849,
                "accurate_own_half_passes": 31.2676,
                "total_opp_half_passes": 37.6543,
                "accurate_opp_half_passes": 34.6047,
                "crosses_total": 0.3777,
                "crosses_accurate": 0.0,
                "touches": 98.7791,
                "possession_lost": 14.4497,
                "dispossessed": 1.4194,
                "duels_lost": 10.5582,
                "aerial_won": 0.0,
                "aerial_lost": 1.9846,
                "interceptions": 0.6441,
                "tackles_won": 1.2083,
                "tackles": 2.9785,
                "clearances": 0.818,
                "total_contest": 2.1606,
                "won_contest": 0.8784,
                "challenges_lost": 1.3002,
                "fouls": 3.8617,
                "fouls_drawn": 3.7262,
                "blocks": 0.4748,
                "big_chances_created": 0.3431,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 26.0051,
                "total_progression": 54.5362,
                "progressive_carries": 0.6861,
                "shots_off_target": 0.2644,
                "bench_appearance_probability": 0.322,
                "bench_expected_minutes": 22.71
              },
              "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.6099,
                "expected_assists": 0.0435,
                "assist_rate": 0.0581,
                "assists": 0,
                "expected_goals": 0.0282,
                "goal_rate": 0.0465,
                "goals": 0,
                "shots_on_target": 0.1102,
                "total_shots": 0.3746,
                "rating": 7.0519,
                "minutes": 22.71,
                "total_pass": 71.6393,
                "accurate_pass": 65.8721,
                "duels_won": 7.8456,
                "total_long_balls": 1.6359,
                "accurate_long_balls": 1.6359,
                "total_own_half_passes": 33.9849,
                "accurate_own_half_passes": 31.2676,
                "total_opp_half_passes": 37.6543,
                "accurate_opp_half_passes": 34.6047,
                "crosses_total": 0.3777,
                "crosses_accurate": 0.0,
                "touches": 98.7791,
                "possession_lost": 14.4497,
                "dispossessed": 1.4194,
                "duels_lost": 10.5582,
                "aerial_won": 0.0,
                "aerial_lost": 1.9846,
                "interceptions": 0.6441,
                "tackles_won": 1.2083,
                "tackles": 2.9785,
                "clearances": 0.818,
                "total_contest": 2.1606,
                "won_contest": 0.8784,
                "challenges_lost": 1.3002,
                "fouls": 3.8617,
                "fouls_drawn": 3.7262,
                "blocks": 0.4748,
                "big_chances_created": 0.3431,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 26.0051,
                "total_progression": 54.5362,
                "progressive_carries": 0.6861,
                "shots_off_target": 0.2644,
                "bench_appearance_probability": 0.322,
                "bench_expected_minutes": 22.71,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.322,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 3 by projected rating, fifa_overall 74.0)",
              "stats": {
                "key_pass": 0.6099,
                "expected_assists": 0.0435,
                "assist_rate": 0.0581,
                "assists": 0,
                "expected_goals": 0.0282,
                "goal_rate": 0.0465,
                "goals": 0,
                "shots_on_target": 0.1102,
                "total_shots": 0.3746,
                "rating": 7.0519,
                "minutes": 22.71,
                "total_pass": 71.6393,
                "accurate_pass": 65.8721,
                "duels_won": 7.8456,
                "total_long_balls": 1.6359,
                "accurate_long_balls": 1.6359,
                "total_own_half_passes": 33.9849,
                "accurate_own_half_passes": 31.2676,
                "total_opp_half_passes": 37.6543,
                "accurate_opp_half_passes": 34.6047,
                "crosses_total": 0.3777,
                "crosses_accurate": 0.0,
                "touches": 98.7791,
                "possession_lost": 14.4497,
                "dispossessed": 1.4194,
                "duels_lost": 10.5582,
                "aerial_won": 0.0,
                "aerial_lost": 1.9846,
                "interceptions": 0.6441,
                "tackles_won": 1.2083,
                "tackles": 2.9785,
                "clearances": 0.818,
                "total_contest": 2.1606,
                "won_contest": 0.8784,
                "challenges_lost": 1.3002,
                "fouls": 3.8617,
                "fouls_drawn": 3.7262,
                "blocks": 0.4748,
                "big_chances_created": 0.3431,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 26.0051,
                "total_progression": 54.5362,
                "progressive_carries": 0.6861,
                "shots_off_target": 0.2644,
                "bench_appearance_probability": 0.322,
                "bench_expected_minutes": 22.71,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3575,
                "fifa_rank": 2915.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "André Almeida": {
          "player_id": 845693,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 176,
          "market_value": 6200000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.052,
            "assist_rate": 0.0766,
            "assists": 0,
            "expected_goals": 0.0356,
            "goal_rate": 0.0385,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7757,
            "minutes": 22,
            "total_pass": 17,
            "accurate_pass": 15,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 10,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 4.6127,
            "dispossessed": 0.3622,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.002,
            "ball_carries": 8,
            "total_progression": 35,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.506,
            "bench_expected_minutes": 22.13,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16421078,
              "match_date": "2026-10-18",
              "home_team": "Osasuna",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 45,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0163,
                "expected_assists": 0.0093,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 15,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 8,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 61,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.059,
                "expected_assists": 0.0356,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 34,
                "accurate_pass": 31,
                "tackles": 2,
                "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": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 63,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0418,
                "total_shots": 0,
                "total_pass": 63,
                "accurate_pass": 59,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 24,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 13,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 35,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.449,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 30,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 17,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0447,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083255,
              "match_date": "2026-04-25",
              "home_team": "Valencia",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 15,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0105,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081817,
              "match_date": "2026-04-05",
              "home_team": "Valencia",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 63,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0394,
                "expected_assists": 0.0182,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 25,
                "accurate_pass": 22,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083684,
              "match_date": "2026-03-21",
              "home_team": "Sevilla",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 80,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1739,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 22,
                "key_pass": 2,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3700,
            "combined_rank_score": 1656.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 418.0,
            "sofascore_rating": 6.925,
            "sofascore_appearances": 22.0,
            "fifa_rank": 2894.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7757,
            "source_file": "data/player_rankings.csv",
            "player_name": "André Almeida",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Samuel Dahl",
                  "ranking": 3695
                },
                {
                  "player_name": "Alan Lescano",
                  "ranking": 3696
                },
                {
                  "player_name": "Dénes Dibusz",
                  "ranking": 3697
                },
                {
                  "player_name": "Luciano Juba",
                  "ranking": 3698
                },
                {
                  "player_name": "Jean Lucas",
                  "ranking": 3699
                }
              ],
              "lower": [
                {
                  "player_name": "Jean-Ricner Bellegarde",
                  "ranking": 3701
                },
                {
                  "player_name": "Kervin Arriaga",
                  "ranking": 3702
                },
                {
                  "player_name": "Bryan Gil",
                  "ranking": 3703
                },
                {
                  "player_name": "Taiwo Awoniyi",
                  "ranking": 3704
                },
                {
                  "player_name": "Ismail Jakobs",
                  "ranking": 3705
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 27,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 27,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.128465634082904,
            "bench_appearance_prob": 0.5058393470037683,
            "market_value_adjustment": 0.9987,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (27 historical appearances) to 22.1 expected mins (appearance prob 0.51)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.5393,
                "expected_assists": 0.0467,
                "assists": 0.0689,
                "assist_rate": 0.0689,
                "expected_goals": 0.0321,
                "goals": 0.0347,
                "goal_rate": 0.0347,
                "shots_on_target": 0.1304,
                "total_shots": 0.4164,
                "rating": 6.7757,
                "minutes": 19.88,
                "total_pass": 15.636,
                "accurate_pass": 13.4639,
                "duels_won": 1.9104,
                "total_long_balls": 1.0128,
                "accurate_long_balls": 0.6774,
                "total_own_half_passes": 5.3975,
                "accurate_own_half_passes": 4.7077,
                "total_opp_half_passes": 10.2385,
                "accurate_opp_half_passes": 8.7562,
                "crosses_total": 1.0221,
                "crosses_accurate": 0.3092,
                "touches": 20.8808,
                "possession_lost": 4.1494,
                "dispossessed": 0.3627,
                "duels_lost": 1.1744,
                "aerial_won": 0.1438,
                "aerial_lost": 0.0,
                "interceptions": 0.2094,
                "tackles_won": 0.463,
                "tackles": 0.9783,
                "clearances": 0.0,
                "total_contest": 0.7759,
                "won_contest": 0.3945,
                "challenges_lost": 0.0,
                "fouls": 0.4303,
                "fouls_drawn": 0.3939,
                "blocks": 0.0,
                "big_chances_created": 0.0644,
                "big_chances_missed": 0.0,
                "xgot": 0.0018,
                "ball_carries": 7.3119,
                "total_progression": 31.1245,
                "progressive_carries": 0.5803,
                "shots_off_target": 0.286
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-24T10:06:41.574598+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 903,
                    "rows": 24475
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Osasuna",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1519,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Valencia",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1291,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.1097,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0933,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.0793,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.0674,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0573,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Girona FC",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0487,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-05",
                    "opponent": "Celta Vigo",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0414,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-03-21",
                    "opponent": "Sevilla",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0352,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "creative_index": 0.3802,
                  "totalShots": 0.5247,
                  "expectedGoals": 0.0183,
                  "expectedAssists": 0.0785,
                  "onTargetScoringAttempt": 0.188
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.539273738861084,
                    "model_output": 0.5393,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1647
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1377
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0663
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0524
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0316
                      }
                    ],
                    "decomposition": {
                      "base": 0.8945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.386
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0287
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.02
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0145
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0149
                        }
                      ],
                      "others": 0.0501,
                      "total": 0.5393,
                      "log_link": true,
                      "margin_base": -0.111507,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.564843
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.058106
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.042645
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.031
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.03085
                        }
                      ],
                      "others_margin": 0.097717
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04672284424304962,
                    "model_output": 0.0467,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1545
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1048
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1021
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0472
                      }
                    ],
                    "decomposition": {
                      "base": 0.0859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0383
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0044
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0032
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0026
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0018
                        }
                      ],
                      "others": 0.0023,
                      "total": 0.0467,
                      "log_link": true,
                      "margin_base": -2.454719,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.591437
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.096731
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.078047
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.062137
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.041701
                        }
                      ],
                      "others_margin": 0.053575
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06887006014585495,
                    "model_output": 0.0689,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0619
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0395
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0343
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 0.0874,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.022
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0073
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0073
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0071
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0053
                        }
                      ],
                      "others": 0.0017,
                      "total": 0.0689,
                      "log_link": true,
                      "margin_base": -2.437263,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.29058
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.11816
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.118118
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.102773
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.075245
                        }
                      ],
                      "others_margin": 0.024823
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.032060034573078156,
                    "model_output": 0.0321,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.134
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.074
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0705
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.039
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0273
                      }
                    ],
                    "decomposition": {
                      "base": 0.094,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0359
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0174
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0059
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0029
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.002
                        }
                      ],
                      "others": -0.0076,
                      "total": 0.0321,
                      "log_link": true,
                      "margin_base": -2.364919,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.482112
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.356329
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.157451
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.079487
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": 0.051865
                        }
                      ],
                      "others_margin": -0.210685
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.03467739000916481,
                    "model_output": 0.0347,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0974
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0527
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0513
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0365
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0993,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0379
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0143
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0062
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0038
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0026
                        }
                      ],
                      "others": -0.005,
                      "total": 0.0347,
                      "log_link": true,
                      "margin_base": -2.309444,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.481301
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.264512
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.141805
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.096653
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.068378
                        }
                      ],
                      "others_margin": -0.13633
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.13040241599082947,
                    "model_output": 0.1304,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1106
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0885
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0762
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0292
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.326,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1323
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0458
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0236
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0114
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0071
                        }
                      ],
                      "others": 0.0018,
                      "total": 0.1304,
                      "log_link": true,
                      "margin_base": -1.120773,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.520357
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.269837
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.174132
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.087928
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.053671
                        }
                      ],
                      "others_margin": 0.013711
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4163864850997925,
                    "model_output": 0.4164,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1261
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1167
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0633
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0419
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.9969,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3766
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2226
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0536
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0261
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0156
                        }
                      ],
                      "others": 0.0068,
                      "total": 0.4164,
                      "log_link": false,
                      "margin_base": 0.996896,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.376593
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.222627
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.053638
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.026112
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.015574
                        }
                      ],
                      "others_margin": 0.006757
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.77570104598999,
                    "model_output": 6.7757,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0947
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0836
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0491
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0438
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.036
                      }
                    ],
                    "decomposition": {
                      "base": 6.8561,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1038
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0251
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0238
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0146
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0093
                        }
                      ],
                      "others": 0.0008,
                      "total": 6.7757,
                      "log_link": false,
                      "margin_base": 6.856052,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.103836
                        },
                        {
                          "name": "rating",
                          "margin": -0.025093
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.023788
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.014581
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.009264
                        }
                      ],
                      "others_margin": 0.000946
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 27,
                  "role_matches": 13,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9987, quality 0.477)",
              "stats": {
                "key_pass": 0.5386,
                "expected_assists": 0.0467,
                "assists": 0.0688,
                "assist_rate": 0.0688,
                "expected_goals": 0.032,
                "goals": 0.0346,
                "goal_rate": 0.0346,
                "shots_on_target": 0.1302,
                "total_shots": 0.4159,
                "rating": 6.7757,
                "minutes": 19.88,
                "total_pass": 15.6157,
                "accurate_pass": 13.4464,
                "duels_won": 1.9079,
                "total_long_balls": 1.0115,
                "accurate_long_balls": 0.6765,
                "total_own_half_passes": 5.3905,
                "accurate_own_half_passes": 4.7016,
                "total_opp_half_passes": 10.2252,
                "accurate_opp_half_passes": 8.7448,
                "crosses_total": 1.0208,
                "crosses_accurate": 0.3088,
                "touches": 20.8537,
                "possession_lost": 4.144,
                "dispossessed": 0.3622,
                "duels_lost": 1.1729,
                "aerial_won": 0.1436,
                "aerial_lost": 0.0,
                "interceptions": 0.2091,
                "tackles_won": 0.4624,
                "tackles": 0.977,
                "clearances": 0.0,
                "total_contest": 0.7749,
                "won_contest": 0.394,
                "challenges_lost": 0.0,
                "fouls": 0.4297,
                "fouls_drawn": 0.3934,
                "blocks": 0.0,
                "big_chances_created": 0.0643,
                "big_chances_missed": 0.0,
                "xgot": 0.0018,
                "ball_carries": 7.3024,
                "total_progression": 31.084,
                "progressive_carries": 0.5795,
                "shots_off_target": 0.2856
              },
              "params": {
                "market_value_eur": 6200000,
                "quality_factor": 0.4769,
                "boost_factor": 0.9987,
                "reference_quality": 0.505,
                "history_matches": 27,
                "history_shrink": 0.1562,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 19.9 to 22.1 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0.5995,
                "expected_assists": 0.052,
                "assists": 0.0766,
                "assist_rate": 0.0766,
                "expected_goals": 0.0356,
                "goals": 0.0385,
                "goal_rate": 0.0385,
                "shots_on_target": 0.1449,
                "total_shots": 0.4629,
                "rating": 6.7757,
                "minutes": 22.13,
                "total_pass": 17.3819,
                "accurate_pass": 14.9672,
                "duels_won": 2.1237,
                "total_long_balls": 1.1259,
                "accurate_long_balls": 0.753,
                "total_own_half_passes": 6.0002,
                "accurate_own_half_passes": 5.2334,
                "total_opp_half_passes": 11.3817,
                "accurate_opp_half_passes": 9.7339,
                "crosses_total": 1.1363,
                "crosses_accurate": 0.3437,
                "touches": 23.2123,
                "possession_lost": 4.6127,
                "dispossessed": 0.3622,
                "duels_lost": 1.3056,
                "aerial_won": 0.1598,
                "aerial_lost": 0.0,
                "interceptions": 0.2327,
                "tackles_won": 0.5147,
                "tackles": 1.0875,
                "clearances": 0.0,
                "total_contest": 0.8625,
                "won_contest": 0.4386,
                "challenges_lost": 0.0,
                "fouls": 0.4783,
                "fouls_drawn": 0.4379,
                "blocks": 0.0,
                "big_chances_created": 0.0716,
                "big_chances_missed": 0.0,
                "xgot": 0.002,
                "ball_carries": 8.1283,
                "total_progression": 34.5997,
                "progressive_carries": 0.645,
                "shots_off_target": 0.3179,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.13
              },
              "params": {
                "expected_minutes": 22.13,
                "projection_minutes": 19.88,
                "minutes_scale": 1.1131,
                "appearance_probability": 0.506
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5995,
                "expected_assists": 0.052,
                "assists": 0.0766,
                "assist_rate": 0.0766,
                "expected_goals": 0.0356,
                "goals": 0.0385,
                "goal_rate": 0.0385,
                "shots_on_target": 0.1449,
                "total_shots": 0.4629,
                "rating": 6.7757,
                "minutes": 22.13,
                "total_pass": 17.3819,
                "accurate_pass": 14.9672,
                "duels_won": 2.1237,
                "total_long_balls": 1.1259,
                "accurate_long_balls": 0.753,
                "total_own_half_passes": 6.0002,
                "accurate_own_half_passes": 5.2334,
                "total_opp_half_passes": 11.3817,
                "accurate_opp_half_passes": 9.7339,
                "crosses_total": 1.1363,
                "crosses_accurate": 0.3437,
                "touches": 23.2123,
                "possession_lost": 4.6127,
                "dispossessed": 0.3622,
                "duels_lost": 1.3056,
                "aerial_won": 0.1598,
                "aerial_lost": 0.0,
                "interceptions": 0.2327,
                "tackles_won": 0.5147,
                "tackles": 1.0875,
                "clearances": 0.0,
                "total_contest": 0.8625,
                "won_contest": 0.4386,
                "challenges_lost": 0.0,
                "fouls": 0.4783,
                "fouls_drawn": 0.4379,
                "blocks": 0.0,
                "big_chances_created": 0.0716,
                "big_chances_missed": 0.0,
                "xgot": 0.002,
                "ball_carries": 8.1283,
                "total_progression": 34.5997,
                "progressive_carries": 0.645,
                "shots_off_target": 0.3179,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.13
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "key_pass": 0.5995,
                "expected_assists": 0.052,
                "assist_rate": 0.0766,
                "assists": 0,
                "expected_goals": 0.0356,
                "goal_rate": 0.0385,
                "goals": 0,
                "shots_on_target": 0.1449,
                "total_shots": 0.4629,
                "rating": 6.7757,
                "minutes": 22.13,
                "total_pass": 17.3819,
                "accurate_pass": 14.9672,
                "duels_won": 2.1237,
                "total_long_balls": 1.1259,
                "accurate_long_balls": 0.753,
                "total_own_half_passes": 6.0002,
                "accurate_own_half_passes": 5.2334,
                "total_opp_half_passes": 11.3817,
                "accurate_opp_half_passes": 9.7339,
                "crosses_total": 1.1363,
                "crosses_accurate": 0.3437,
                "touches": 23.2123,
                "possession_lost": 4.6127,
                "dispossessed": 0.3622,
                "duels_lost": 1.3056,
                "aerial_won": 0.1598,
                "aerial_lost": 0.0,
                "interceptions": 0.2327,
                "tackles_won": 0.5147,
                "tackles": 1.0875,
                "clearances": 0.0,
                "total_contest": 0.8625,
                "won_contest": 0.4386,
                "challenges_lost": 0.0,
                "fouls": 0.4783,
                "fouls_drawn": 0.4379,
                "blocks": 0.0,
                "big_chances_created": 0.0716,
                "big_chances_missed": 0.0,
                "xgot": 0.002,
                "ball_carries": 8.1283,
                "total_progression": 34.5997,
                "progressive_carries": 0.645,
                "shots_off_target": 0.3179,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.13,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.506,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 11 by projected rating, fifa_overall 74.0)",
              "stats": {
                "key_pass": 0.5995,
                "expected_assists": 0.052,
                "assist_rate": 0.0766,
                "assists": 0,
                "expected_goals": 0.0356,
                "goal_rate": 0.0385,
                "goals": 0,
                "shots_on_target": 0.1449,
                "total_shots": 0.4629,
                "rating": 6.7757,
                "minutes": 22.13,
                "total_pass": 17.3819,
                "accurate_pass": 14.9672,
                "duels_won": 2.1237,
                "total_long_balls": 1.1259,
                "accurate_long_balls": 0.753,
                "total_own_half_passes": 6.0002,
                "accurate_own_half_passes": 5.2334,
                "total_opp_half_passes": 11.3817,
                "accurate_opp_half_passes": 9.7339,
                "crosses_total": 1.1363,
                "crosses_accurate": 0.3437,
                "touches": 23.2123,
                "possession_lost": 4.6127,
                "dispossessed": 0.3622,
                "duels_lost": 1.3056,
                "aerial_won": 0.1598,
                "aerial_lost": 0.0,
                "interceptions": 0.2327,
                "tackles_won": 0.5147,
                "tackles": 1.0875,
                "clearances": 0.0,
                "total_contest": 0.8625,
                "won_contest": 0.4386,
                "challenges_lost": 0.0,
                "fouls": 0.4783,
                "fouls_drawn": 0.4379,
                "blocks": 0.0,
                "big_chances_created": 0.0716,
                "big_chances_missed": 0.0,
                "xgot": 0.002,
                "ball_carries": 8.1283,
                "total_progression": 34.5997,
                "progressive_carries": 0.645,
                "shots_off_target": 0.3179,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.13,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3700,
                "fifa_rank": 2894.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Pablo García": {
          "player_id": 1893910,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 15,
          "height": 175,
          "market_value": 8199999,
          "stats": {
            "expected_goals": 0.0632,
            "goal_rate": 0.1065,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0213,
            "key_pass": 0,
            "rating": 6.6224,
            "minutes": 26,
            "total_pass": 8,
            "accurate_pass": 7,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 3.8598,
            "dispossessed": 0.6587,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0605,
            "offsides": 0,
            "ball_carries": 7,
            "total_progression": 21,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.57,
            "bench_expected_minutes": 25.54,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0598,
            "projected_assists": 0,
            "assist_probability": 0.0209,
            "finishing_factor": 1.0786,
            "creation_factor": 0.8,
            "fifa_overall": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16421078,
              "match_date": "2026-10-18",
              "home_team": "Osasuna",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 21,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1087,
                "expected_assists": 0.009,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 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": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 15,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0367,
                "expected_assists": 0.0108,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 63,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0438,
                "expected_assists": 0.0246,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 15,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 65,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4125,
                "expected_assists": 0.005,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 12,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 89,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1417,
                "expected_assists": 0.0041,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0894,
                "expected_assists": 0.007,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2814,
                "expected_assists": 0.0023,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "clearances": 3,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 17,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0317,
                "expected_assists": 0.0322,
                "total_shots": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14081811,
              "match_date": "2026-04-04",
              "home_team": "Real Betis",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0851,
                "expected_assists": 0.0064,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 8,
                "accurate_pass": 8,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083207,
              "match_date": "2026-02-01",
              "home_team": "Real Betis",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 23,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 5059,
            "combined_rank_score": 3247.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 3.0,
            "fifa_rank": 5917.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6224,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Philippe Sandler",
                  "ranking": 5054
                },
                {
                  "player_name": "Jordan Lotomba",
                  "ranking": 5055
                },
                {
                  "player_name": "Jhon Córdoba",
                  "ranking": 5056
                },
                {
                  "player_name": "Jari De Busser",
                  "ranking": 5057
                },
                {
                  "player_name": "Gijs Smal",
                  "ranking": 5058
                }
              ],
              "lower": [
                {
                  "player_name": "Jacob Trenskow",
                  "ranking": 5060
                },
                {
                  "player_name": "Virgil Ghiță",
                  "ranking": 5061
                },
                {
                  "player_name": "Daan Rots",
                  "ranking": 5062
                },
                {
                  "player_name": "Thomas Beelen",
                  "ranking": 5063
                },
                {
                  "player_name": "Alexandre Penetra",
                  "ranking": 5064
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 23,
          "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": 23,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.544307952762857,
            "bench_appearance_prob": 0.5701958160346754,
            "market_value_adjustment": 0.9998,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (23 historical appearances) to 25.5 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0675,
                "goals": 0.0756,
                "goal_rate": 0.0756,
                "shots_on_target": 0.3033,
                "total_shots": 1.0183,
                "expected_assists": 0.0227,
                "key_pass": 0.3517,
                "rating": 6.6224,
                "minutes": 18.14,
                "total_pass": 5.913,
                "accurate_pass": 5.142,
                "duels_won": 0.9529,
                "total_long_balls": 0.1041,
                "accurate_long_balls": 0.0923,
                "total_opp_half_passes": 4.3604,
                "accurate_opp_half_passes": 3.7776,
                "crosses_total": 0.1777,
                "crosses_accurate": 0.0,
                "touches": 11.1643,
                "possession_lost": 2.7415,
                "dispossessed": 0.6588,
                "duels_lost": 1.588,
                "aerial_lost": 0.0312,
                "total_contest": 0.5537,
                "won_contest": 0.2857,
                "ball_recovery": 1.0671,
                "challenges_lost": 0.276,
                "fouls": 0.3541,
                "fouls_drawn": 0.5006,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0485,
                "tackles_won": 0.0593,
                "tackles": 0.1665,
                "clearances": 0.3428,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0163,
                "xgot": 0.0646,
                "offsides": 0.1295,
                "ball_carries": 4.9075,
                "total_progression": 14.6549,
                "progressive_carries": 1.0139,
                "shots_off_target": 0.715
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:07:14.441608+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 611,
                    "rows": 16533
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Osasuna",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.1537,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Valencia",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.1306,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.111,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0944,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0802,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0682,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.058,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0493,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Espanyol",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0419,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-01",
                    "opponent": "Valencia",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0356,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1166,
                  "totalOppositionHalfPasses": 5.6493,
                  "accurateOppositionHalfPasses": 5.0863,
                  "accuratePass": 7.2753,
                  "totalShots": 1.5933
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06753035634756088,
                    "model_output": 0.0675,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2858
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0881
                      },
                      {
                        "name": "goals",
                        "importance": 0.0357
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0272
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0231
                      }
                    ],
                    "decomposition": {
                      "base": 0.1979,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0916
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0133
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.007
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0037
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0115,
                      "total": 0.0675,
                      "log_link": true,
                      "margin_base": -1.619934,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.621274
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.133095
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.078159
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.044103
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.04124
                        }
                      ],
                      "others_margin": -0.157373
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07562891393899918,
                    "model_output": 0.0756,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1497
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0696
                      },
                      {
                        "name": "goals",
                        "importance": 0.0577
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0307
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0286
                      }
                    ],
                    "decomposition": {
                      "base": 0.2023,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0929
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0123
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0094
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0038
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0049,
                      "total": 0.0756,
                      "log_link": true,
                      "margin_base": -1.597983,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.614893
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.11942
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.101508
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.044609
                        },
                        {
                          "name": "goals",
                          "margin": -0.041623
                        }
                      ],
                      "others_margin": -0.061881
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.30326002836227417,
                    "model_output": 0.3033,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2171
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0661
                      },
                      {
                        "name": "goals",
                        "importance": 0.0553
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0475
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0308
                      }
                    ],
                    "decomposition": {
                      "base": 0.5362,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2143
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0125
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0106
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0109
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0097
                        }
                      ],
                      "others": -0.0373,
                      "total": 0.3033,
                      "log_link": true,
                      "margin_base": -0.623262,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.510169
                        },
                        {
                          "name": "goals",
                          "margin": -0.039661
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.033828
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.03335
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.02897
                        }
                      ],
                      "others_margin": -0.11622
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0182791948318481,
                    "model_output": 1.0183,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2864
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.051
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.031
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 1.3807,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5392
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1261
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0471
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0437
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0397
                        }
                      ],
                      "others": -0.0798,
                      "total": 1.0183,
                      "log_link": false,
                      "margin_base": 1.380749,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.539195
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.126078
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.047125
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.043675
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.039656
                        }
                      ],
                      "others_margin": -0.079807
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.022698013111948967,
                    "model_output": 0.0227,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1157
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0645
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0607
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0558
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 0.0644,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0231
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0075
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0047
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0029
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0014,
                      "total": 0.0227,
                      "log_link": true,
                      "margin_base": -2.741965,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.442879
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.200783
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.150897
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.105556
                        },
                        {
                          "name": "rating",
                          "margin": -0.084593
                        }
                      ],
                      "others_margin": -0.058807
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.35172760486602783,
                    "model_output": 0.3517,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1481
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1244
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1112
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.052
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0395
                      }
                    ],
                    "decomposition": {
                      "base": 0.6805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2569
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.034
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.025
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0231
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.011
                        }
                      ],
                      "others": 0.0212,
                      "total": 0.3517,
                      "log_link": true,
                      "margin_base": -0.384987,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.474053
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.08374
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.066293
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.065464
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.032687
                        }
                      ],
                      "others_margin": 0.062326
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6224260330200195,
                    "model_output": 6.6224,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.059
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0483
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0421
                      },
                      {
                        "name": "rating",
                        "importance": 0.0418
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0415
                      }
                    ],
                    "decomposition": {
                      "base": 6.7683,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.072
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0257
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0169
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.012
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0097
                        }
                      ],
                      "others": -0.0434,
                      "total": 6.6224,
                      "log_link": false,
                      "margin_base": 6.768281,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.072049
                        },
                        {
                          "name": "rating",
                          "margin": -0.025706
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.016916
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011998
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.009675
                        }
                      ],
                      "others_margin": -0.043341
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 23,
                  "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.9998, quality 0.501)",
              "stats": {
                "expected_goals": 0.0675,
                "goals": 0.0756,
                "goal_rate": 0.0756,
                "shots_on_target": 0.3032,
                "total_shots": 1.0181,
                "expected_assists": 0.0227,
                "key_pass": 0.3517,
                "rating": 6.6224,
                "minutes": 18.14,
                "total_pass": 5.9118,
                "accurate_pass": 5.141,
                "duels_won": 0.9527,
                "total_long_balls": 0.1041,
                "accurate_long_balls": 0.0923,
                "total_opp_half_passes": 4.3595,
                "accurate_opp_half_passes": 3.7768,
                "crosses_total": 0.1777,
                "crosses_accurate": 0.0,
                "touches": 11.1621,
                "possession_lost": 2.741,
                "dispossessed": 0.6587,
                "duels_lost": 1.5877,
                "aerial_lost": 0.0312,
                "total_contest": 0.5536,
                "won_contest": 0.2856,
                "ball_recovery": 1.0669,
                "challenges_lost": 0.2759,
                "fouls": 0.354,
                "fouls_drawn": 0.5005,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0485,
                "tackles_won": 0.0593,
                "tackles": 0.1665,
                "clearances": 0.3427,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0163,
                "xgot": 0.0646,
                "offsides": 0.1295,
                "ball_carries": 4.9065,
                "total_progression": 14.652,
                "progressive_carries": 1.0137,
                "shots_off_target": 0.7149
              },
              "params": {
                "market_value_eur": 8199999,
                "quality_factor": 0.5011,
                "boost_factor": 0.9998,
                "reference_quality": 0.505,
                "history_matches": 23,
                "history_shrink": 0.1786,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.1 to 25.5 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.0951,
                "goals": 0.1065,
                "goal_rate": 0.1065,
                "shots_on_target": 0.427,
                "total_shots": 1.4337,
                "expected_assists": 0.032,
                "key_pass": 0.4953,
                "rating": 6.6224,
                "minutes": 25.54,
                "total_pass": 8.3249,
                "accurate_pass": 7.2394,
                "duels_won": 1.3416,
                "total_long_balls": 0.1466,
                "accurate_long_balls": 0.13,
                "total_opp_half_passes": 6.1389,
                "accurate_opp_half_passes": 5.3184,
                "crosses_total": 0.2502,
                "crosses_accurate": 0.0,
                "touches": 15.7182,
                "possession_lost": 3.8598,
                "dispossessed": 0.6587,
                "duels_lost": 2.2358,
                "aerial_lost": 0.0312,
                "total_contest": 0.7796,
                "won_contest": 0.4022,
                "ball_recovery": 1.5024,
                "challenges_lost": 0.2759,
                "fouls": 0.4985,
                "fouls_drawn": 0.7048,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0683,
                "tackles_won": 0.0835,
                "tackles": 0.2345,
                "clearances": 0.4826,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.023,
                "xgot": 0.091,
                "offsides": 0.1295,
                "ball_carries": 6.9092,
                "total_progression": 20.6326,
                "progressive_carries": 1.4275,
                "shots_off_target": 1.0067,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54
              },
              "params": {
                "expected_minutes": 25.54,
                "projection_minutes": 18.14,
                "minutes_scale": 1.4082,
                "appearance_probability": 0.57
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0951,
                "goals": 0.1065,
                "goal_rate": 0.1065,
                "shots_on_target": 0.427,
                "total_shots": 1.4337,
                "expected_assists": 0.032,
                "key_pass": 0.4953,
                "rating": 6.6224,
                "minutes": 25.54,
                "total_pass": 8.3249,
                "accurate_pass": 7.2394,
                "duels_won": 1.3416,
                "total_long_balls": 0.1466,
                "accurate_long_balls": 0.13,
                "total_opp_half_passes": 6.1389,
                "accurate_opp_half_passes": 5.3184,
                "crosses_total": 0.2502,
                "crosses_accurate": 0.0,
                "touches": 15.7182,
                "possession_lost": 3.8598,
                "dispossessed": 0.6587,
                "duels_lost": 2.2358,
                "aerial_lost": 0.0312,
                "total_contest": 0.7796,
                "won_contest": 0.4022,
                "ball_recovery": 1.5024,
                "challenges_lost": 0.2759,
                "fouls": 0.4985,
                "fouls_drawn": 0.7048,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0683,
                "tackles_won": 0.0835,
                "tackles": 0.2345,
                "clearances": 0.4826,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.023,
                "xgot": 0.091,
                "offsides": 0.1295,
                "ball_carries": 6.9092,
                "total_progression": 20.6326,
                "progressive_carries": 1.4275,
                "shots_off_target": 1.0067,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0951,
                "goal_rate": 0.1065,
                "goals": 0,
                "shots_on_target": 0.427,
                "total_shots": 1.4337,
                "expected_assists": 0.032,
                "key_pass": 0.4953,
                "rating": 6.6224,
                "minutes": 25.54,
                "total_pass": 8.3249,
                "accurate_pass": 7.2394,
                "duels_won": 1.3416,
                "total_long_balls": 0.1466,
                "accurate_long_balls": 0.13,
                "total_opp_half_passes": 6.1389,
                "accurate_opp_half_passes": 5.3184,
                "crosses_total": 0.2502,
                "crosses_accurate": 0.0,
                "touches": 15.7182,
                "possession_lost": 3.8598,
                "dispossessed": 0.6587,
                "duels_lost": 2.2358,
                "aerial_lost": 0.0312,
                "total_contest": 0.7796,
                "won_contest": 0.4022,
                "ball_recovery": 1.5024,
                "challenges_lost": 0.2759,
                "fouls": 0.4985,
                "fouls_drawn": 0.7048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0683,
                "tackles_won": 0.0835,
                "tackles": 0.2345,
                "clearances": 0.4826,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.023,
                "xgot": 0.091,
                "offsides": 0.1295,
                "ball_carries": 6.9092,
                "total_progression": 20.6326,
                "progressive_carries": 1.4275,
                "shots_off_target": 1.0067,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.31 (squad xG sum 1.1245, xG scale 1.1667, xA scale 1.1667, team xA 0.98 = 0.74 x lambda)",
              "stats": {
                "expected_goals": 0.0632,
                "goal_rate": 0.1065,
                "goals": 0,
                "shots_on_target": 0.427,
                "total_shots": 1.4337,
                "expected_assists": 0.0213,
                "key_pass": 0.4953,
                "rating": 6.6224,
                "minutes": 25.54,
                "total_pass": 8.3249,
                "accurate_pass": 7.2394,
                "duels_won": 1.3416,
                "total_long_balls": 0.1466,
                "accurate_long_balls": 0.13,
                "total_opp_half_passes": 6.1389,
                "accurate_opp_half_passes": 5.3184,
                "crosses_total": 0.2502,
                "crosses_accurate": 0.0,
                "touches": 15.7182,
                "possession_lost": 3.8598,
                "dispossessed": 0.6587,
                "duels_lost": 2.2358,
                "aerial_lost": 0.0312,
                "total_contest": 0.7796,
                "won_contest": 0.4022,
                "ball_recovery": 1.5024,
                "challenges_lost": 0.2759,
                "fouls": 0.4985,
                "fouls_drawn": 0.7048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0683,
                "tackles_won": 0.0835,
                "tackles": 0.2345,
                "clearances": 0.4826,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.023,
                "xgot": 0.0605,
                "offsides": 0.1295,
                "ball_carries": 6.9092,
                "total_progression": 20.6326,
                "progressive_carries": 1.4275,
                "shots_off_target": 1.0067,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0786,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.312,
                "squad_xg_sum": 1.1245,
                "squad_xa_sum": 0.8366,
                "team_expected_assists": 0.9761,
                "team_xa_to_xg_ratio": 0.744,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1667,
                "xa_scale": 1.1667,
                "opponent_lambda": 1.46,
                "scoreline_reset": true,
                "appearance_weight": 0.57
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0951,
                  "after": 0.0632
                },
                {
                  "stat": "expected_assists",
                  "before": 0.032,
                  "after": 0.0213
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 70.0)",
              "stats": {
                "expected_goals": 0.0632,
                "goal_rate": 0.1065,
                "goals": 0,
                "shots_on_target": 0.427,
                "total_shots": 1.4337,
                "expected_assists": 0.0213,
                "key_pass": 0.4953,
                "rating": 6.6224,
                "minutes": 25.54,
                "total_pass": 8.3249,
                "accurate_pass": 7.2394,
                "duels_won": 1.3416,
                "total_long_balls": 0.1466,
                "accurate_long_balls": 0.13,
                "total_opp_half_passes": 6.1389,
                "accurate_opp_half_passes": 5.3184,
                "crosses_total": 0.2502,
                "crosses_accurate": 0.0,
                "touches": 15.7182,
                "possession_lost": 3.8598,
                "dispossessed": 0.6587,
                "duels_lost": 2.2358,
                "aerial_lost": 0.0312,
                "total_contest": 0.7796,
                "won_contest": 0.4022,
                "ball_recovery": 1.5024,
                "challenges_lost": 0.2759,
                "fouls": 0.4985,
                "fouls_drawn": 0.7048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0683,
                "tackles_won": 0.0835,
                "tackles": 0.2345,
                "clearances": 0.4826,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.023,
                "xgot": 0.0605,
                "offsides": 0.1295,
                "ball_carries": 6.9092,
                "total_progression": 20.6326,
                "progressive_carries": 1.4275,
                "shots_off_target": 1.0067,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0786,
                "creation_factor": 0.8,
                "fifa_overall": 70.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5059,
                "fifa_rank": 5917.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 70.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0632,
                "goal_rate": 0.1065,
                "goals": 0,
                "shots_on_target": 0.427,
                "total_shots": 1.4337,
                "expected_assists": 0.0213,
                "key_pass": 0.4953,
                "rating": 6.6224,
                "minutes": 25.54,
                "total_pass": 8.3249,
                "accurate_pass": 7.2394,
                "duels_won": 1.3416,
                "total_long_balls": 0.1466,
                "accurate_long_balls": 0.13,
                "total_opp_half_passes": 6.1389,
                "accurate_opp_half_passes": 5.3184,
                "crosses_total": 0.2502,
                "crosses_accurate": 0.0,
                "touches": 15.7182,
                "possession_lost": 3.8598,
                "dispossessed": 0.6587,
                "duels_lost": 2.2358,
                "aerial_lost": 0.0312,
                "total_contest": 0.7796,
                "won_contest": 0.4022,
                "ball_recovery": 1.5024,
                "challenges_lost": 0.2759,
                "fouls": 0.4985,
                "fouls_drawn": 0.7048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0683,
                "tackles_won": 0.0835,
                "tackles": 0.2345,
                "clearances": 0.4826,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.023,
                "xgot": 0.0605,
                "offsides": 0.1295,
                "ball_carries": 6.9092,
                "total_progression": 20.6326,
                "progressive_carries": 1.4275,
                "shots_off_target": 1.0067,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0598,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0786,
                "creation_factor": 0.8,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0598,
                "goal_rate": 0.1065,
                "scorer_weight": 0.0682,
                "squad_weight_total": 1.3832,
                "weight_share": 0.0493,
                "finishing_factor": 1.0786,
                "appearance_weight": 0.57,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.5461,
                    "already": 0,
                    "effective_weight": 0.5461,
                    "runner_up": "Andrés Martín",
                    "runner_up_effective_weight": 0.2591
                  }
                ]
              }
            },
            {
              "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.0632,
                "goal_rate": 0.1065,
                "goals": 0,
                "shots_on_target": 0.427,
                "total_shots": 1.4337,
                "expected_assists": 0.0213,
                "key_pass": 0.4953,
                "rating": 6.6224,
                "minutes": 25.54,
                "total_pass": 8.3249,
                "accurate_pass": 7.2394,
                "duels_won": 1.3416,
                "total_long_balls": 0.1466,
                "accurate_long_balls": 0.13,
                "total_opp_half_passes": 6.1389,
                "accurate_opp_half_passes": 5.3184,
                "crosses_total": 0.2502,
                "crosses_accurate": 0.0,
                "touches": 15.7182,
                "possession_lost": 3.8598,
                "dispossessed": 0.6587,
                "duels_lost": 2.2358,
                "aerial_lost": 0.0312,
                "total_contest": 0.7796,
                "won_contest": 0.4022,
                "ball_recovery": 1.5024,
                "challenges_lost": 0.2759,
                "fouls": 0.4985,
                "fouls_drawn": 0.7048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0683,
                "tackles_won": 0.0835,
                "tackles": 0.2345,
                "clearances": 0.4826,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.023,
                "xgot": 0.0605,
                "offsides": 0.1295,
                "ball_carries": 6.9092,
                "total_progression": 20.6326,
                "progressive_carries": 1.4275,
                "shots_off_target": 1.0067,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0598,
                "projected_assists": 0,
                "assist_probability": 0.0209,
                "finishing_factor": 1.0786,
                "creation_factor": 0.8,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0209,
                "assist_rate": 0.0,
                "provider_weight": 0.017,
                "squad_weight_total": 0.9828,
                "weight_share": 0.0173,
                "creation_factor": 0.8,
                "appearance_weight": 0.57,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.3651,
                    "already": 0,
                    "effective_weight": 0.3651,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.1384,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Giorgi Guliashvili": {
          "player_id": 965257,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 7,
          "height": 179,
          "market_value": 3400000,
          "stats": {
            "expected_goals": 0.0719,
            "goal_rate": 0.1158,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0076,
            "key_pass": 0,
            "rating": 6.5866,
            "minutes": 25,
            "total_pass": 3,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 1.4055,
            "dispossessed": 0.3664,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 2,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.56,
            "bench_expected_minutes": 25.31,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0675,
            "projected_assists": 0,
            "assist_probability": 0.0075,
            "finishing_factor": 1.0362,
            "creation_factor": 0.8104,
            "fifa_overall": 69.0
          },
          "latest_10_games": [
            {
              "match_id": 16421078,
              "match_date": "2026-10-18",
              "home_team": "Osasuna",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_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": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3663,
                "expected_assists": 0.0036,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 12,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 15,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 21,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "clearances": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5690,
            "combined_rank_score": 3969.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 976.0,
            "sofascore_rating": 6.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 6962.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.5866,
            "source_file": "data/player_rankings.csv",
            "player_name": "Giorgi Guliashvili",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "James McConnell",
                  "ranking": 5685
                },
                {
                  "player_name": "Bryan Rabello",
                  "ranking": 5686
                },
                {
                  "player_name": "Jherson Mosquera",
                  "ranking": 5687
                },
                {
                  "player_name": "Luka Ilić",
                  "ranking": 5688
                },
                {
                  "player_name": "Dominic Hyam",
                  "ranking": 5689
                }
              ],
              "lower": [
                {
                  "player_name": "Joao Grimaldo",
                  "ranking": 5691
                },
                {
                  "player_name": "Ben Whiteman",
                  "ranking": 5692
                },
                {
                  "player_name": "Emiliano Ancheta",
                  "ranking": 5693
                },
                {
                  "player_name": "Marc Bola",
                  "ranking": 5694
                },
                {
                  "player_name": "Dael Fry",
                  "ranking": 5695
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.562,
          "history_matches": 5,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 5,
            "data_confidence": 0.562,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.31189584546643,
            "bench_appearance_prob": 0.5596316293393832,
            "market_value_adjustment": 0.9906,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (5 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.074,
                "goals": 0.0779,
                "goal_rate": 0.0779,
                "shots_on_target": 0.1985,
                "total_shots": 0.5131,
                "expected_assists": 0.0079,
                "key_pass": 0.2168,
                "rating": 6.5866,
                "minutes": 13.92,
                "total_pass": 2.32,
                "accurate_pass": 1.9096,
                "duels_won": 0.794,
                "total_long_balls": 0.1656,
                "accurate_long_balls": 0.1656,
                "total_opp_half_passes": 1.2636,
                "accurate_opp_half_passes": 0.8532,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 4.3009,
                "possession_lost": 0.9459,
                "dispossessed": 0.3699,
                "duels_lost": 1.0214,
                "aerial_lost": 0.5107,
                "total_contest": 0.424,
                "won_contest": 0.424,
                "ball_recovery": 0.5552,
                "challenges_lost": 0.0,
                "fouls": 0.1408,
                "fouls_drawn": 0.3699,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1408,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2292,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.1887,
                "total_progression": 1.4655,
                "progressive_carries": 0.2292,
                "shots_off_target": 0.3146
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:07:14.441608+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 611,
                    "rows": 16533
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Osasuna",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.2696,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.2292,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.1948,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.1656,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.084,
                  "totalOppositionHalfPasses": 1.2636,
                  "accurateOppositionHalfPasses": 0.8532,
                  "accuratePass": 1.9096,
                  "totalShots": 0.2292
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07396695017814636,
                    "model_output": 0.074,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2858
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0881
                      },
                      {
                        "name": "goals",
                        "importance": 0.0357
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0272
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0231
                      }
                    ],
                    "decomposition": {
                      "base": 0.1979,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0915
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0116
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0081
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0048
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0033
                        }
                      ],
                      "others": -0.0112,
                      "total": 0.074,
                      "log_link": true,
                      "margin_base": -1.619934,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.62019
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.115462
                        },
                        {
                          "name": "goals",
                          "margin": -0.088859
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.056989
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.039659
                        }
                      ],
                      "others_margin": -0.142362
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07794743031263351,
                    "model_output": 0.0779,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1497
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0696
                      },
                      {
                        "name": "goals",
                        "importance": 0.0577
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0307
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0286
                      }
                    ],
                    "decomposition": {
                      "base": 0.2023,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0846
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0141
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0108
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0055
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0043
                        }
                      ],
                      "others": -0.0051,
                      "total": 0.0779,
                      "log_link": true,
                      "margin_base": -1.597983,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.54184
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.127518
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.109704
                        },
                        {
                          "name": "goals",
                          "margin": -0.061261
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.050829
                        }
                      ],
                      "others_margin": -0.062587
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.19851446151733398,
                    "model_output": 0.1985,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2171
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0661
                      },
                      {
                        "name": "goals",
                        "importance": 0.0553
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0475
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0308
                      }
                    ],
                    "decomposition": {
                      "base": 0.5362,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2239
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0329
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0165
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.014
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0113
                        }
                      ],
                      "others": -0.0391,
                      "total": 0.1985,
                      "log_link": true,
                      "margin_base": -0.623262,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.54048
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.111391
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.060824
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.054765
                        },
                        {
                          "name": "goals",
                          "margin": -0.046611
                        }
                      ],
                      "others_margin": -0.17956
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5130802392959595,
                    "model_output": 0.5131,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2864
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.051
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.031
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 1.3807,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4655
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1332
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0594
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0344
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.032
                        }
                      ],
                      "others": -0.1431,
                      "total": 0.5131,
                      "log_link": false,
                      "margin_base": 1.380749,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.465504
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.133155
                        },
                        {
                          "name": "goals",
                          "margin": -0.059443
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.034423
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.031992
                        }
                      ],
                      "others_margin": -0.143152
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.00788138434290886,
                    "model_output": 0.0079,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1157
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0645
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0607
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0558
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 0.0644,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0256
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0112
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0062
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0043
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0071,
                      "total": 0.0079,
                      "log_link": true,
                      "margin_base": -2.741965,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.507345
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.341066
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.252762
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.22369
                        },
                        {
                          "name": "rating",
                          "margin": -0.129082
                        }
                      ],
                      "others_margin": -0.647343
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.21682654321193695,
                    "model_output": 0.2168,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1481
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1244
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1112
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.052
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0395
                      }
                    ],
                    "decomposition": {
                      "base": 0.6805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2758
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0364
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0319
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0231
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0212
                        }
                      ],
                      "others": -0.0753,
                      "total": 0.2168,
                      "log_link": true,
                      "margin_base": -0.384987,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.519796
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.094144
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.090461
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.071211
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.07006
                        }
                      ],
                      "others_margin": -0.297999
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.586605072021484,
                    "model_output": 6.5866,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.059
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0483
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0421
                      },
                      {
                        "name": "rating",
                        "importance": 0.0418
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0415
                      }
                    ],
                    "decomposition": {
                      "base": 6.7683,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0465
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0287
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0123
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0122
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0116
                        }
                      ],
                      "others": -0.0704,
                      "total": 6.5866,
                      "log_link": false,
                      "margin_base": 6.768281,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.046471
                        },
                        {
                          "name": "rating",
                          "margin": -0.028665
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012308
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.01222
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.011633
                        }
                      ],
                      "others_margin": -0.070377
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 5,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9906, quality 0.442)",
              "stats": {
                "expected_goals": 0.0733,
                "goals": 0.0772,
                "goal_rate": 0.0772,
                "shots_on_target": 0.1966,
                "total_shots": 0.5083,
                "expected_assists": 0.0078,
                "key_pass": 0.2148,
                "rating": 6.5866,
                "minutes": 13.92,
                "total_pass": 2.2982,
                "accurate_pass": 1.8916,
                "duels_won": 0.7865,
                "total_long_balls": 0.164,
                "accurate_long_balls": 0.164,
                "total_opp_half_passes": 1.2517,
                "accurate_opp_half_passes": 0.8452,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 4.2605,
                "possession_lost": 0.937,
                "dispossessed": 0.3664,
                "duels_lost": 1.0118,
                "aerial_lost": 0.5059,
                "total_contest": 0.42,
                "won_contest": 0.42,
                "ball_recovery": 0.55,
                "challenges_lost": 0.0,
                "fouls": 0.1395,
                "fouls_drawn": 0.3664,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1395,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.227,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.1775,
                "total_progression": 1.4517,
                "progressive_carries": 0.227,
                "shots_off_target": 0.3116
              },
              "params": {
                "market_value_eur": 3400000,
                "quality_factor": 0.4424,
                "boost_factor": 0.9906,
                "reference_quality": 0.505,
                "history_matches": 5,
                "history_shrink": 0.5,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 13.9 to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.11,
                "goals": 0.1158,
                "goal_rate": 0.1158,
                "shots_on_target": 0.2949,
                "total_shots": 0.7624,
                "expected_assists": 0.0117,
                "key_pass": 0.3222,
                "rating": 6.5866,
                "minutes": 25.31,
                "total_pass": 3.4473,
                "accurate_pass": 2.8374,
                "duels_won": 1.1797,
                "total_long_balls": 0.246,
                "accurate_long_balls": 0.246,
                "total_opp_half_passes": 1.8776,
                "accurate_opp_half_passes": 1.2678,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.3908,
                "possession_lost": 1.4055,
                "dispossessed": 0.3664,
                "duels_lost": 1.5177,
                "aerial_lost": 0.5059,
                "total_contest": 0.63,
                "won_contest": 0.63,
                "ball_recovery": 0.825,
                "challenges_lost": 0.0,
                "fouls": 0.2093,
                "fouls_drawn": 0.5496,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2093,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3405,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.7662,
                "total_progression": 2.1776,
                "progressive_carries": 0.3405,
                "shots_off_target": 0.4674,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31
              },
              "params": {
                "expected_minutes": 25.31,
                "projection_minutes": 13.92,
                "minutes_scale": 1.5,
                "appearance_probability": 0.56
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.11,
                "goals": 0.1158,
                "goal_rate": 0.1158,
                "shots_on_target": 0.2949,
                "total_shots": 0.7624,
                "expected_assists": 0.0117,
                "key_pass": 0.3222,
                "rating": 6.5866,
                "minutes": 25.31,
                "total_pass": 3.4473,
                "accurate_pass": 2.8374,
                "duels_won": 1.1797,
                "total_long_balls": 0.246,
                "accurate_long_balls": 0.246,
                "total_opp_half_passes": 1.8776,
                "accurate_opp_half_passes": 1.2678,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.3908,
                "possession_lost": 1.4055,
                "dispossessed": 0.3664,
                "duels_lost": 1.5177,
                "aerial_lost": 0.5059,
                "total_contest": 0.63,
                "won_contest": 0.63,
                "ball_recovery": 0.825,
                "challenges_lost": 0.0,
                "fouls": 0.2093,
                "fouls_drawn": 0.5496,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2093,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3405,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.7662,
                "total_progression": 2.1776,
                "progressive_carries": 0.3405,
                "shots_off_target": 0.4674,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.11,
                "goal_rate": 0.1158,
                "goals": 0,
                "shots_on_target": 0.2949,
                "total_shots": 0.7624,
                "expected_assists": 0.0117,
                "key_pass": 0.3222,
                "rating": 6.5866,
                "minutes": 25.31,
                "total_pass": 3.4473,
                "accurate_pass": 2.8374,
                "duels_won": 1.1797,
                "total_long_balls": 0.246,
                "accurate_long_balls": 0.246,
                "total_opp_half_passes": 1.8776,
                "accurate_opp_half_passes": 1.2678,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.3908,
                "possession_lost": 1.4055,
                "dispossessed": 0.3664,
                "duels_lost": 1.5177,
                "aerial_lost": 0.5059,
                "total_contest": 0.63,
                "won_contest": 0.63,
                "ball_recovery": 0.825,
                "challenges_lost": 0.0,
                "fouls": 0.2093,
                "fouls_drawn": 0.5496,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2093,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3405,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.7662,
                "total_progression": 2.1776,
                "progressive_carries": 0.3405,
                "shots_off_target": 0.4674,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.31 (squad xG sum 1.1245, xG scale 1.1667, xA scale 1.1667, team xA 0.98 = 0.74 x lambda)",
              "stats": {
                "expected_goals": 0.0719,
                "goal_rate": 0.1158,
                "goals": 0,
                "shots_on_target": 0.2949,
                "total_shots": 0.7624,
                "expected_assists": 0.0076,
                "key_pass": 0.3222,
                "rating": 6.5866,
                "minutes": 25.31,
                "total_pass": 3.4473,
                "accurate_pass": 2.8374,
                "duels_won": 1.1797,
                "total_long_balls": 0.246,
                "accurate_long_balls": 0.246,
                "total_opp_half_passes": 1.8776,
                "accurate_opp_half_passes": 1.2678,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.3908,
                "possession_lost": 1.4055,
                "dispossessed": 0.3664,
                "duels_lost": 1.5177,
                "aerial_lost": 0.5059,
                "total_contest": 0.63,
                "won_contest": 0.63,
                "ball_recovery": 0.825,
                "challenges_lost": 0.0,
                "fouls": 0.2093,
                "fouls_drawn": 0.5496,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2093,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3405,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.7662,
                "total_progression": 2.1776,
                "progressive_carries": 0.3405,
                "shots_off_target": 0.4674,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0362,
                "creation_factor": 0.8104
              },
              "params": {
                "team_lambda": 1.312,
                "squad_xg_sum": 1.1245,
                "squad_xa_sum": 0.8366,
                "team_expected_assists": 0.9761,
                "team_xa_to_xg_ratio": 0.744,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1667,
                "xa_scale": 1.1667,
                "opponent_lambda": 1.46,
                "scoreline_reset": true,
                "appearance_weight": 0.56
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.11,
                  "after": 0.0719
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 69.0)",
              "stats": {
                "expected_goals": 0.0719,
                "goal_rate": 0.1158,
                "goals": 0,
                "shots_on_target": 0.2949,
                "total_shots": 0.7624,
                "expected_assists": 0.0076,
                "key_pass": 0.3222,
                "rating": 6.5866,
                "minutes": 25.31,
                "total_pass": 3.4473,
                "accurate_pass": 2.8374,
                "duels_won": 1.1797,
                "total_long_balls": 0.246,
                "accurate_long_balls": 0.246,
                "total_opp_half_passes": 1.8776,
                "accurate_opp_half_passes": 1.2678,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.3908,
                "possession_lost": 1.4055,
                "dispossessed": 0.3664,
                "duels_lost": 1.5177,
                "aerial_lost": 0.5059,
                "total_contest": 0.63,
                "won_contest": 0.63,
                "ball_recovery": 0.825,
                "challenges_lost": 0.0,
                "fouls": 0.2093,
                "fouls_drawn": 0.5496,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2093,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3405,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.7662,
                "total_progression": 2.1776,
                "progressive_carries": 0.3405,
                "shots_off_target": 0.4674,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0362,
                "creation_factor": 0.8104,
                "fifa_overall": 69.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5690,
                "fifa_rank": 6962.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0719,
                "goal_rate": 0.1158,
                "goals": 0,
                "shots_on_target": 0.2949,
                "total_shots": 0.7624,
                "expected_assists": 0.0076,
                "key_pass": 0.3222,
                "rating": 6.5866,
                "minutes": 25.31,
                "total_pass": 3.4473,
                "accurate_pass": 2.8374,
                "duels_won": 1.1797,
                "total_long_balls": 0.246,
                "accurate_long_balls": 0.246,
                "total_opp_half_passes": 1.8776,
                "accurate_opp_half_passes": 1.2678,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.3908,
                "possession_lost": 1.4055,
                "dispossessed": 0.3664,
                "duels_lost": 1.5177,
                "aerial_lost": 0.5059,
                "total_contest": 0.63,
                "won_contest": 0.63,
                "ball_recovery": 0.825,
                "challenges_lost": 0.0,
                "fouls": 0.2093,
                "fouls_drawn": 0.5496,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2093,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3405,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.7662,
                "total_progression": 2.1776,
                "progressive_carries": 0.3405,
                "shots_off_target": 0.4674,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0675,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0362,
                "creation_factor": 0.8104,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0675,
                "goal_rate": 0.1158,
                "scorer_weight": 0.0745,
                "squad_weight_total": 1.3832,
                "weight_share": 0.0539,
                "finishing_factor": 1.0362,
                "appearance_weight": 0.56,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.5461,
                    "already": 0,
                    "effective_weight": 0.5461,
                    "runner_up": "Andrés Martín",
                    "runner_up_effective_weight": 0.2591
                  }
                ]
              }
            },
            {
              "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.0719,
                "goal_rate": 0.1158,
                "goals": 0,
                "shots_on_target": 0.2949,
                "total_shots": 0.7624,
                "expected_assists": 0.0076,
                "key_pass": 0.3222,
                "rating": 6.5866,
                "minutes": 25.31,
                "total_pass": 3.4473,
                "accurate_pass": 2.8374,
                "duels_won": 1.1797,
                "total_long_balls": 0.246,
                "accurate_long_balls": 0.246,
                "total_opp_half_passes": 1.8776,
                "accurate_opp_half_passes": 1.2678,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.3908,
                "possession_lost": 1.4055,
                "dispossessed": 0.3664,
                "duels_lost": 1.5177,
                "aerial_lost": 0.5059,
                "total_contest": 0.63,
                "won_contest": 0.63,
                "ball_recovery": 0.825,
                "challenges_lost": 0.0,
                "fouls": 0.2093,
                "fouls_drawn": 0.5496,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2093,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3405,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.7662,
                "total_progression": 2.1776,
                "progressive_carries": 0.3405,
                "shots_off_target": 0.4674,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0675,
                "projected_assists": 0,
                "assist_probability": 0.0075,
                "finishing_factor": 1.0362,
                "creation_factor": 0.8104,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0075,
                "assist_rate": 0.0,
                "provider_weight": 0.0062,
                "squad_weight_total": 0.9828,
                "weight_share": 0.0063,
                "creation_factor": 0.8104,
                "appearance_weight": 0.56,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.3651,
                    "already": 0,
                    "effective_weight": 0.3651,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.1384,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Pablo García": {
          "player_id": 1893910,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 15,
          "height": 175,
          "market_value": 8199999,
          "stats": {
            "expected_goals": 0.0632,
            "goal_rate": 0.1065,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0213,
            "key_pass": 0,
            "rating": 6.6224,
            "minutes": 26,
            "total_pass": 8,
            "accurate_pass": 7,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 3.8598,
            "dispossessed": 0.6587,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0605,
            "offsides": 0,
            "ball_carries": 7,
            "total_progression": 21,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.57,
            "bench_expected_minutes": 25.54,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0598,
            "projected_assists": 0,
            "assist_probability": 0.0209,
            "finishing_factor": 1.0786,
            "creation_factor": 0.8,
            "fifa_overall": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16421078,
              "match_date": "2026-10-18",
              "home_team": "Osasuna",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 21,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1087,
                "expected_assists": 0.009,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 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": 16421064,
              "match_date": "2026-10-11",
              "home_team": "Real Racing Club",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Valencia",
              "stats": {
                "minutes": 15,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0367,
                "expected_assists": 0.0108,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 63,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0438,
                "expected_assists": 0.0246,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 15,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 65,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4125,
                "expected_assists": 0.005,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 12,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416321,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 89,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1417,
                "expected_assists": 0.0041,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0894,
                "expected_assists": 0.007,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2814,
                "expected_assists": 0.0023,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "clearances": 3,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 17,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0317,
                "expected_assists": 0.0322,
                "total_shots": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14081811,
              "match_date": "2026-04-04",
              "home_team": "Real Betis",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0851,
                "expected_assists": 0.0064,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 8,
                "accurate_pass": 8,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083207,
              "match_date": "2026-02-01",
              "home_team": "Real Betis",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 23,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 5059,
            "combined_rank_score": 3247.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 3.0,
            "fifa_rank": 5917.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6224,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Philippe Sandler",
                  "ranking": 5054
                },
                {
                  "player_name": "Jordan Lotomba",
                  "ranking": 5055
                },
                {
                  "player_name": "Jhon Córdoba",
                  "ranking": 5056
                },
                {
                  "player_name": "Jari De Busser",
                  "ranking": 5057
                },
                {
                  "player_name": "Gijs Smal",
                  "ranking": 5058
                }
              ],
              "lower": [
                {
                  "player_name": "Jacob Trenskow",
                  "ranking": 5060
                },
                {
                  "player_name": "Virgil Ghiță",
                  "ranking": 5061
                },
                {
                  "player_name": "Daan Rots",
                  "ranking": 5062
                },
                {
                  "player_name": "Thomas Beelen",
                  "ranking": 5063
                },
                {
                  "player_name": "Alexandre Penetra",
                  "ranking": 5064
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 23,
          "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": 23,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.544307952762857,
            "bench_appearance_prob": 0.5701958160346754,
            "market_value_adjustment": 0.9998,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (23 historical appearances) to 25.5 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0675,
                "goals": 0.0756,
                "goal_rate": 0.0756,
                "shots_on_target": 0.3033,
                "total_shots": 1.0183,
                "expected_assists": 0.0227,
                "key_pass": 0.3517,
                "rating": 6.6224,
                "minutes": 18.14,
                "total_pass": 5.913,
                "accurate_pass": 5.142,
                "duels_won": 0.9529,
                "total_long_balls": 0.1041,
                "accurate_long_balls": 0.0923,
                "total_opp_half_passes": 4.3604,
                "accurate_opp_half_passes": 3.7776,
                "crosses_total": 0.1777,
                "crosses_accurate": 0.0,
                "touches": 11.1643,
                "possession_lost": 2.7415,
                "dispossessed": 0.6588,
                "duels_lost": 1.588,
                "aerial_lost": 0.0312,
                "total_contest": 0.5537,
                "won_contest": 0.2857,
                "ball_recovery": 1.0671,
                "challenges_lost": 0.276,
                "fouls": 0.3541,
                "fouls_drawn": 0.5006,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0485,
                "tackles_won": 0.0593,
                "tackles": 0.1665,
                "clearances": 0.3428,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0163,
                "xgot": 0.0646,
                "offsides": 0.1295,
                "ball_carries": 4.9075,
                "total_progression": 14.6549,
                "progressive_carries": 1.0139,
                "shots_off_target": 0.715
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:07:14.441608+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 611,
                    "rows": 16533
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Osasuna",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.1537,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Valencia",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.1306,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.111,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0944,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0802,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0682,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.058,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0493,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Espanyol",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0419,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-01",
                    "opponent": "Valencia",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0356,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1166,
                  "totalOppositionHalfPasses": 5.6493,
                  "accurateOppositionHalfPasses": 5.0863,
                  "accuratePass": 7.2753,
                  "totalShots": 1.5933
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06753035634756088,
                    "model_output": 0.0675,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2858
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0881
                      },
                      {
                        "name": "goals",
                        "importance": 0.0357
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0272
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0231
                      }
                    ],
                    "decomposition": {
                      "base": 0.1979,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0916
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0133
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.007
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0037
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0115,
                      "total": 0.0675,
                      "log_link": true,
                      "margin_base": -1.619934,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.621274
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.133095
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.078159
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.044103
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.04124
                        }
                      ],
                      "others_margin": -0.157373
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07562891393899918,
                    "model_output": 0.0756,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1497
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0696
                      },
                      {
                        "name": "goals",
                        "importance": 0.0577
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0307
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0286
                      }
                    ],
                    "decomposition": {
                      "base": 0.2023,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0929
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0123
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0094
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0038
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0049,
                      "total": 0.0756,
                      "log_link": true,
                      "margin_base": -1.597983,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.614893
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.11942
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.101508
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.044609
                        },
                        {
                          "name": "goals",
                          "margin": -0.041623
                        }
                      ],
                      "others_margin": -0.061881
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.30326002836227417,
                    "model_output": 0.3033,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2171
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0661
                      },
                      {
                        "name": "goals",
                        "importance": 0.0553
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0475
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0308
                      }
                    ],
                    "decomposition": {
                      "base": 0.5362,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2143
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0125
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0106
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0109
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0097
                        }
                      ],
                      "others": -0.0373,
                      "total": 0.3033,
                      "log_link": true,
                      "margin_base": -0.623262,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.510169
                        },
                        {
                          "name": "goals",
                          "margin": -0.039661
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.033828
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.03335
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.02897
                        }
                      ],
                      "others_margin": -0.11622
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0182791948318481,
                    "model_output": 1.0183,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2864
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.051
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.031
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 1.3807,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5392
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1261
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0471
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0437
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0397
                        }
                      ],
                      "others": -0.0798,
                      "total": 1.0183,
                      "log_link": false,
                      "margin_base": 1.380749,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.539195
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.126078
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.047125
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.043675
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.039656
                        }
                      ],
                      "others_margin": -0.079807
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.022698013111948967,
                    "model_output": 0.0227,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1157
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0645
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0607
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0558
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 0.0644,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0231
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0075
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0047
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0029
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0014,
                      "total": 0.0227,
                      "log_link": true,
                      "margin_base": -2.741965,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.442879
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.200783
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.150897
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.105556
                        },
                        {
                          "name": "rating",
                          "margin": -0.084593
                        }
                      ],
                      "others_margin": -0.058807
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.35172760486602783,
                    "model_output": 0.3517,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1481
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1244
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1112
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.052
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0395
                      }
                    ],
                    "decomposition": {
                      "base": 0.6805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2569
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.034
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.025
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0231
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.011
                        }
                      ],
                      "others": 0.0212,
                      "total": 0.3517,
                      "log_link": true,
                      "margin_base": -0.384987,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.474053
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.08374
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.066293
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.065464
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.032687
                        }
                      ],
                      "others_margin": 0.062326
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6224260330200195,
                    "model_output": 6.6224,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.059
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0483
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0421
                      },
                      {
                        "name": "rating",
                        "importance": 0.0418
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0415
                      }
                    ],
                    "decomposition": {
                      "base": 6.7683,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.072
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0257
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0169
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.012
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0097
                        }
                      ],
                      "others": -0.0434,
                      "total": 6.6224,
                      "log_link": false,
                      "margin_base": 6.768281,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.072049
                        },
                        {
                          "name": "rating",
                          "margin": -0.025706
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.016916
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011998
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.009675
                        }
                      ],
                      "others_margin": -0.043341
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 23,
                  "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.9998, quality 0.501)",
              "stats": {
                "expected_goals": 0.0675,
                "goals": 0.0756,
                "goal_rate": 0.0756,
                "shots_on_target": 0.3032,
                "total_shots": 1.0181,
                "expected_assists": 0.0227,
                "key_pass": 0.3517,
                "rating": 6.6224,
                "minutes": 18.14,
                "total_pass": 5.9118,
                "accurate_pass": 5.141,
                "duels_won": 0.9527,
                "total_long_balls": 0.1041,
                "accurate_long_balls": 0.0923,
                "total_opp_half_passes": 4.3595,
                "accurate_opp_half_passes": 3.7768,
                "crosses_total": 0.1777,
                "crosses_accurate": 0.0,
                "touches": 11.1621,
                "possession_lost": 2.741,
                "dispossessed": 0.6587,
                "duels_lost": 1.5877,
                "aerial_lost": 0.0312,
                "total_contest": 0.5536,
                "won_contest": 0.2856,
                "ball_recovery": 1.0669,
                "challenges_lost": 0.2759,
                "fouls": 0.354,
                "fouls_drawn": 0.5005,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0485,
                "tackles_won": 0.0593,
                "tackles": 0.1665,
                "clearances": 0.3427,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0163,
                "xgot": 0.0646,
                "offsides": 0.1295,
                "ball_carries": 4.9065,
                "total_progression": 14.652,
                "progressive_carries": 1.0137,
                "shots_off_target": 0.7149
              },
              "params": {
                "market_value_eur": 8199999,
                "quality_factor": 0.5011,
                "boost_factor": 0.9998,
                "reference_quality": 0.505,
                "history_matches": 23,
                "history_shrink": 0.1786,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.1 to 25.5 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.0951,
                "goals": 0.1065,
                "goal_rate": 0.1065,
                "shots_on_target": 0.427,
                "total_shots": 1.4337,
                "expected_assists": 0.032,
                "key_pass": 0.4953,
                "rating": 6.6224,
                "minutes": 25.54,
                "total_pass": 8.3249,
                "accurate_pass": 7.2394,
                "duels_won": 1.3416,
                "total_long_balls": 0.1466,
                "accurate_long_balls": 0.13,
                "total_opp_half_passes": 6.1389,
                "accurate_opp_half_passes": 5.3184,
                "crosses_total": 0.2502,
                "crosses_accurate": 0.0,
                "touches": 15.7182,
                "possession_lost": 3.8598,
                "dispossessed": 0.6587,
                "duels_lost": 2.2358,
                "aerial_lost": 0.0312,
                "total_contest": 0.7796,
                "won_contest": 0.4022,
                "ball_recovery": 1.5024,
                "challenges_lost": 0.2759,
                "fouls": 0.4985,
                "fouls_drawn": 0.7048,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0683,
                "tackles_won": 0.0835,
                "tackles": 0.2345,
                "clearances": 0.4826,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.023,
                "xgot": 0.091,
                "offsides": 0.1295,
                "ball_carries": 6.9092,
                "total_progression": 20.6326,
                "progressive_carries": 1.4275,
                "shots_off_target": 1.0067,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54
              },
              "params": {
                "expected_minutes": 25.54,
                "projection_minutes": 18.14,
                "minutes_scale": 1.4082,
                "appearance_probability": 0.57
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0951,
                "goals": 0.1065,
                "goal_rate": 0.1065,
                "shots_on_target": 0.427,
                "total_shots": 1.4337,
                "expected_assists": 0.032,
                "key_pass": 0.4953,
                "rating": 6.6224,
                "minutes": 25.54,
                "total_pass": 8.3249,
                "accurate_pass": 7.2394,
                "duels_won": 1.3416,
                "total_long_balls": 0.1466,
                "accurate_long_balls": 0.13,
                "total_opp_half_passes": 6.1389,
                "accurate_opp_half_passes": 5.3184,
                "crosses_total": 0.2502,
                "crosses_accurate": 0.0,
                "touches": 15.7182,
                "possession_lost": 3.8598,
                "dispossessed": 0.6587,
                "duels_lost": 2.2358,
                "aerial_lost": 0.0312,
                "total_contest": 0.7796,
                "won_contest": 0.4022,
                "ball_recovery": 1.5024,
                "challenges_lost": 0.2759,
                "fouls": 0.4985,
                "fouls_drawn": 0.7048,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0683,
                "tackles_won": 0.0835,
                "tackles": 0.2345,
                "clearances": 0.4826,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.023,
                "xgot": 0.091,
                "offsides": 0.1295,
                "ball_carries": 6.9092,
                "total_progression": 20.6326,
                "progressive_carries": 1.4275,
                "shots_off_target": 1.0067,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0951,
                "goal_rate": 0.1065,
                "goals": 0,
                "shots_on_target": 0.427,
                "total_shots": 1.4337,
                "expected_assists": 0.032,
                "key_pass": 0.4953,
                "rating": 6.6224,
                "minutes": 25.54,
                "total_pass": 8.3249,
                "accurate_pass": 7.2394,
                "duels_won": 1.3416,
                "total_long_balls": 0.1466,
                "accurate_long_balls": 0.13,
                "total_opp_half_passes": 6.1389,
                "accurate_opp_half_passes": 5.3184,
                "crosses_total": 0.2502,
                "crosses_accurate": 0.0,
                "touches": 15.7182,
                "possession_lost": 3.8598,
                "dispossessed": 0.6587,
                "duels_lost": 2.2358,
                "aerial_lost": 0.0312,
                "total_contest": 0.7796,
                "won_contest": 0.4022,
                "ball_recovery": 1.5024,
                "challenges_lost": 0.2759,
                "fouls": 0.4985,
                "fouls_drawn": 0.7048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0683,
                "tackles_won": 0.0835,
                "tackles": 0.2345,
                "clearances": 0.4826,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.023,
                "xgot": 0.091,
                "offsides": 0.1295,
                "ball_carries": 6.9092,
                "total_progression": 20.6326,
                "progressive_carries": 1.4275,
                "shots_off_target": 1.0067,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.31 (squad xG sum 1.1245, xG scale 1.1667, xA scale 1.1667, team xA 0.98 = 0.74 x lambda)",
              "stats": {
                "expected_goals": 0.0632,
                "goal_rate": 0.1065,
                "goals": 0,
                "shots_on_target": 0.427,
                "total_shots": 1.4337,
                "expected_assists": 0.0213,
                "key_pass": 0.4953,
                "rating": 6.6224,
                "minutes": 25.54,
                "total_pass": 8.3249,
                "accurate_pass": 7.2394,
                "duels_won": 1.3416,
                "total_long_balls": 0.1466,
                "accurate_long_balls": 0.13,
                "total_opp_half_passes": 6.1389,
                "accurate_opp_half_passes": 5.3184,
                "crosses_total": 0.2502,
                "crosses_accurate": 0.0,
                "touches": 15.7182,
                "possession_lost": 3.8598,
                "dispossessed": 0.6587,
                "duels_lost": 2.2358,
                "aerial_lost": 0.0312,
                "total_contest": 0.7796,
                "won_contest": 0.4022,
                "ball_recovery": 1.5024,
                "challenges_lost": 0.2759,
                "fouls": 0.4985,
                "fouls_drawn": 0.7048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0683,
                "tackles_won": 0.0835,
                "tackles": 0.2345,
                "clearances": 0.4826,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.023,
                "xgot": 0.0605,
                "offsides": 0.1295,
                "ball_carries": 6.9092,
                "total_progression": 20.6326,
                "progressive_carries": 1.4275,
                "shots_off_target": 1.0067,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0786,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.312,
                "squad_xg_sum": 1.1245,
                "squad_xa_sum": 0.8366,
                "team_expected_assists": 0.9761,
                "team_xa_to_xg_ratio": 0.744,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1667,
                "xa_scale": 1.1667,
                "opponent_lambda": 1.46,
                "scoreline_reset": true,
                "appearance_weight": 0.57
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0951,
                  "after": 0.0632
                },
                {
                  "stat": "expected_assists",
                  "before": 0.032,
                  "after": 0.0213
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 70.0)",
              "stats": {
                "expected_goals": 0.0632,
                "goal_rate": 0.1065,
                "goals": 0,
                "shots_on_target": 0.427,
                "total_shots": 1.4337,
                "expected_assists": 0.0213,
                "key_pass": 0.4953,
                "rating": 6.6224,
                "minutes": 25.54,
                "total_pass": 8.3249,
                "accurate_pass": 7.2394,
                "duels_won": 1.3416,
                "total_long_balls": 0.1466,
                "accurate_long_balls": 0.13,
                "total_opp_half_passes": 6.1389,
                "accurate_opp_half_passes": 5.3184,
                "crosses_total": 0.2502,
                "crosses_accurate": 0.0,
                "touches": 15.7182,
                "possession_lost": 3.8598,
                "dispossessed": 0.6587,
                "duels_lost": 2.2358,
                "aerial_lost": 0.0312,
                "total_contest": 0.7796,
                "won_contest": 0.4022,
                "ball_recovery": 1.5024,
                "challenges_lost": 0.2759,
                "fouls": 0.4985,
                "fouls_drawn": 0.7048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0683,
                "tackles_won": 0.0835,
                "tackles": 0.2345,
                "clearances": 0.4826,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.023,
                "xgot": 0.0605,
                "offsides": 0.1295,
                "ball_carries": 6.9092,
                "total_progression": 20.6326,
                "progressive_carries": 1.4275,
                "shots_off_target": 1.0067,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0786,
                "creation_factor": 0.8,
                "fifa_overall": 70.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5059,
                "fifa_rank": 5917.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 70.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0632,
                "goal_rate": 0.1065,
                "goals": 0,
                "shots_on_target": 0.427,
                "total_shots": 1.4337,
                "expected_assists": 0.0213,
                "key_pass": 0.4953,
                "rating": 6.6224,
                "minutes": 25.54,
                "total_pass": 8.3249,
                "accurate_pass": 7.2394,
                "duels_won": 1.3416,
                "total_long_balls": 0.1466,
                "accurate_long_balls": 0.13,
                "total_opp_half_passes": 6.1389,
                "accurate_opp_half_passes": 5.3184,
                "crosses_total": 0.2502,
                "crosses_accurate": 0.0,
                "touches": 15.7182,
                "possession_lost": 3.8598,
                "dispossessed": 0.6587,
                "duels_lost": 2.2358,
                "aerial_lost": 0.0312,
                "total_contest": 0.7796,
                "won_contest": 0.4022,
                "ball_recovery": 1.5024,
                "challenges_lost": 0.2759,
                "fouls": 0.4985,
                "fouls_drawn": 0.7048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0683,
                "tackles_won": 0.0835,
                "tackles": 0.2345,
                "clearances": 0.4826,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.023,
                "xgot": 0.0605,
                "offsides": 0.1295,
                "ball_carries": 6.9092,
                "total_progression": 20.6326,
                "progressive_carries": 1.4275,
                "shots_off_target": 1.0067,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0598,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0786,
                "creation_factor": 0.8,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0598,
                "goal_rate": 0.1065,
                "scorer_weight": 0.0682,
                "squad_weight_total": 1.3832,
                "weight_share": 0.0493,
                "finishing_factor": 1.0786,
                "appearance_weight": 0.57,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.5461,
                    "already": 0,
                    "effective_weight": 0.5461,
                    "runner_up": "Andrés Martín",
                    "runner_up_effective_weight": 0.2591
                  }
                ]
              }
            },
            {
              "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.0632,
                "goal_rate": 0.1065,
                "goals": 0,
                "shots_on_target": 0.427,
                "total_shots": 1.4337,
                "expected_assists": 0.0213,
                "key_pass": 0.4953,
                "rating": 6.6224,
                "minutes": 25.54,
                "total_pass": 8.3249,
                "accurate_pass": 7.2394,
                "duels_won": 1.3416,
                "total_long_balls": 0.1466,
                "accurate_long_balls": 0.13,
                "total_opp_half_passes": 6.1389,
                "accurate_opp_half_passes": 5.3184,
                "crosses_total": 0.2502,
                "crosses_accurate": 0.0,
                "touches": 15.7182,
                "possession_lost": 3.8598,
                "dispossessed": 0.6587,
                "duels_lost": 2.2358,
                "aerial_lost": 0.0312,
                "total_contest": 0.7796,
                "won_contest": 0.4022,
                "ball_recovery": 1.5024,
                "challenges_lost": 0.2759,
                "fouls": 0.4985,
                "fouls_drawn": 0.7048,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0683,
                "tackles_won": 0.0835,
                "tackles": 0.2345,
                "clearances": 0.4826,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.023,
                "xgot": 0.0605,
                "offsides": 0.1295,
                "ball_carries": 6.9092,
                "total_progression": 20.6326,
                "progressive_carries": 1.4275,
                "shots_off_target": 1.0067,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 25.54,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0598,
                "projected_assists": 0,
                "assist_probability": 0.0209,
                "finishing_factor": 1.0786,
                "creation_factor": 0.8,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0209,
                "assist_rate": 0.0,
                "provider_weight": 0.017,
                "squad_weight_total": 0.9828,
                "weight_share": 0.0173,
                "creation_factor": 0.8,
                "appearance_weight": 0.57,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.3651,
                    "already": 0,
                    "effective_weight": 0.3651,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.1384,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Giorgi Guliashvili": {
          "player_id": 965257,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 7,
          "height": 179,
          "market_value": 3400000,
          "stats": {
            "expected_goals": 0.0719,
            "goal_rate": 0.1158,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0076,
            "key_pass": 0,
            "rating": 6.5866,
            "minutes": 25,
            "total_pass": 3,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 1.4055,
            "dispossessed": 0.3664,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 2,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.56,
            "bench_expected_minutes": 25.31,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.257,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0675,
            "projected_assists": 0,
            "assist_probability": 0.0075,
            "finishing_factor": 1.0362,
            "creation_factor": 0.8104,
            "fifa_overall": 69.0
          },
          "latest_10_games": [
            {
              "match_id": 16421078,
              "match_date": "2026-10-18",
              "home_team": "Osasuna",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_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": 16416344,
              "match_date": "2026-09-19",
              "home_team": "Celta Vigo",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3663,
                "expected_assists": 0.0036,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 12,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 15,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Racing Club",
              "opponent": "Elche",
              "stats": {
                "minutes": 21,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "clearances": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5690,
            "combined_rank_score": 3969.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 976.0,
            "sofascore_rating": 6.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 6962.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.5866,
            "source_file": "data/player_rankings.csv",
            "player_name": "Giorgi Guliashvili",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "James McConnell",
                  "ranking": 5685
                },
                {
                  "player_name": "Bryan Rabello",
                  "ranking": 5686
                },
                {
                  "player_name": "Jherson Mosquera",
                  "ranking": 5687
                },
                {
                  "player_name": "Luka Ilić",
                  "ranking": 5688
                },
                {
                  "player_name": "Dominic Hyam",
                  "ranking": 5689
                }
              ],
              "lower": [
                {
                  "player_name": "Joao Grimaldo",
                  "ranking": 5691
                },
                {
                  "player_name": "Ben Whiteman",
                  "ranking": 5692
                },
                {
                  "player_name": "Emiliano Ancheta",
                  "ranking": 5693
                },
                {
                  "player_name": "Marc Bola",
                  "ranking": 5694
                },
                {
                  "player_name": "Dael Fry",
                  "ranking": 5695
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.562,
          "history_matches": 5,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 5,
            "data_confidence": 0.562,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.31189584546643,
            "bench_appearance_prob": 0.5596316293393832,
            "market_value_adjustment": 0.9906,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (5 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.074,
                "goals": 0.0779,
                "goal_rate": 0.0779,
                "shots_on_target": 0.1985,
                "total_shots": 0.5131,
                "expected_assists": 0.0079,
                "key_pass": 0.2168,
                "rating": 6.5866,
                "minutes": 13.92,
                "total_pass": 2.32,
                "accurate_pass": 1.9096,
                "duels_won": 0.794,
                "total_long_balls": 0.1656,
                "accurate_long_balls": 0.1656,
                "total_opp_half_passes": 1.2636,
                "accurate_opp_half_passes": 0.8532,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 4.3009,
                "possession_lost": 0.9459,
                "dispossessed": 0.3699,
                "duels_lost": 1.0214,
                "aerial_lost": 0.5107,
                "total_contest": 0.424,
                "won_contest": 0.424,
                "ball_recovery": 0.5552,
                "challenges_lost": 0.0,
                "fouls": 0.1408,
                "fouls_drawn": 0.3699,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1408,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2292,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.1887,
                "total_progression": 1.4655,
                "progressive_carries": 0.2292,
                "shots_off_target": 0.3146
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:07:14.441608+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 611,
                    "rows": 16533
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Osasuna",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.2696,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Celta Vigo",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.2292,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "FC Barcelona",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.1948,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Deportivo Alavés",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.1656,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Elche",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.084,
                  "totalOppositionHalfPasses": 1.2636,
                  "accurateOppositionHalfPasses": 0.8532,
                  "accuratePass": 1.9096,
                  "totalShots": 0.2292
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07396695017814636,
                    "model_output": 0.074,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2858
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0881
                      },
                      {
                        "name": "goals",
                        "importance": 0.0357
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0272
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0231
                      }
                    ],
                    "decomposition": {
                      "base": 0.1979,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0915
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0116
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0081
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0048
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0033
                        }
                      ],
                      "others": -0.0112,
                      "total": 0.074,
                      "log_link": true,
                      "margin_base": -1.619934,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.62019
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.115462
                        },
                        {
                          "name": "goals",
                          "margin": -0.088859
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.056989
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.039659
                        }
                      ],
                      "others_margin": -0.142362
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07794743031263351,
                    "model_output": 0.0779,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1497
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0696
                      },
                      {
                        "name": "goals",
                        "importance": 0.0577
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0307
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0286
                      }
                    ],
                    "decomposition": {
                      "base": 0.2023,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0846
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0141
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0108
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0055
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0043
                        }
                      ],
                      "others": -0.0051,
                      "total": 0.0779,
                      "log_link": true,
                      "margin_base": -1.597983,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.54184
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.127518
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.109704
                        },
                        {
                          "name": "goals",
                          "margin": -0.061261
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.050829
                        }
                      ],
                      "others_margin": -0.062587
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.19851446151733398,
                    "model_output": 0.1985,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2171
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0661
                      },
                      {
                        "name": "goals",
                        "importance": 0.0553
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0475
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0308
                      }
                    ],
                    "decomposition": {
                      "base": 0.5362,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2239
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0329
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0165
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.014
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0113
                        }
                      ],
                      "others": -0.0391,
                      "total": 0.1985,
                      "log_link": true,
                      "margin_base": -0.623262,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.54048
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.111391
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.060824
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.054765
                        },
                        {
                          "name": "goals",
                          "margin": -0.046611
                        }
                      ],
                      "others_margin": -0.17956
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5130802392959595,
                    "model_output": 0.5131,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2864
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.051
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.031
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 1.3807,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4655
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1332
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0594
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0344
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.032
                        }
                      ],
                      "others": -0.1431,
                      "total": 0.5131,
                      "log_link": false,
                      "margin_base": 1.380749,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.465504
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.133155
                        },
                        {
                          "name": "goals",
                          "margin": -0.059443
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.034423
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.031992
                        }
                      ],
                      "others_margin": -0.143152
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.00788138434290886,
                    "model_output": 0.0079,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1157
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0645
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0607
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0558
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 0.0644,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0256
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0112
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0062
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0043
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0071,
                      "total": 0.0079,
                      "log_link": true,
                      "margin_base": -2.741965,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.507345
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.341066
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.252762
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.22369
                        },
                        {
                          "name": "rating",
                          "margin": -0.129082
                        }
                      ],
                      "others_margin": -0.647343
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.21682654321193695,
                    "model_output": 0.2168,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1481
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1244
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1112
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.052
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0395
                      }
                    ],
                    "decomposition": {
                      "base": 0.6805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2758
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0364
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0319
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0231
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0212
                        }
                      ],
                      "others": -0.0753,
                      "total": 0.2168,
                      "log_link": true,
                      "margin_base": -0.384987,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.519796
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.094144
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.090461
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.071211
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.07006
                        }
                      ],
                      "others_margin": -0.297999
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.586605072021484,
                    "model_output": 6.5866,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.059
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0483
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0421
                      },
                      {
                        "name": "rating",
                        "importance": 0.0418
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0415
                      }
                    ],
                    "decomposition": {
                      "base": 6.7683,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0465
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0287
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0123
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0122
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0116
                        }
                      ],
                      "others": -0.0704,
                      "total": 6.5866,
                      "log_link": false,
                      "margin_base": 6.768281,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.046471
                        },
                        {
                          "name": "rating",
                          "margin": -0.028665
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012308
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.01222
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.011633
                        }
                      ],
                      "others_margin": -0.070377
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 5,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9906, quality 0.442)",
              "stats": {
                "expected_goals": 0.0733,
                "goals": 0.0772,
                "goal_rate": 0.0772,
                "shots_on_target": 0.1966,
                "total_shots": 0.5083,
                "expected_assists": 0.0078,
                "key_pass": 0.2148,
                "rating": 6.5866,
                "minutes": 13.92,
                "total_pass": 2.2982,
                "accurate_pass": 1.8916,
                "duels_won": 0.7865,
                "total_long_balls": 0.164,
                "accurate_long_balls": 0.164,
                "total_opp_half_passes": 1.2517,
                "accurate_opp_half_passes": 0.8452,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 4.2605,
                "possession_lost": 0.937,
                "dispossessed": 0.3664,
                "duels_lost": 1.0118,
                "aerial_lost": 0.5059,
                "total_contest": 0.42,
                "won_contest": 0.42,
                "ball_recovery": 0.55,
                "challenges_lost": 0.0,
                "fouls": 0.1395,
                "fouls_drawn": 0.3664,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1395,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.227,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.1775,
                "total_progression": 1.4517,
                "progressive_carries": 0.227,
                "shots_off_target": 0.3116
              },
              "params": {
                "market_value_eur": 3400000,
                "quality_factor": 0.4424,
                "boost_factor": 0.9906,
                "reference_quality": 0.505,
                "history_matches": 5,
                "history_shrink": 0.5,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 13.9 to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.11,
                "goals": 0.1158,
                "goal_rate": 0.1158,
                "shots_on_target": 0.2949,
                "total_shots": 0.7624,
                "expected_assists": 0.0117,
                "key_pass": 0.3222,
                "rating": 6.5866,
                "minutes": 25.31,
                "total_pass": 3.4473,
                "accurate_pass": 2.8374,
                "duels_won": 1.1797,
                "total_long_balls": 0.246,
                "accurate_long_balls": 0.246,
                "total_opp_half_passes": 1.8776,
                "accurate_opp_half_passes": 1.2678,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.3908,
                "possession_lost": 1.4055,
                "dispossessed": 0.3664,
                "duels_lost": 1.5177,
                "aerial_lost": 0.5059,
                "total_contest": 0.63,
                "won_contest": 0.63,
                "ball_recovery": 0.825,
                "challenges_lost": 0.0,
                "fouls": 0.2093,
                "fouls_drawn": 0.5496,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2093,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3405,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.7662,
                "total_progression": 2.1776,
                "progressive_carries": 0.3405,
                "shots_off_target": 0.4674,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31
              },
              "params": {
                "expected_minutes": 25.31,
                "projection_minutes": 13.92,
                "minutes_scale": 1.5,
                "appearance_probability": 0.56
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.11,
                "goals": 0.1158,
                "goal_rate": 0.1158,
                "shots_on_target": 0.2949,
                "total_shots": 0.7624,
                "expected_assists": 0.0117,
                "key_pass": 0.3222,
                "rating": 6.5866,
                "minutes": 25.31,
                "total_pass": 3.4473,
                "accurate_pass": 2.8374,
                "duels_won": 1.1797,
                "total_long_balls": 0.246,
                "accurate_long_balls": 0.246,
                "total_opp_half_passes": 1.8776,
                "accurate_opp_half_passes": 1.2678,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.3908,
                "possession_lost": 1.4055,
                "dispossessed": 0.3664,
                "duels_lost": 1.5177,
                "aerial_lost": 0.5059,
                "total_contest": 0.63,
                "won_contest": 0.63,
                "ball_recovery": 0.825,
                "challenges_lost": 0.0,
                "fouls": 0.2093,
                "fouls_drawn": 0.5496,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2093,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3405,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.7662,
                "total_progression": 2.1776,
                "progressive_carries": 0.3405,
                "shots_off_target": 0.4674,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.11,
                "goal_rate": 0.1158,
                "goals": 0,
                "shots_on_target": 0.2949,
                "total_shots": 0.7624,
                "expected_assists": 0.0117,
                "key_pass": 0.3222,
                "rating": 6.5866,
                "minutes": 25.31,
                "total_pass": 3.4473,
                "accurate_pass": 2.8374,
                "duels_won": 1.1797,
                "total_long_balls": 0.246,
                "accurate_long_balls": 0.246,
                "total_opp_half_passes": 1.8776,
                "accurate_opp_half_passes": 1.2678,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.3908,
                "possession_lost": 1.4055,
                "dispossessed": 0.3664,
                "duels_lost": 1.5177,
                "aerial_lost": 0.5059,
                "total_contest": 0.63,
                "won_contest": 0.63,
                "ball_recovery": 0.825,
                "challenges_lost": 0.0,
                "fouls": 0.2093,
                "fouls_drawn": 0.5496,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2093,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3405,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.7662,
                "total_progression": 2.1776,
                "progressive_carries": 0.3405,
                "shots_off_target": 0.4674,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.31 (squad xG sum 1.1245, xG scale 1.1667, xA scale 1.1667, team xA 0.98 = 0.74 x lambda)",
              "stats": {
                "expected_goals": 0.0719,
                "goal_rate": 0.1158,
                "goals": 0,
                "shots_on_target": 0.2949,
                "total_shots": 0.7624,
                "expected_assists": 0.0076,
                "key_pass": 0.3222,
                "rating": 6.5866,
                "minutes": 25.31,
                "total_pass": 3.4473,
                "accurate_pass": 2.8374,
                "duels_won": 1.1797,
                "total_long_balls": 0.246,
                "accurate_long_balls": 0.246,
                "total_opp_half_passes": 1.8776,
                "accurate_opp_half_passes": 1.2678,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.3908,
                "possession_lost": 1.4055,
                "dispossessed": 0.3664,
                "duels_lost": 1.5177,
                "aerial_lost": 0.5059,
                "total_contest": 0.63,
                "won_contest": 0.63,
                "ball_recovery": 0.825,
                "challenges_lost": 0.0,
                "fouls": 0.2093,
                "fouls_drawn": 0.5496,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2093,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3405,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.7662,
                "total_progression": 2.1776,
                "progressive_carries": 0.3405,
                "shots_off_target": 0.4674,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0362,
                "creation_factor": 0.8104
              },
              "params": {
                "team_lambda": 1.312,
                "squad_xg_sum": 1.1245,
                "squad_xa_sum": 0.8366,
                "team_expected_assists": 0.9761,
                "team_xa_to_xg_ratio": 0.744,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1667,
                "xa_scale": 1.1667,
                "opponent_lambda": 1.46,
                "scoreline_reset": true,
                "appearance_weight": 0.56
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.11,
                  "after": 0.0719
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 69.0)",
              "stats": {
                "expected_goals": 0.0719,
                "goal_rate": 0.1158,
                "goals": 0,
                "shots_on_target": 0.2949,
                "total_shots": 0.7624,
                "expected_assists": 0.0076,
                "key_pass": 0.3222,
                "rating": 6.5866,
                "minutes": 25.31,
                "total_pass": 3.4473,
                "accurate_pass": 2.8374,
                "duels_won": 1.1797,
                "total_long_balls": 0.246,
                "accurate_long_balls": 0.246,
                "total_opp_half_passes": 1.8776,
                "accurate_opp_half_passes": 1.2678,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.3908,
                "possession_lost": 1.4055,
                "dispossessed": 0.3664,
                "duels_lost": 1.5177,
                "aerial_lost": 0.5059,
                "total_contest": 0.63,
                "won_contest": 0.63,
                "ball_recovery": 0.825,
                "challenges_lost": 0.0,
                "fouls": 0.2093,
                "fouls_drawn": 0.5496,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2093,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3405,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.7662,
                "total_progression": 2.1776,
                "progressive_carries": 0.3405,
                "shots_off_target": 0.4674,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0362,
                "creation_factor": 0.8104,
                "fifa_overall": 69.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5690,
                "fifa_rank": 6962.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0719,
                "goal_rate": 0.1158,
                "goals": 0,
                "shots_on_target": 0.2949,
                "total_shots": 0.7624,
                "expected_assists": 0.0076,
                "key_pass": 0.3222,
                "rating": 6.5866,
                "minutes": 25.31,
                "total_pass": 3.4473,
                "accurate_pass": 2.8374,
                "duels_won": 1.1797,
                "total_long_balls": 0.246,
                "accurate_long_balls": 0.246,
                "total_opp_half_passes": 1.8776,
                "accurate_opp_half_passes": 1.2678,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.3908,
                "possession_lost": 1.4055,
                "dispossessed": 0.3664,
                "duels_lost": 1.5177,
                "aerial_lost": 0.5059,
                "total_contest": 0.63,
                "won_contest": 0.63,
                "ball_recovery": 0.825,
                "challenges_lost": 0.0,
                "fouls": 0.2093,
                "fouls_drawn": 0.5496,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2093,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3405,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.7662,
                "total_progression": 2.1776,
                "progressive_carries": 0.3405,
                "shots_off_target": 0.4674,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0675,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0362,
                "creation_factor": 0.8104,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0675,
                "goal_rate": 0.1158,
                "scorer_weight": 0.0745,
                "squad_weight_total": 1.3832,
                "weight_share": 0.0539,
                "finishing_factor": 1.0362,
                "appearance_weight": 0.56,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yassir Zabiri",
                    "weight": 0.5461,
                    "already": 0,
                    "effective_weight": 0.5461,
                    "runner_up": "Andrés Martín",
                    "runner_up_effective_weight": 0.2591
                  }
                ]
              }
            },
            {
              "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.0719,
                "goal_rate": 0.1158,
                "goals": 0,
                "shots_on_target": 0.2949,
                "total_shots": 0.7624,
                "expected_assists": 0.0076,
                "key_pass": 0.3222,
                "rating": 6.5866,
                "minutes": 25.31,
                "total_pass": 3.4473,
                "accurate_pass": 2.8374,
                "duels_won": 1.1797,
                "total_long_balls": 0.246,
                "accurate_long_balls": 0.246,
                "total_opp_half_passes": 1.8776,
                "accurate_opp_half_passes": 1.2678,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.3908,
                "possession_lost": 1.4055,
                "dispossessed": 0.3664,
                "duels_lost": 1.5177,
                "aerial_lost": 0.5059,
                "total_contest": 0.63,
                "won_contest": 0.63,
                "ball_recovery": 0.825,
                "challenges_lost": 0.0,
                "fouls": 0.2093,
                "fouls_drawn": 0.5496,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.2093,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3405,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.7662,
                "total_progression": 2.1776,
                "progressive_carries": 0.3405,
                "shots_off_target": 0.4674,
                "bench_appearance_probability": 0.56,
                "bench_expected_minutes": 25.31,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.257,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0675,
                "projected_assists": 0,
                "assist_probability": 0.0075,
                "finishing_factor": 1.0362,
                "creation_factor": 0.8104,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0075,
                "assist_rate": 0.0,
                "provider_weight": 0.0062,
                "squad_weight_total": 0.9828,
                "weight_share": 0.0063,
                "creation_factor": 0.8104,
                "appearance_weight": 0.56,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Iñigo Vicente",
                    "weight": 0.3651,
                    "already": 0,
                    "effective_weight": 0.3651,
                    "runner_up": "Jorge Salinas",
                    "runner_up_effective_weight": 0.1384,
                    "blocked_own_goal": [
                      "Yassir Zabiri"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.31,
        "expected_assists": 0.98,
        "total_shots": 14,
        "shots_on_target": 3,
        "total_passes": 454,
        "interceptions": 7,
        "tackles": 16,
        "avg_rating": 6.87,
        "possession_estimated_pct": 49.4,
        "pressing_actions_per_90": 6.0
      }
    },
    "Espanyol": {
      "formation": "5-4-1",
      "players": {
        "Edu Expósito": {
          "player_id": 877262,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 175,
          "market_value": 4500000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1975,
            "assist_rate": 0.1021,
            "assists": 0,
            "expected_goals": 0.1407,
            "goal_rate": 0.1155,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.0414,
            "minutes": 82,
            "total_pass": 38,
            "accurate_pass": 32,
            "duels_won": 5,
            "total_long_balls": 4,
            "accurate_long_balls": 1,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 24,
            "accurate_opp_half_passes": 19,
            "crosses_total": 4,
            "crosses_accurate": 1,
            "touches": 55,
            "possession_lost": 12.1384,
            "dispossessed": 0.9203,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 2,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0245,
            "ball_carries": 13,
            "total_progression": 59,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9973,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.448,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Iván Martín",
            "opponent_faced": "Iván Martín",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1313,
            "projected_assists": 0,
            "assist_probability": 0.1792,
            "finishing_factor": 1.0555,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421071,
              "match_date": "2026-10-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 73,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1762,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 82,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0597,
                "expected_assists": 0.0258,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 26,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 3,
                "clearances": 2,
                "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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1449,
                "expected_assists": 0.3741,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 81,
                "accurate_pass": 72,
                "key_pass": 6,
                "tackles": 4,
                "tackles_won": 4,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3802,
                "expected_assists": 0.2161,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 30,
                "accurate_pass": 26,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 89,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0458,
                "expected_assists": 0.1488,
                "total_shots": 1,
                "total_pass": 35,
                "accurate_pass": 32,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.141,
                "expected_assists": 0.6104,
                "total_shots": 1,
                "total_pass": 49,
                "accurate_pass": 39,
                "key_pass": 6,
                "interceptions": 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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 70,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1531,
                "expected_assists": 0.036,
                "total_shots": 3,
                "shots_off_target": 3,
                "total_pass": 39,
                "accurate_pass": 32,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 88,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0563,
                "expected_assists": 0.0376,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 47,
                "accurate_pass": 40,
                "tackles": 4,
                "tackles_won": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 86,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1101,
                "expected_assists": 0.0395,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 51,
                "accurate_pass": 47,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0279,
                "expected_assists": 0.0301,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 49,
                "accurate_pass": 34,
                "key_pass": 3,
                "tackles": 3,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2628,
            "combined_rank_score": 921.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 289.0,
            "sofascore_rating": 7.0556,
            "sofascore_appearances": 36.0,
            "fifa_rank": 1553.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0414,
            "source_file": "data/player_rankings.csv",
            "player_name": "Edu Expósito",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Francisco Jose Pozzo",
                  "ranking": 2623
                },
                {
                  "player_name": "Augustine Chidi Kwem",
                  "ranking": 2624
                },
                {
                  "player_name": "Otabek Ahadov",
                  "ranking": 2625
                },
                {
                  "player_name": "Rodrigo Sandoval",
                  "ranking": 2626
                },
                {
                  "player_name": "Ruben Loftus-Cheek",
                  "ranking": 2627
                }
              ],
              "lower": [
                {
                  "player_name": "Lucas Boyé",
                  "ranking": 2629
                },
                {
                  "player_name": "Duván Zapata",
                  "ranking": 2630
                },
                {
                  "player_name": "Tosin Adarabioyo",
                  "ranking": 2631
                },
                {
                  "player_name": "Selton Sanchez",
                  "ranking": 2632
                },
                {
                  "player_name": "Jung-Min Kim",
                  "ranking": 2633
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.777,
          "history_matches": 45,
          "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": 45,
            "data_confidence": 0.777,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9985,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 241.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 3.36,
              "shots_on_target_pct": 11.1,
              "prior_reliability": 0.18
            },
            "rationale": "XGBoost regressor (M_service) evaluated 45 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.18, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.4151,
                "expected_assists": 0.1502,
                "assists": 0.1034,
                "assist_rate": 0.1034,
                "expected_goals": 0.1073,
                "goals": 0.1173,
                "goal_rate": 0.1173,
                "shots_on_target": 0.4227,
                "total_shots": 1.2756,
                "rating": 7.0414,
                "minutes": 81.65,
                "total_pass": 38.2476,
                "accurate_pass": 32.0216,
                "duels_won": 4.6586,
                "total_long_balls": 3.5078,
                "accurate_long_balls": 1.3248,
                "total_own_half_passes": 14.116,
                "accurate_own_half_passes": 12.9777,
                "total_opp_half_passes": 24.1316,
                "accurate_opp_half_passes": 19.0439,
                "crosses_total": 3.6258,
                "crosses_accurate": 0.913,
                "touches": 55.0617,
                "possession_lost": 12.1566,
                "dispossessed": 0.9217,
                "duels_lost": 4.4852,
                "aerial_won": 0.9064,
                "aerial_lost": 1.487,
                "interceptions": 0.5314,
                "tackles_won": 1.3718,
                "tackles": 2.0298,
                "clearances": 1.5535,
                "total_contest": 1.7071,
                "won_contest": 1.1748,
                "challenges_lost": 0.6469,
                "fouls": 0.9341,
                "fouls_drawn": 0.5607,
                "blocks": 0.2166,
                "big_chances_created": 0.3206,
                "big_chances_missed": 0.0089,
                "xgot": 0.0187,
                "ball_carries": 12.772,
                "total_progression": 58.7971,
                "progressive_carries": 1.4328,
                "shots_off_target": 0.8529
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-24T10:06:41.574598+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 903,
                    "rows": 24475
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1084,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "creative_index": 0.9636,
                  "totalShots": 1.5268,
                  "expectedGoals": 0.1025,
                  "expectedAssists": 0.1726,
                  "onTargetScoringAttempt": 0.1419
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.4151004552841187,
                    "model_output": 1.4151,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1647
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1377
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0663
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0524
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0316
                      }
                    ],
                    "decomposition": {
                      "base": 0.8945,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1758
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1329
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1241
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0763
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0701
                        }
                      ],
                      "others": -0.0586,
                      "total": 1.4151,
                      "log_link": true,
                      "margin_base": -0.111507,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.179449
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.117036
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.098127
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.055875
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.048718
                        }
                      ],
                      "others_margin": -0.040498
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.1502290517091751,
                    "model_output": 0.1502,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1545
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1048
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1021
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0472
                      }
                    ],
                    "decomposition": {
                      "base": 0.0859,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0142
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.013
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0132
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0109
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0086
                        }
                      ],
                      "others": 0.0044,
                      "total": 0.1502,
                      "log_link": true,
                      "margin_base": -2.454719,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.152882
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.122549
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.110269
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.082917
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.060699
                        }
                      ],
                      "others_margin": 0.029809
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.10341115295886993,
                    "model_output": 0.1034,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0619
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0395
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0343
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 0.0874,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0097
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0099
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0088
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0089
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0059
                        }
                      ],
                      "others": -0.0272,
                      "total": 0.1034,
                      "log_link": true,
                      "margin_base": -2.437263,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.105568
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.097474
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.079092
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.074045
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.046367
                        }
                      ],
                      "others_margin": -0.234326
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10728640854358673,
                    "model_output": 0.1073,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.134
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.074
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0705
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.039
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0273
                      }
                    ],
                    "decomposition": {
                      "base": 0.094,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0161
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0125
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0113
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0101
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0063
                        }
                      ],
                      "others": -0.0102,
                      "total": 0.1073,
                      "log_link": true,
                      "margin_base": -2.364919,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.158524
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.107856
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.088156
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.07804
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.052508
                        }
                      ],
                      "others_margin": -0.091323
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1173381432890892,
                    "model_output": 0.1173,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0974
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0527
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0513
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0365
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0993,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.021
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0144
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0076
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0067
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0054
                        }
                      ],
                      "others": 0.0051,
                      "total": 0.1173,
                      "log_link": true,
                      "margin_base": -2.309444,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.191533
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.127614
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.069741
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.060859
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.049637
                        }
                      ],
                      "others_margin": 0.044311
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.42269477248191833,
                    "model_output": 0.4227,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1106
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0885
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0762
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0292
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.326,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0719
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0502
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.029
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0272
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0176
                        }
                      ],
                      "others": -0.0412,
                      "total": 0.4227,
                      "log_link": true,
                      "margin_base": -1.120773,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.199289
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.118902
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.066957
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.062791
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.038688
                        }
                      ],
                      "others_margin": -0.093046
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.275644302368164,
                    "model_output": 1.2756,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1261
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1167
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0633
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0419
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.9969,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3295
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1267
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0389
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0383
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0325
                        }
                      ],
                      "others": -0.0678,
                      "total": 1.2756,
                      "log_link": false,
                      "margin_base": 0.996896,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.329529
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.126713
                        },
                        {
                          "name": "goals",
                          "margin": -0.038929
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.038322
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.032498
                        }
                      ],
                      "others_margin": -0.067744
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.0413899421691895,
                    "model_output": 7.0414,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0947
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0836
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0491
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0438
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.036
                      }
                    ],
                    "decomposition": {
                      "base": 6.8561,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.081
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0708
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0266
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0236
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0134
                        }
                      ],
                      "others": 0.0171,
                      "total": 7.0414,
                      "log_link": false,
                      "margin_base": 6.856052,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.081045
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.070756
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.026599
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.023642
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.013354
                        }
                      ],
                      "others_margin": 0.017225
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 45,
                  "role_matches": 40,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9985, quality 0.456)",
              "stats": {
                "key_pass": 1.413,
                "expected_assists": 0.15,
                "assists": 0.1033,
                "assist_rate": 0.1033,
                "expected_goals": 0.1071,
                "goals": 0.1172,
                "goal_rate": 0.1172,
                "shots_on_target": 0.4221,
                "total_shots": 1.2737,
                "rating": 7.0414,
                "minutes": 81.65,
                "total_pass": 38.1902,
                "accurate_pass": 31.9736,
                "duels_won": 4.6516,
                "total_long_balls": 3.5025,
                "accurate_long_balls": 1.3228,
                "total_own_half_passes": 14.0948,
                "accurate_own_half_passes": 12.9582,
                "total_opp_half_passes": 24.0954,
                "accurate_opp_half_passes": 19.0153,
                "crosses_total": 3.6204,
                "crosses_accurate": 0.9116,
                "touches": 54.9791,
                "possession_lost": 12.1384,
                "dispossessed": 0.9203,
                "duels_lost": 4.4785,
                "aerial_won": 0.905,
                "aerial_lost": 1.4848,
                "interceptions": 0.5306,
                "tackles_won": 1.3697,
                "tackles": 2.0268,
                "clearances": 1.5512,
                "total_contest": 1.7045,
                "won_contest": 1.173,
                "challenges_lost": 0.6459,
                "fouls": 0.9327,
                "fouls_drawn": 0.5599,
                "blocks": 0.2163,
                "big_chances_created": 0.3201,
                "big_chances_missed": 0.0089,
                "xgot": 0.0187,
                "ball_carries": 12.7528,
                "total_progression": 58.7089,
                "progressive_carries": 1.4307,
                "shots_off_target": 0.8516
              },
              "params": {
                "market_value_eur": 4500000,
                "quality_factor": 0.456,
                "boost_factor": 0.9985,
                "reference_quality": 0.505,
                "history_matches": 45,
                "history_shrink": 0.1,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0117)",
              "stats": {
                "key_pass": 1.413,
                "expected_assists": 0.15,
                "assists": 0.1021,
                "assist_rate": 0.1021,
                "expected_goals": 0.1071,
                "goals": 0.1158,
                "goal_rate": 0.1158,
                "shots_on_target": 0.4211,
                "total_shots": 1.2945,
                "rating": 7.0414,
                "minutes": 81.65,
                "total_pass": 38.1902,
                "accurate_pass": 31.9736,
                "duels_won": 4.6516,
                "total_long_balls": 3.5025,
                "accurate_long_balls": 1.3228,
                "total_own_half_passes": 14.0948,
                "accurate_own_half_passes": 12.9582,
                "total_opp_half_passes": 24.0954,
                "accurate_opp_half_passes": 19.0153,
                "crosses_total": 3.5898,
                "crosses_accurate": 0.9116,
                "touches": 54.9791,
                "possession_lost": 12.1384,
                "dispossessed": 0.9203,
                "duels_lost": 4.4785,
                "aerial_won": 0.905,
                "aerial_lost": 1.4848,
                "interceptions": 0.5283,
                "tackles_won": 1.3694,
                "tackles": 2.0268,
                "clearances": 1.5512,
                "total_contest": 1.7045,
                "won_contest": 1.173,
                "challenges_lost": 0.6459,
                "fouls": 0.9297,
                "fouls_drawn": 0.5612,
                "blocks": 0.2163,
                "big_chances_created": 0.3201,
                "big_chances_missed": 0.0089,
                "xgot": 0.0187,
                "ball_carries": 12.7528,
                "total_progression": 58.7089,
                "progressive_carries": 1.4307,
                "shots_off_target": 0.8516
              },
              "params": {
                "blend_weight": 0.0117,
                "history_matches": 45,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9072,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 3.6204,
                  "after": 3.5898
                },
                {
                  "stat": "totalShots",
                  "before": 1.2737,
                  "after": 1.2945
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.413,
                "expected_assists": 0.15,
                "assists": 0.1021,
                "assist_rate": 0.1021,
                "expected_goals": 0.1071,
                "goals": 0.1158,
                "goal_rate": 0.1158,
                "shots_on_target": 0.4211,
                "total_shots": 1.2945,
                "rating": 7.0414,
                "minutes": 81.65,
                "total_pass": 38.1902,
                "accurate_pass": 31.9736,
                "duels_won": 4.6516,
                "total_long_balls": 3.5025,
                "accurate_long_balls": 1.3228,
                "total_own_half_passes": 14.0948,
                "accurate_own_half_passes": 12.9582,
                "total_opp_half_passes": 24.0954,
                "accurate_opp_half_passes": 19.0153,
                "crosses_total": 3.5898,
                "crosses_accurate": 0.9116,
                "touches": 54.9791,
                "possession_lost": 12.1384,
                "dispossessed": 0.9203,
                "duels_lost": 4.4785,
                "aerial_won": 0.905,
                "aerial_lost": 1.4848,
                "interceptions": 0.5283,
                "tackles_won": 1.3694,
                "tackles": 2.0268,
                "clearances": 1.5512,
                "total_contest": 1.7045,
                "won_contest": 1.173,
                "challenges_lost": 0.6459,
                "fouls": 0.9297,
                "fouls_drawn": 0.5612,
                "blocks": 0.2163,
                "big_chances_created": 0.3201,
                "big_chances_missed": 0.0089,
                "xgot": 0.0187,
                "ball_carries": 12.7528,
                "total_progression": 58.7089,
                "progressive_carries": 1.4307,
                "shots_off_target": 0.8516
              },
              "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.413,
                "expected_assists": 0.15,
                "assists": 0.1021,
                "assist_rate": 0.1021,
                "expected_goals": 0.1068,
                "goals": 0.1155,
                "goal_rate": 0.1155,
                "shots_on_target": 0.42,
                "total_shots": 1.291,
                "rating": 7.0414,
                "minutes": 81.65,
                "total_pass": 38.1902,
                "accurate_pass": 31.9736,
                "duels_won": 4.6516,
                "total_long_balls": 3.5025,
                "accurate_long_balls": 1.3228,
                "total_own_half_passes": 14.0948,
                "accurate_own_half_passes": 12.9582,
                "total_opp_half_passes": 24.0954,
                "accurate_opp_half_passes": 19.0153,
                "crosses_total": 3.5898,
                "crosses_accurate": 0.9116,
                "touches": 54.9791,
                "possession_lost": 12.1384,
                "dispossessed": 0.9203,
                "duels_lost": 4.4785,
                "aerial_won": 0.9,
                "aerial_lost": 1.4848,
                "interceptions": 0.5283,
                "tackles_won": 1.3694,
                "tackles": 2.0268,
                "clearances": 1.5512,
                "total_contest": 1.7045,
                "won_contest": 1.173,
                "challenges_lost": 0.6459,
                "fouls": 0.9297,
                "fouls_drawn": 0.5612,
                "blocks": 0.2163,
                "big_chances_created": 0.3201,
                "big_chances_missed": 0.0089,
                "xgot": 0.0186,
                "ball_carries": 12.7528,
                "total_progression": 58.7089,
                "progressive_carries": 1.4307,
                "shots_off_target": 0.8493,
                "duel_xg_multiplier": 0.9973,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.448,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iván Martín",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.448,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9973,
                  "skill_edge": 0.0101,
                  "height_edge": -0.012,
                  "attacker_skill": 0.4622,
                  "defender_skill": 0.4396,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Iván Martín",
                      "market_value": 2700000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4396
                    }
                  ],
                  "xg_override": 0.1068
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.905,
                  "after": 0.9
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.413,
                "expected_assists": 0.15,
                "assist_rate": 0.1021,
                "assists": 0,
                "expected_goals": 0.1068,
                "goal_rate": 0.1155,
                "goals": 0,
                "shots_on_target": 0.42,
                "total_shots": 1.291,
                "rating": 7.0414,
                "minutes": 81.65,
                "total_pass": 38.1902,
                "accurate_pass": 31.9736,
                "duels_won": 4.6516,
                "total_long_balls": 3.5025,
                "accurate_long_balls": 1.3228,
                "total_own_half_passes": 14.0948,
                "accurate_own_half_passes": 12.9582,
                "total_opp_half_passes": 24.0954,
                "accurate_opp_half_passes": 19.0153,
                "crosses_total": 3.5898,
                "crosses_accurate": 0.9116,
                "touches": 54.9791,
                "possession_lost": 12.1384,
                "dispossessed": 0.9203,
                "duels_lost": 4.4785,
                "aerial_won": 0.9,
                "aerial_lost": 1.4848,
                "interceptions": 0.5283,
                "tackles_won": 1.3694,
                "tackles": 2.0268,
                "clearances": 1.5512,
                "total_contest": 1.7045,
                "won_contest": 1.173,
                "challenges_lost": 0.6459,
                "fouls": 0.9297,
                "fouls_drawn": 0.5612,
                "blocks": 0.2163,
                "big_chances_created": 0.3201,
                "big_chances_missed": 0.0089,
                "xgot": 0.0186,
                "ball_carries": 12.7528,
                "total_progression": 58.7089,
                "progressive_carries": 1.4307,
                "shots_off_target": 0.8493,
                "duel_xg_multiplier": 0.9973,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.448,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.46 (squad xG sum 1.1085, xG scale 1.3171, xA scale 1.3171, team xA 0.96 = 0.66 x lambda)",
              "stats": {
                "key_pass": 1.413,
                "expected_assists": 0.1975,
                "assist_rate": 0.1021,
                "assists": 0,
                "expected_goals": 0.1407,
                "goal_rate": 0.1155,
                "goals": 0,
                "shots_on_target": 0.42,
                "total_shots": 1.291,
                "rating": 7.0414,
                "minutes": 81.65,
                "total_pass": 38.1902,
                "accurate_pass": 31.9736,
                "duels_won": 4.6516,
                "total_long_balls": 3.5025,
                "accurate_long_balls": 1.3228,
                "total_own_half_passes": 14.0948,
                "accurate_own_half_passes": 12.9582,
                "total_opp_half_passes": 24.0954,
                "accurate_opp_half_passes": 19.0153,
                "crosses_total": 3.5898,
                "crosses_accurate": 0.9116,
                "touches": 54.9791,
                "possession_lost": 12.1384,
                "dispossessed": 0.9203,
                "duels_lost": 4.4785,
                "aerial_won": 0.9,
                "aerial_lost": 1.4848,
                "interceptions": 0.5283,
                "tackles_won": 1.3694,
                "tackles": 2.0268,
                "clearances": 1.5512,
                "total_contest": 1.7045,
                "won_contest": 1.173,
                "challenges_lost": 0.6459,
                "fouls": 0.9297,
                "fouls_drawn": 0.5612,
                "blocks": 0.2163,
                "big_chances_created": 0.3201,
                "big_chances_missed": 0.0089,
                "xgot": 0.0245,
                "ball_carries": 12.7528,
                "total_progression": 58.7089,
                "progressive_carries": 1.4307,
                "shots_off_target": 0.8493,
                "duel_xg_multiplier": 0.9973,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.448,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0555,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.46,
                "squad_xg_sum": 1.1085,
                "squad_xa_sum": 0.7277,
                "team_expected_assists": 0.9585,
                "team_xa_to_xg_ratio": 0.6565,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3171,
                "xa_scale": 1.3171,
                "opponent_lambda": 1.312,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1068,
                  "after": 0.1407
                },
                {
                  "stat": "expected_assists",
                  "before": 0.15,
                  "after": 0.1975
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 1 by projected rating, fifa_overall 77.0)",
              "stats": {
                "key_pass": 1.413,
                "expected_assists": 0.1975,
                "assist_rate": 0.1021,
                "assists": 0,
                "expected_goals": 0.1407,
                "goal_rate": 0.1155,
                "goals": 0,
                "shots_on_target": 0.42,
                "total_shots": 1.291,
                "rating": 7.0414,
                "minutes": 81.65,
                "total_pass": 38.1902,
                "accurate_pass": 31.9736,
                "duels_won": 4.6516,
                "total_long_balls": 3.5025,
                "accurate_long_balls": 1.3228,
                "total_own_half_passes": 14.0948,
                "accurate_own_half_passes": 12.9582,
                "total_opp_half_passes": 24.0954,
                "accurate_opp_half_passes": 19.0153,
                "crosses_total": 3.5898,
                "crosses_accurate": 0.9116,
                "touches": 54.9791,
                "possession_lost": 12.1384,
                "dispossessed": 0.9203,
                "duels_lost": 4.4785,
                "aerial_won": 0.9,
                "aerial_lost": 1.4848,
                "interceptions": 0.5283,
                "tackles_won": 1.3694,
                "tackles": 2.0268,
                "clearances": 1.5512,
                "total_contest": 1.7045,
                "won_contest": 1.173,
                "challenges_lost": 0.6459,
                "fouls": 0.9297,
                "fouls_drawn": 0.5612,
                "blocks": 0.2163,
                "big_chances_created": 0.3201,
                "big_chances_missed": 0.0089,
                "xgot": 0.0245,
                "ball_carries": 12.7528,
                "total_progression": 58.7089,
                "progressive_carries": 1.4307,
                "shots_off_target": 0.8493,
                "duel_xg_multiplier": 0.9973,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.448,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0555,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2628,
                "fifa_rank": 1553.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.413,
                "expected_assists": 0.1975,
                "assist_rate": 0.1021,
                "assists": 0,
                "expected_goals": 0.1407,
                "goal_rate": 0.1155,
                "goals": 0,
                "shots_on_target": 0.42,
                "total_shots": 1.291,
                "rating": 7.0414,
                "minutes": 81.65,
                "total_pass": 38.1902,
                "accurate_pass": 31.9736,
                "duels_won": 4.6516,
                "total_long_balls": 3.5025,
                "accurate_long_balls": 1.3228,
                "total_own_half_passes": 14.0948,
                "accurate_own_half_passes": 12.9582,
                "total_opp_half_passes": 24.0954,
                "accurate_opp_half_passes": 19.0153,
                "crosses_total": 3.5898,
                "crosses_accurate": 0.9116,
                "touches": 54.9791,
                "possession_lost": 12.1384,
                "dispossessed": 0.9203,
                "duels_lost": 4.4785,
                "aerial_won": 0.9,
                "aerial_lost": 1.4848,
                "interceptions": 0.5283,
                "tackles_won": 1.3694,
                "tackles": 2.0268,
                "clearances": 1.5512,
                "total_contest": 1.7045,
                "won_contest": 1.173,
                "challenges_lost": 0.6459,
                "fouls": 0.9297,
                "fouls_drawn": 0.5612,
                "blocks": 0.2163,
                "big_chances_created": 0.3201,
                "big_chances_missed": 0.0089,
                "xgot": 0.0245,
                "ball_carries": 12.7528,
                "total_progression": 58.7089,
                "progressive_carries": 1.4307,
                "shots_off_target": 0.8493,
                "duel_xg_multiplier": 0.9973,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.448,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1313,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0555,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1313,
                "goal_rate": 0.1155,
                "scorer_weight": 0.1485,
                "squad_weight_total": 1.4744,
                "weight_share": 0.1007,
                "finishing_factor": 1.0555,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.6148,
                    "already": 0,
                    "effective_weight": 0.6148,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.1869
                  }
                ]
              }
            },
            {
              "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.413,
                "expected_assists": 0.1975,
                "assist_rate": 0.1021,
                "assists": 0,
                "expected_goals": 0.1407,
                "goal_rate": 0.1155,
                "goals": 0,
                "shots_on_target": 0.42,
                "total_shots": 1.291,
                "rating": 7.0414,
                "minutes": 81.65,
                "total_pass": 38.1902,
                "accurate_pass": 31.9736,
                "duels_won": 4.6516,
                "total_long_balls": 3.5025,
                "accurate_long_balls": 1.3228,
                "total_own_half_passes": 14.0948,
                "accurate_own_half_passes": 12.9582,
                "total_opp_half_passes": 24.0954,
                "accurate_opp_half_passes": 19.0153,
                "crosses_total": 3.5898,
                "crosses_accurate": 0.9116,
                "touches": 54.9791,
                "possession_lost": 12.1384,
                "dispossessed": 0.9203,
                "duels_lost": 4.4785,
                "aerial_won": 0.9,
                "aerial_lost": 1.4848,
                "interceptions": 0.5283,
                "tackles_won": 1.3694,
                "tackles": 2.0268,
                "clearances": 1.5512,
                "total_contest": 1.7045,
                "won_contest": 1.173,
                "challenges_lost": 0.6459,
                "fouls": 0.9297,
                "fouls_drawn": 0.5612,
                "blocks": 0.2163,
                "big_chances_created": 0.3201,
                "big_chances_missed": 0.0089,
                "xgot": 0.0245,
                "ball_carries": 12.7528,
                "total_progression": 58.7089,
                "progressive_carries": 1.4307,
                "shots_off_target": 0.8493,
                "duel_xg_multiplier": 0.9973,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.448,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1313,
                "projected_assists": 0,
                "assist_probability": 0.1792,
                "finishing_factor": 1.0555,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1792,
                "assist_rate": 0.1021,
                "provider_weight": 0.158,
                "squad_weight_total": 0.8905,
                "weight_share": 0.1774,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.2107,
                    "already": 0,
                    "effective_weight": 0.2107,
                    "runner_up": "Edu Expósito",
                    "runner_up_effective_weight": 0.158,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Javier Hernández": {
          "player_id": 1514913,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 28,
          "height": 175,
          "market_value": 6400000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1686,
            "assist_rate": 0.2554,
            "assists": 1,
            "expected_goals": 0.1995,
            "goal_rate": 0.1388,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 6.7706,
            "minutes": 77,
            "total_pass": 19,
            "accurate_pass": 15,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 10,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 37,
            "possession_lost": 13.4788,
            "dispossessed": 2.8081,
            "duels_lost": 8,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 2,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1339,
            "ball_carries": 13,
            "total_progression": 85,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9687,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.2,
            "crosses_attempted": 2.1,
            "duel_win_rate": 0.439,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Mid vs Right Back — Wide Channel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pablo Ramón",
            "opponent_faced": "Pablo Ramón",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1809,
            "projected_assists": 1,
            "assist_probability": 0.1552,
            "finishing_factor": 0.937,
            "creation_factor": 1.25,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "match_id": 16421071,
              "match_date": "2026-10-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 73,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0356,
                "expected_assists": 0.0037,
                "total_shots": 1,
                "total_pass": 12,
                "accurate_pass": 9,
                "interceptions": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 57,
                "rating": 6.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1112,
                "expected_assists": 0.0252,
                "total_shots": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1111,
                "expected_assists": 0.0952,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 27,
                "key_pass": 2,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 74,
                "rating": 6.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.3039,
                "expected_assists": 0.1902,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 11,
                "key_pass": 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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 80,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0157,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 17,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 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": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0603,
                "expected_assists": 0.0188,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 21,
                "accurate_pass": 18,
                "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 70,
                "rating": 6.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0962,
                "expected_assists": 0.08,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 8,
                "key_pass": 2,
                "tackles": 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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 75,
                "rating": 6.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.2864,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 15,
                "key_pass": 2,
                "tackles": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 82,
                "rating": 7.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1872,
                "expected_assists": 0.3474,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 26,
                "accurate_pass": 19,
                "key_pass": 3,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 198,
            "combined_rank_score": 125.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 93.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7706,
            "source_file": "data/player_rankings.csv",
            "player_name": "Javier Hernández",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Yarden Shua",
                  "ranking": 193
                },
                {
                  "player_name": "Antonio Sivera",
                  "ranking": 194
                },
                {
                  "player_name": "Igor Lichnovsky",
                  "ranking": 195
                },
                {
                  "player_name": "Luis Rojas",
                  "ranking": 196
                },
                {
                  "player_name": "Armandas Kučys",
                  "ranking": 197
                }
              ],
              "lower": [
                {
                  "player_name": "Daler Tukhsanov",
                  "ranking": 199
                },
                {
                  "player_name": "Azamat Soyibov",
                  "ranking": 200
                },
                {
                  "player_name": "Kervin Andrade",
                  "ranking": 201
                },
                {
                  "player_name": "Guillermo Maripán",
                  "ranking": 202
                },
                {
                  "player_name": "Emil Tîmbur",
                  "ranking": 203
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.775,
          "history_matches": 9,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 9,
            "data_confidence": 0.775,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9972,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 224.0,
              "goals_per90": 0.0,
              "assists_per90": 1.2,
              "shots_per90": 1.21,
              "shots_on_target_pct": 33.3,
              "prior_reliability": 0.1667
            },
            "rationale": "XGBoost regressor (M_service) evaluated 9 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.17, gls/90: 0.0, ast/90: 1.2)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.2896,
                "expected_assists": 0.1284,
                "assists": 0.2249,
                "assist_rate": 0.2249,
                "expected_goals": 0.1568,
                "goals": 0.1495,
                "goal_rate": 0.1495,
                "shots_on_target": 0.5708,
                "total_shots": 1.6995,
                "rating": 6.7706,
                "minutes": 77.35,
                "total_pass": 18.9599,
                "accurate_pass": 15.3686,
                "duels_won": 3.2919,
                "total_long_balls": 1.076,
                "accurate_long_balls": 0.4352,
                "total_own_half_passes": 6.1326,
                "accurate_own_half_passes": 5.4418,
                "total_opp_half_passes": 12.8273,
                "accurate_opp_half_passes": 9.9268,
                "crosses_total": 2.0195,
                "crosses_accurate": 0.243,
                "touches": 36.8103,
                "possession_lost": 13.5166,
                "dispossessed": 2.816,
                "duels_lost": 7.6766,
                "aerial_won": 0.1659,
                "aerial_lost": 0.4254,
                "interceptions": 0.4923,
                "tackles_won": 0.4761,
                "tackles": 0.7674,
                "clearances": 0.0532,
                "total_contest": 2.4137,
                "won_contest": 1.0645,
                "challenges_lost": 1.5622,
                "fouls": 1.7274,
                "fouls_drawn": 1.294,
                "blocks": 0.0,
                "big_chances_created": 0.4503,
                "big_chances_missed": 0.0,
                "xgot": 0.1053,
                "ball_carries": 13.026,
                "total_progression": 85.1633,
                "progressive_carries": 2.2533,
                "shots_off_target": 1.1287
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-24T10:06:41.574598+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 903,
                    "rows": 24475
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.1952,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.1659,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.141,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.1199,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.1019,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0866,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0736,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0626,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0532,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 1.0,
                  "creative_index": 0.6622,
                  "totalShots": 1.4972,
                  "expectedGoals": 0.0998,
                  "expectedAssists": 0.0867,
                  "onTargetScoringAttempt": 0.4007
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.2895551919937134,
                    "model_output": 1.2896,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1647
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1377
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0663
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0524
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0316
                      }
                    ],
                    "decomposition": {
                      "base": 0.8945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1141
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.1157
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0589
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0456
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0423
                        }
                      ],
                      "others": 0.2275,
                      "total": 1.2896,
                      "log_link": true,
                      "margin_base": -0.111507,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.120022
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.108584
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.0538
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.04373
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.040606
                        }
                      ],
                      "others_margin": 0.194123
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.1283561736345291,
                    "model_output": 0.1284,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1545
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1048
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1021
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0472
                      }
                    ],
                    "decomposition": {
                      "base": 0.0859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0104
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0074
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0057
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0056
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0055
                        }
                      ],
                      "others": 0.0191,
                      "total": 0.1284,
                      "log_link": true,
                      "margin_base": -2.454719,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.113838
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.074486
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.05395
                        },
                        {
                          "name": "rating",
                          "margin": -0.052651
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.051429
                        }
                      ],
                      "others_margin": 0.16072
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.2248673290014267,
                    "model_output": 0.2249,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0619
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0395
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0343
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 0.0874,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.0119
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0127
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0137
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0111
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0116
                        }
                      ],
                      "others": 0.0765,
                      "total": 0.2249,
                      "log_link": true,
                      "margin_base": -2.437263,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.128079
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.120003
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.11564
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.084522
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.081498
                        }
                      ],
                      "others_margin": 0.415278
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.15681543946266174,
                    "model_output": 0.1568,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.134
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.074
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0705
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.039
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0273
                      }
                    ],
                    "decomposition": {
                      "base": 0.094,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0144
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0134
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0123
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0083
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0048
                        }
                      ],
                      "others": 0.0096,
                      "total": 0.1568,
                      "log_link": true,
                      "margin_base": -2.364919,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.14304
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.11631
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.096297
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.059737
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.032875
                        }
                      ],
                      "others_margin": 0.063974
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.14954610168933868,
                    "model_output": 0.1495,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0974
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0527
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0513
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0365
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0993,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0219
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0138
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0079
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0077
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0069
                        }
                      ],
                      "others": 0.0074,
                      "total": 0.1495,
                      "log_link": true,
                      "margin_base": -2.309444,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.199553
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.108141
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.056672
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.055595
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.049724
                        }
                      ],
                      "others_margin": 0.050799
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5707751512527466,
                    "model_output": 0.5708,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1106
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0885
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0762
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0292
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.326,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0653
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0573
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0304
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0198
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0136
                        }
                      ],
                      "others": 0.0584,
                      "total": 0.5708,
                      "log_link": true,
                      "margin_base": -1.120773,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.182595
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.136629
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.065495
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.040563
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.026884
                        }
                      ],
                      "others_margin": 0.107847
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.699508547782898,
                    "model_output": 1.6995,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1261
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1167
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0633
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0419
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.9969,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3119
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1629
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0514
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0503
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0461
                        }
                      ],
                      "others": 0.2728,
                      "total": 1.6995,
                      "log_link": false,
                      "margin_base": 0.996896,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.311949
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.162856
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.05137
                        },
                        {
                          "name": "goals",
                          "margin": -0.050308
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.046135
                        }
                      ],
                      "others_margin": 0.27288
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.770615100860596,
                    "model_output": 6.7706,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0947
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0836
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0491
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0438
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.036
                      }
                    ],
                    "decomposition": {
                      "base": 6.8561,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0403
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0253
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.022
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0184
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0135
                        }
                      ],
                      "others": -0.01,
                      "total": 6.7706,
                      "log_link": false,
                      "margin_base": 6.856052,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.040307
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.02532
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.022021
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.018419
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.01351
                        }
                      ],
                      "others_margin": -0.009905
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 9,
                  "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.9972, quality 0.479)",
              "stats": {
                "key_pass": 1.2859,
                "expected_assists": 0.128,
                "assists": 0.2242,
                "assist_rate": 0.2242,
                "expected_goals": 0.1564,
                "goals": 0.1491,
                "goal_rate": 0.1491,
                "shots_on_target": 0.5692,
                "total_shots": 1.6947,
                "rating": 6.7706,
                "minutes": 77.35,
                "total_pass": 18.9068,
                "accurate_pass": 15.3256,
                "duels_won": 3.2827,
                "total_long_balls": 1.073,
                "accurate_long_balls": 0.434,
                "total_own_half_passes": 6.1154,
                "accurate_own_half_passes": 5.4266,
                "total_opp_half_passes": 12.7914,
                "accurate_opp_half_passes": 9.899,
                "crosses_total": 2.0138,
                "crosses_accurate": 0.2423,
                "touches": 36.7072,
                "possession_lost": 13.4788,
                "dispossessed": 2.8081,
                "duels_lost": 7.6551,
                "aerial_won": 0.1654,
                "aerial_lost": 0.4242,
                "interceptions": 0.4909,
                "tackles_won": 0.4748,
                "tackles": 0.7653,
                "clearances": 0.0531,
                "total_contest": 2.4069,
                "won_contest": 1.0615,
                "challenges_lost": 1.5578,
                "fouls": 1.7226,
                "fouls_drawn": 1.2904,
                "blocks": 0.0,
                "big_chances_created": 0.449,
                "big_chances_missed": 0.0,
                "xgot": 0.105,
                "ball_carries": 12.9895,
                "total_progression": 84.9248,
                "progressive_carries": 2.247,
                "shots_off_target": 1.1255
              },
              "params": {
                "market_value_eur": 6400000,
                "quality_factor": 0.4793,
                "boost_factor": 0.9972,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0387)",
              "stats": {
                "key_pass": 1.2859,
                "expected_assists": 0.128,
                "assists": 0.2554,
                "assist_rate": 0.2554,
                "expected_goals": 0.1564,
                "goals": 0.1433,
                "goal_rate": 0.1433,
                "shots_on_target": 0.5605,
                "total_shots": 1.6694,
                "rating": 6.7706,
                "minutes": 77.35,
                "total_pass": 18.9068,
                "accurate_pass": 15.3256,
                "duels_won": 3.2827,
                "total_long_balls": 1.073,
                "accurate_long_balls": 0.434,
                "total_own_half_passes": 6.1154,
                "accurate_own_half_passes": 5.4266,
                "total_opp_half_passes": 12.7914,
                "accurate_opp_half_passes": 9.899,
                "crosses_total": 1.9492,
                "crosses_accurate": 0.2423,
                "touches": 36.7072,
                "possession_lost": 13.4788,
                "dispossessed": 2.8081,
                "duels_lost": 7.6551,
                "aerial_won": 0.1654,
                "aerial_lost": 0.4242,
                "interceptions": 0.4719,
                "tackles_won": 0.483,
                "tackles": 0.7653,
                "clearances": 0.0531,
                "total_contest": 2.4069,
                "won_contest": 1.0615,
                "challenges_lost": 1.5578,
                "fouls": 1.7624,
                "fouls_drawn": 1.3336,
                "blocks": 0.0,
                "big_chances_created": 0.449,
                "big_chances_missed": 0.0,
                "xgot": 0.105,
                "ball_carries": 12.9895,
                "total_progression": 84.9248,
                "progressive_carries": 2.247,
                "shots_off_target": 1.1255
              },
              "params": {
                "blend_weight": 0.0387,
                "history_matches": 9,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8594,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.0138,
                  "after": 1.9492
                },
                {
                  "stat": "wasFouled",
                  "before": 1.2904,
                  "after": 1.3336
                },
                {
                  "stat": "fouls",
                  "before": 1.7226,
                  "after": 1.7624
                },
                {
                  "stat": "goalAssist",
                  "before": 0.2242,
                  "after": 0.2554
                },
                {
                  "stat": "totalShots",
                  "before": 1.6947,
                  "after": 1.6694
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.4909,
                  "after": 0.4719
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5692,
                  "after": 0.5605
                },
                {
                  "stat": "wonTackle",
                  "before": 0.4748,
                  "after": 0.483
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.2859,
                "expected_assists": 0.128,
                "assists": 0.2554,
                "assist_rate": 0.2554,
                "expected_goals": 0.1564,
                "goals": 0.1433,
                "goal_rate": 0.1433,
                "shots_on_target": 0.5605,
                "total_shots": 1.686,
                "rating": 6.7706,
                "minutes": 77.35,
                "total_pass": 18.9068,
                "accurate_pass": 15.3256,
                "duels_won": 3.2827,
                "total_long_balls": 1.073,
                "accurate_long_balls": 0.434,
                "total_own_half_passes": 6.1154,
                "accurate_own_half_passes": 5.4266,
                "total_opp_half_passes": 12.7914,
                "accurate_opp_half_passes": 9.899,
                "crosses_total": 1.9492,
                "crosses_accurate": 0.2423,
                "touches": 36.7072,
                "possession_lost": 13.4788,
                "dispossessed": 2.8081,
                "duels_lost": 7.6551,
                "aerial_won": 0.1654,
                "aerial_lost": 0.4242,
                "interceptions": 0.4719,
                "tackles_won": 0.483,
                "tackles": 0.7653,
                "clearances": 0.0531,
                "total_contest": 2.4069,
                "won_contest": 1.0615,
                "challenges_lost": 1.5578,
                "fouls": 1.7624,
                "fouls_drawn": 1.3336,
                "blocks": 0.0,
                "big_chances_created": 0.449,
                "big_chances_missed": 0.0,
                "xgot": 0.105,
                "ball_carries": 12.9895,
                "total_progression": 84.9248,
                "progressive_carries": 2.247,
                "shots_off_target": 1.1255
              },
              "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.2859,
                "expected_assists": 0.128,
                "assists": 0.2554,
                "assist_rate": 0.2554,
                "expected_goals": 0.1515,
                "goals": 0.1388,
                "goal_rate": 0.1388,
                "shots_on_target": 0.543,
                "total_shots": 1.6333,
                "rating": 6.7706,
                "minutes": 77.35,
                "total_pass": 18.9068,
                "accurate_pass": 15.3256,
                "duels_won": 3.2827,
                "total_long_balls": 1.073,
                "accurate_long_balls": 0.434,
                "total_own_half_passes": 6.1154,
                "accurate_own_half_passes": 5.4266,
                "total_opp_half_passes": 12.7914,
                "accurate_opp_half_passes": 9.899,
                "crosses_total": 1.9492,
                "crosses_accurate": 0.2423,
                "touches": 36.7072,
                "possession_lost": 13.4788,
                "dispossessed": 2.8081,
                "duels_lost": 7.6551,
                "aerial_won": 0.9,
                "aerial_lost": 0.4242,
                "interceptions": 0.4719,
                "tackles_won": 0.483,
                "tackles": 0.7653,
                "clearances": 0.0531,
                "total_contest": 2.4069,
                "won_contest": 1.0615,
                "challenges_lost": 1.5578,
                "fouls": 1.7624,
                "fouls_drawn": 1.3336,
                "blocks": 0.0,
                "big_chances_created": 0.449,
                "big_chances_missed": 0.0,
                "xgot": 0.1017,
                "ball_carries": 12.9895,
                "total_progression": 84.9248,
                "progressive_carries": 2.247,
                "shots_off_target": 1.0903,
                "duel_xg_multiplier": 0.9687,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.439,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ramón",
                "opponent_faced": "Pablo Ramón",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pablo Ramón",
                  "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                  "duel_win_rate": 0.439,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9687,
                  "skill_edge": 0.0227,
                  "height_edge": -0.044,
                  "attacker_skill": 0.488,
                  "defender_skill": 0.4374,
                  "attacker_role": "LM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pablo Ramón",
                      "market_value": 1500000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.1515
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.1654,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 1.686,
                  "after": 1.6333
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.1255,
                  "after": 1.0903
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5605,
                  "after": 0.543
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.2859,
                "expected_assists": 0.128,
                "assist_rate": 0.2554,
                "assists": 0,
                "expected_goals": 0.1515,
                "goal_rate": 0.1388,
                "goals": 0,
                "shots_on_target": 0.543,
                "total_shots": 1.6333,
                "rating": 6.7706,
                "minutes": 77.35,
                "total_pass": 18.9068,
                "accurate_pass": 15.3256,
                "duels_won": 3.2827,
                "total_long_balls": 1.073,
                "accurate_long_balls": 0.434,
                "total_own_half_passes": 6.1154,
                "accurate_own_half_passes": 5.4266,
                "total_opp_half_passes": 12.7914,
                "accurate_opp_half_passes": 9.899,
                "crosses_total": 1.9492,
                "crosses_accurate": 0.2423,
                "touches": 36.7072,
                "possession_lost": 13.4788,
                "dispossessed": 2.8081,
                "duels_lost": 7.6551,
                "aerial_won": 0.9,
                "aerial_lost": 0.4242,
                "interceptions": 0.4719,
                "tackles_won": 0.483,
                "tackles": 0.7653,
                "clearances": 0.0531,
                "total_contest": 2.4069,
                "won_contest": 1.0615,
                "challenges_lost": 1.5578,
                "fouls": 1.7624,
                "fouls_drawn": 1.3336,
                "blocks": 0.0,
                "big_chances_created": 0.449,
                "big_chances_missed": 0.0,
                "xgot": 0.1017,
                "ball_carries": 12.9895,
                "total_progression": 84.9248,
                "progressive_carries": 2.247,
                "shots_off_target": 1.0903,
                "duel_xg_multiplier": 0.9687,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.439,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ramón",
                "opponent_faced": "Pablo Ramón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.46 (squad xG sum 1.1085, xG scale 1.3171, xA scale 1.3171, team xA 0.96 = 0.66 x lambda)",
              "stats": {
                "key_pass": 1.2859,
                "expected_assists": 0.1686,
                "assist_rate": 0.2554,
                "assists": 0,
                "expected_goals": 0.1995,
                "goal_rate": 0.1388,
                "goals": 0,
                "shots_on_target": 0.543,
                "total_shots": 1.6333,
                "rating": 6.7706,
                "minutes": 77.35,
                "total_pass": 18.9068,
                "accurate_pass": 15.3256,
                "duels_won": 3.2827,
                "total_long_balls": 1.073,
                "accurate_long_balls": 0.434,
                "total_own_half_passes": 6.1154,
                "accurate_own_half_passes": 5.4266,
                "total_opp_half_passes": 12.7914,
                "accurate_opp_half_passes": 9.899,
                "crosses_total": 1.9492,
                "crosses_accurate": 0.2423,
                "touches": 36.7072,
                "possession_lost": 13.4788,
                "dispossessed": 2.8081,
                "duels_lost": 7.6551,
                "aerial_won": 0.9,
                "aerial_lost": 0.4242,
                "interceptions": 0.4719,
                "tackles_won": 0.483,
                "tackles": 0.7653,
                "clearances": 0.0531,
                "total_contest": 2.4069,
                "won_contest": 1.0615,
                "challenges_lost": 1.5578,
                "fouls": 1.7624,
                "fouls_drawn": 1.3336,
                "blocks": 0.0,
                "big_chances_created": 0.449,
                "big_chances_missed": 0.0,
                "xgot": 0.1339,
                "ball_carries": 12.9895,
                "total_progression": 84.9248,
                "progressive_carries": 2.247,
                "shots_off_target": 1.0903,
                "duel_xg_multiplier": 0.9687,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.439,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ramón",
                "opponent_faced": "Pablo Ramón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.937,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.46,
                "squad_xg_sum": 1.1085,
                "squad_xa_sum": 0.7277,
                "team_expected_assists": 0.9585,
                "team_xa_to_xg_ratio": 0.6565,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3171,
                "xa_scale": 1.3171,
                "opponent_lambda": 1.312,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1515,
                  "after": 0.1995
                },
                {
                  "stat": "expected_assists",
                  "before": 0.128,
                  "after": 0.1686
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 86.0)",
              "stats": {
                "key_pass": 1.2859,
                "expected_assists": 0.1686,
                "assist_rate": 0.2554,
                "assists": 0,
                "expected_goals": 0.1995,
                "goal_rate": 0.1388,
                "goals": 0,
                "shots_on_target": 0.543,
                "total_shots": 1.6333,
                "rating": 6.7706,
                "minutes": 77.35,
                "total_pass": 18.9068,
                "accurate_pass": 15.3256,
                "duels_won": 3.2827,
                "total_long_balls": 1.073,
                "accurate_long_balls": 0.434,
                "total_own_half_passes": 6.1154,
                "accurate_own_half_passes": 5.4266,
                "total_opp_half_passes": 12.7914,
                "accurate_opp_half_passes": 9.899,
                "crosses_total": 1.9492,
                "crosses_accurate": 0.2423,
                "touches": 36.7072,
                "possession_lost": 13.4788,
                "dispossessed": 2.8081,
                "duels_lost": 7.6551,
                "aerial_won": 0.9,
                "aerial_lost": 0.4242,
                "interceptions": 0.4719,
                "tackles_won": 0.483,
                "tackles": 0.7653,
                "clearances": 0.0531,
                "total_contest": 2.4069,
                "won_contest": 1.0615,
                "challenges_lost": 1.5578,
                "fouls": 1.7624,
                "fouls_drawn": 1.3336,
                "blocks": 0.0,
                "big_chances_created": 0.449,
                "big_chances_missed": 0.0,
                "xgot": 0.1339,
                "ball_carries": 12.9895,
                "total_progression": 84.9248,
                "progressive_carries": 2.247,
                "shots_off_target": 1.0903,
                "duel_xg_multiplier": 0.9687,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.439,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ramón",
                "opponent_faced": "Pablo Ramón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.937,
                "creation_factor": 1.25,
                "fifa_overall": 86.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 198,
                "fifa_rank": 93.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 86.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.2859,
                "expected_assists": 0.1686,
                "assist_rate": 0.2554,
                "assists": 0,
                "expected_goals": 0.1995,
                "goal_rate": 0.1388,
                "goals": 0,
                "shots_on_target": 0.543,
                "total_shots": 1.6333,
                "rating": 6.7706,
                "minutes": 77.35,
                "total_pass": 18.9068,
                "accurate_pass": 15.3256,
                "duels_won": 3.2827,
                "total_long_balls": 1.073,
                "accurate_long_balls": 0.434,
                "total_own_half_passes": 6.1154,
                "accurate_own_half_passes": 5.4266,
                "total_opp_half_passes": 12.7914,
                "accurate_opp_half_passes": 9.899,
                "crosses_total": 1.9492,
                "crosses_accurate": 0.2423,
                "touches": 36.7072,
                "possession_lost": 13.4788,
                "dispossessed": 2.8081,
                "duels_lost": 7.6551,
                "aerial_won": 0.9,
                "aerial_lost": 0.4242,
                "interceptions": 0.4719,
                "tackles_won": 0.483,
                "tackles": 0.7653,
                "clearances": 0.0531,
                "total_contest": 2.4069,
                "won_contest": 1.0615,
                "challenges_lost": 1.5578,
                "fouls": 1.7624,
                "fouls_drawn": 1.3336,
                "blocks": 0.0,
                "big_chances_created": 0.449,
                "big_chances_missed": 0.0,
                "xgot": 0.1339,
                "ball_carries": 12.9895,
                "total_progression": 84.9248,
                "progressive_carries": 2.247,
                "shots_off_target": 1.0903,
                "duel_xg_multiplier": 0.9687,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.439,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ramón",
                "opponent_faced": "Pablo Ramón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1809,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.937,
                "creation_factor": 1.25,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1809,
                "goal_rate": 0.1388,
                "scorer_weight": 0.1869,
                "squad_weight_total": 1.4744,
                "weight_share": 0.1268,
                "finishing_factor": 0.937,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.6148,
                    "already": 0,
                    "effective_weight": 0.6148,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.1869
                  }
                ]
              }
            },
            {
              "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.2859,
                "expected_assists": 0.1686,
                "assist_rate": 0.2554,
                "assists": 1,
                "expected_goals": 0.1995,
                "goal_rate": 0.1388,
                "goals": 0,
                "shots_on_target": 0.543,
                "total_shots": 1.6333,
                "rating": 6.7706,
                "minutes": 77.35,
                "total_pass": 18.9068,
                "accurate_pass": 15.3256,
                "duels_won": 3.2827,
                "total_long_balls": 1.073,
                "accurate_long_balls": 0.434,
                "total_own_half_passes": 6.1154,
                "accurate_own_half_passes": 5.4266,
                "total_opp_half_passes": 12.7914,
                "accurate_opp_half_passes": 9.899,
                "crosses_total": 1.9492,
                "crosses_accurate": 0.2423,
                "touches": 36.7072,
                "possession_lost": 13.4788,
                "dispossessed": 2.8081,
                "duels_lost": 7.6551,
                "aerial_won": 0.9,
                "aerial_lost": 0.4242,
                "interceptions": 0.4719,
                "tackles_won": 0.483,
                "tackles": 0.7653,
                "clearances": 0.0531,
                "total_contest": 2.4069,
                "won_contest": 1.0615,
                "challenges_lost": 1.5578,
                "fouls": 1.7624,
                "fouls_drawn": 1.3336,
                "blocks": 0.0,
                "big_chances_created": 0.449,
                "big_chances_missed": 0.0,
                "xgot": 0.1339,
                "ball_carries": 12.9895,
                "total_progression": 84.9248,
                "progressive_carries": 2.247,
                "shots_off_target": 1.0903,
                "duel_xg_multiplier": 0.9687,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.439,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ramón",
                "opponent_faced": "Pablo Ramón",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1809,
                "projected_assists": 1,
                "assist_probability": 0.1552,
                "finishing_factor": 0.937,
                "creation_factor": 1.25,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.1552,
                "assist_rate": 0.2554,
                "provider_weight": 0.2107,
                "squad_weight_total": 0.8905,
                "weight_share": 0.2367,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.2107,
                    "already": 0,
                    "effective_weight": 0.2107,
                    "runner_up": "Edu Expósito",
                    "runner_up_effective_weight": 0.158,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Roger Hinojo": {
          "player_id": 2065347,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 21,
          "height": 180,
          "market_value": 3100000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.6073,
            "minutes": 78,
            "total_pass": 30,
            "accurate_pass": 24,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 15,
            "accurate_opp_half_passes": 11,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 45,
            "possession_lost": 7.3821,
            "dispossessed": 0.5045,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0111,
            "expected_assists": 0.0435,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 10,
            "total_progression": 54,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "opponent_faced": "Pablo Ramón, Julen Agirrezabala",
            "matchup_zone": "LWB vs RW + RB",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.011,
            "projected_assists": 0,
            "assist_probability": 0.0426,
            "finishing_factor": 0.8562,
            "creation_factor": 0.8,
            "fifa_overall": 68.0
          },
          "latest_10_games": [
            {
              "match_id": 16421071,
              "match_date": "2026-10-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0323,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 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": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 8,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 45,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0077,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 22,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0573,
                "expected_assists": 0.0005,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 8,
                "accurate_pass": 7,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 4,
                "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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0057,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 35,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "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": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 86,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0322,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 35,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.189,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 37,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 3,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 35,
                "tackles": 3,
                "tackles_won": 2,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0432,
                "total_shots": 0,
                "total_pass": 57,
                "accurate_pass": 50,
                "key_pass": 1,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 5858,
            "combined_rank_score": 4113.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 91.0,
            "sofascore_rating": 7.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 8136.0,
            "fifa_overall": 68.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6073,
            "source_file": "data/player_rankings.csv",
            "player_name": "Roger Hinojo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Maximilian Wittek",
                  "ranking": 5853
                },
                {
                  "player_name": "Marnon Busch",
                  "ranking": 5854
                },
                {
                  "player_name": "Mathias Pereira Lage",
                  "ranking": 5855
                },
                {
                  "player_name": "Robert Glatzel",
                  "ranking": 5856
                },
                {
                  "player_name": "Ron-Thorben Hoffmann",
                  "ranking": 5857
                }
              ],
              "lower": [
                {
                  "player_name": "Fraser Hornby",
                  "ranking": 5859
                },
                {
                  "player_name": "Mateusz Żukowski",
                  "ranking": 5860
                },
                {
                  "player_name": "Finn Ole Becker",
                  "ranking": 5861
                },
                {
                  "player_name": "Benjamin Källman",
                  "ranking": 5862
                },
                {
                  "player_name": "Aster Vranckx",
                  "ranking": 5863
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 9,
          "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": 9,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9929,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 9 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, 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": 0.8447,
                "tackles": 1.9216,
                "tackles_won": 1.1481,
                "clearances": 2.9044,
                "aerial_won": 0.8735,
                "total_shots": 0.3263,
                "rating": 6.6073,
                "minutes": 77.98,
                "total_pass": 29.8779,
                "accurate_pass": 24.5704,
                "duels_won": 3.6205,
                "total_long_balls": 3.191,
                "accurate_long_balls": 1.3122,
                "total_own_half_passes": 14.7376,
                "accurate_own_half_passes": 12.9912,
                "total_opp_half_passes": 15.1403,
                "accurate_opp_half_passes": 11.5792,
                "crosses_total": 0.1991,
                "crosses_accurate": 0.0915,
                "touches": 45.3508,
                "possession_lost": 7.4349,
                "dispossessed": 0.5081,
                "duels_lost": 3.716,
                "aerial_lost": 1.4017,
                "total_contest": 0.3736,
                "won_contest": 0.0915,
                "ball_recovery": 3.5802,
                "challenges_lost": 0.6702,
                "fouls": 0.9805,
                "fouls_drawn": 0.3989,
                "blocks": 0.0915,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0085,
                "expected_assists": 0.0332,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.2379,
                "total_progression": 53.9411,
                "progressive_carries": 1.0033,
                "key_pass": 0.2414,
                "shots_off_target": 0.3263
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:05:47.447103+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 626,
                    "rows": 21426
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1952,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1659,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.141,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1199,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1019,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.0866,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0736,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0626,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0532,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.3459,
                  "aerialWon": 0.5645,
                  "totalClearance_p90": 2.9867,
                  "totalTackle": 2.0717,
                  "defensive_actions": 2.6536
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8446772694587708,
                    "model_output": 0.8447,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2909
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0422
                      },
                      {
                        "name": "touches",
                        "importance": 0.0304
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0294
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.8603,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1027
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0986
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0303
                        },
                        {
                          "name": "touches",
                          "contribution": -0.026
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0215
                        }
                      ],
                      "others": 0.0151,
                      "total": 0.8447,
                      "log_link": true,
                      "margin_base": -0.150447,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.112815
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.108028
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.035723
                        },
                        {
                          "name": "touches",
                          "margin": -0.031658
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.026243
                        }
                      ],
                      "others_margin": 0.017997
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.921578049659729,
                    "model_output": 1.9216,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2494
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0709
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0459
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0405
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 1.3831,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2024
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1072
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0935
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0433
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0397
                        }
                      ],
                      "others": 0.139,
                      "total": 1.9216,
                      "log_link": true,
                      "margin_base": 0.324299,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.136594
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.065427
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.053756
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.024559
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.022531
                        }
                      ],
                      "others_margin": 0.075098
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.1480802297592163,
                    "model_output": 1.1481,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2138
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0741
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0462
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0368
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0292
                      }
                    ],
                    "decomposition": {
                      "base": 0.845,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1241
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0992
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0597
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0281
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.02
                        }
                      ],
                      "others": 0.0282,
                      "total": 1.1481,
                      "log_link": true,
                      "margin_base": -0.168402,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.137038
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.097454
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.054361
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.025216
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.01805
                        }
                      ],
                      "others_margin": 0.024807
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.9044039249420166,
                    "model_output": 2.9044,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2886
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0929
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0369
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.02
                      }
                    ],
                    "decomposition": {
                      "base": 3.4251,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.5016
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4237
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2656
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.121
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.107
                        }
                      ],
                      "others": -0.1912,
                      "total": 2.9044,
                      "log_link": true,
                      "margin_base": 1.231123,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.158344
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.135341
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.082664
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.038514
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.033986
                        }
                      ],
                      "others_margin": -0.063755
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.8735078573226929,
                    "model_output": 0.8735,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1614
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1578
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0791
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 1.3852,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.436
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1246
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.081
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0707
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0226
                        }
                      ],
                      "others": -0.0712,
                      "total": 0.8735,
                      "log_link": true,
                      "margin_base": 0.325816,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.378025
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.123343
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.078392
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.073919
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.024172
                        }
                      ],
                      "others_margin": -0.078234
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.32629022002220154,
                    "model_output": 0.3263,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0997
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0736
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.034
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0332
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.4749,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1239
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0485
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0241
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0126
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0108
                        }
                      ],
                      "others": -0.0509,
                      "total": 0.3263,
                      "log_link": false,
                      "margin_base": 0.47494,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.123892
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.048514
                        },
                        {
                          "name": "rating",
                          "margin": -0.024067
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.012642
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.010818
                        }
                      ],
                      "others_margin": -0.051029
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.607297897338867,
                    "model_output": 6.6073,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0694
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0576
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.055
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.7904,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.044
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0169
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0162
                        },
                        {
                          "name": "rating",
                          "contribution": -0.016
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0159
                        }
                      ],
                      "others": -0.0741,
                      "total": 6.6073,
                      "log_link": false,
                      "margin_base": 6.790384,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.043979
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.01693
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.0162
                        },
                        {
                          "name": "rating",
                          "margin": -0.016008
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.015929
                        }
                      ],
                      "others_margin": -0.07404
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 9,
                  "role_matches": 8,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9929, quality 0.439)",
              "stats": {
                "interceptions": 0.8387,
                "tackles": 1.9079,
                "tackles_won": 1.1399,
                "clearances": 2.8838,
                "aerial_won": 0.8673,
                "total_shots": 0.324,
                "rating": 6.6073,
                "minutes": 77.98,
                "total_pass": 29.6658,
                "accurate_pass": 24.396,
                "duels_won": 3.5948,
                "total_long_balls": 3.1683,
                "accurate_long_balls": 1.3029,
                "total_own_half_passes": 14.633,
                "accurate_own_half_passes": 12.899,
                "total_opp_half_passes": 15.0328,
                "accurate_opp_half_passes": 11.497,
                "crosses_total": 0.1977,
                "crosses_accurate": 0.0909,
                "touches": 45.0288,
                "possession_lost": 7.3821,
                "dispossessed": 0.5045,
                "duels_lost": 3.6896,
                "aerial_lost": 1.3917,
                "total_contest": 0.3709,
                "won_contest": 0.0909,
                "ball_recovery": 3.5548,
                "challenges_lost": 0.6654,
                "fouls": 0.9735,
                "fouls_drawn": 0.3961,
                "blocks": 0.0909,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0084,
                "expected_assists": 0.033,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.1652,
                "total_progression": 53.5581,
                "progressive_carries": 0.9962,
                "key_pass": 0.2397,
                "shots_off_target": 0.324
              },
              "params": {
                "market_value_eur": 3100000,
                "quality_factor": 0.4387,
                "boost_factor": 0.9929,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0464)",
              "stats": {
                "interceptions": 0.8266,
                "tackles": 1.9079,
                "tackles_won": 1.1674,
                "clearances": 2.8838,
                "aerial_won": 0.8673,
                "total_shots": 0.309,
                "rating": 6.6073,
                "minutes": 77.98,
                "total_pass": 29.6658,
                "accurate_pass": 24.396,
                "duels_won": 3.5948,
                "total_long_balls": 3.1683,
                "accurate_long_balls": 1.3029,
                "total_own_half_passes": 14.633,
                "accurate_own_half_passes": 12.899,
                "total_opp_half_passes": 15.0328,
                "accurate_opp_half_passes": 11.497,
                "crosses_total": 0.2019,
                "crosses_accurate": 0.0909,
                "touches": 45.0288,
                "possession_lost": 7.3821,
                "dispossessed": 0.5045,
                "duels_lost": 3.6896,
                "aerial_lost": 1.3917,
                "total_contest": 0.3709,
                "won_contest": 0.0909,
                "ball_recovery": 3.5548,
                "challenges_lost": 0.6654,
                "fouls": 0.9685,
                "fouls_drawn": 0.3911,
                "blocks": 0.0909,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0084,
                "expected_assists": 0.033,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.1652,
                "total_progression": 53.5581,
                "progressive_carries": 0.9962,
                "key_pass": 0.2397,
                "shots_off_target": 0.324
              },
              "params": {
                "blend_weight": 0.0464,
                "history_matches": 9,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8664,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 1.1399,
                  "after": 1.1674
                },
                {
                  "stat": "totalShots",
                  "before": 0.324,
                  "after": 0.309
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.8387,
                  "after": 0.8266
                },
                {
                  "stat": "fouls",
                  "before": 0.9735,
                  "after": 0.9685
                },
                {
                  "stat": "wasFouled",
                  "before": 0.3961,
                  "after": 0.3911
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.8266,
                "tackles": 1.9079,
                "tackles_won": 1.1674,
                "clearances": 2.8838,
                "aerial_won": 0.8673,
                "total_shots": 0.324,
                "rating": 6.6073,
                "minutes": 77.98,
                "total_pass": 29.6658,
                "accurate_pass": 24.396,
                "duels_won": 3.5948,
                "total_long_balls": 3.1683,
                "accurate_long_balls": 1.3029,
                "total_own_half_passes": 14.633,
                "accurate_own_half_passes": 12.899,
                "total_opp_half_passes": 15.0328,
                "accurate_opp_half_passes": 11.497,
                "crosses_total": 0.2019,
                "crosses_accurate": 0.0909,
                "touches": 45.0288,
                "possession_lost": 7.3821,
                "dispossessed": 0.5045,
                "duels_lost": 3.6896,
                "aerial_lost": 1.3917,
                "total_contest": 0.3709,
                "won_contest": 0.0909,
                "ball_recovery": 3.5548,
                "challenges_lost": 0.6654,
                "fouls": 0.9685,
                "fouls_drawn": 0.3911,
                "blocks": 0.0909,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0084,
                "expected_assists": 0.033,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.1652,
                "total_progression": 53.5581,
                "progressive_carries": 0.9962,
                "key_pass": 0.2397,
                "shots_off_target": 0.324
              },
              "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.8266,
                "tackles": 1.9079,
                "tackles_won": 1.1674,
                "clearances": 2.8838,
                "aerial_won": 0.8673,
                "total_shots": 0.324,
                "rating": 6.6073,
                "minutes": 77.98,
                "total_pass": 29.6658,
                "accurate_pass": 24.396,
                "duels_won": 3.5948,
                "total_long_balls": 3.1683,
                "accurate_long_balls": 1.3029,
                "total_own_half_passes": 14.633,
                "accurate_own_half_passes": 12.899,
                "total_opp_half_passes": 15.0328,
                "accurate_opp_half_passes": 11.497,
                "crosses_total": 0.2019,
                "crosses_accurate": 0.0909,
                "touches": 45.0288,
                "possession_lost": 7.3821,
                "dispossessed": 0.5045,
                "duels_lost": 3.6896,
                "aerial_lost": 1.3917,
                "total_contest": 0.3709,
                "won_contest": 0.0909,
                "ball_recovery": 3.5548,
                "challenges_lost": 0.6654,
                "fouls": 0.9685,
                "fouls_drawn": 0.3911,
                "blocks": 0.0909,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0084,
                "expected_assists": 0.033,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.1652,
                "total_progression": 53.5581,
                "progressive_carries": 0.9962,
                "key_pass": 0.2397,
                "shots_off_target": 0.324,
                "opponent_faced": "Pablo Ramón, Julen Agirrezabala",
                "matchup_zone": "LWB vs RW + RB",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pablo Ramón, Julen Agirrezabala",
                  "matchup_zone": "LWB vs RW + RB"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.8266,
                "tackles": 1.9079,
                "tackles_won": 1.1674,
                "clearances": 2.8838,
                "aerial_won": 0.8673,
                "total_shots": 0.324,
                "rating": 6.6073,
                "minutes": 77.98,
                "total_pass": 29.6658,
                "accurate_pass": 24.396,
                "duels_won": 3.5948,
                "total_long_balls": 3.1683,
                "accurate_long_balls": 1.3029,
                "total_own_half_passes": 14.633,
                "accurate_own_half_passes": 12.899,
                "total_opp_half_passes": 15.0328,
                "accurate_opp_half_passes": 11.497,
                "crosses_total": 0.2019,
                "crosses_accurate": 0.0909,
                "touches": 45.0288,
                "possession_lost": 7.3821,
                "dispossessed": 0.5045,
                "duels_lost": 3.6896,
                "aerial_lost": 1.3917,
                "total_contest": 0.3709,
                "won_contest": 0.0909,
                "ball_recovery": 3.5548,
                "challenges_lost": 0.6654,
                "fouls": 0.9685,
                "fouls_drawn": 0.3911,
                "blocks": 0.0909,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0084,
                "expected_assists": 0.033,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.1652,
                "total_progression": 53.5581,
                "progressive_carries": 0.9962,
                "key_pass": 0.2397,
                "shots_off_target": 0.324,
                "opponent_faced": "Pablo Ramón, Julen Agirrezabala",
                "matchup_zone": "LWB vs RW + RB",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.46 (squad xG sum 1.1085, xG scale 1.3171, xA scale 1.3171, team xA 0.96 = 0.66 x lambda)",
              "stats": {
                "interceptions": 0.8266,
                "tackles": 1.9079,
                "tackles_won": 1.1674,
                "clearances": 2.8838,
                "aerial_won": 0.8673,
                "total_shots": 0.324,
                "rating": 6.6073,
                "minutes": 77.98,
                "total_pass": 29.6658,
                "accurate_pass": 24.396,
                "duels_won": 3.5948,
                "total_long_balls": 3.1683,
                "accurate_long_balls": 1.3029,
                "total_own_half_passes": 14.633,
                "accurate_own_half_passes": 12.899,
                "total_opp_half_passes": 15.0328,
                "accurate_opp_half_passes": 11.497,
                "crosses_total": 0.2019,
                "crosses_accurate": 0.0909,
                "touches": 45.0288,
                "possession_lost": 7.3821,
                "dispossessed": 0.5045,
                "duels_lost": 3.6896,
                "aerial_lost": 1.3917,
                "total_contest": 0.3709,
                "won_contest": 0.0909,
                "ball_recovery": 3.5548,
                "challenges_lost": 0.6654,
                "fouls": 0.9685,
                "fouls_drawn": 0.3911,
                "blocks": 0.0909,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0111,
                "expected_assists": 0.0435,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.1652,
                "total_progression": 53.5581,
                "progressive_carries": 0.9962,
                "key_pass": 0.2397,
                "shots_off_target": 0.324,
                "opponent_faced": "Pablo Ramón, Julen Agirrezabala",
                "matchup_zone": "LWB vs RW + RB",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8562,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.46,
                "squad_xg_sum": 1.1085,
                "squad_xa_sum": 0.7277,
                "team_expected_assists": 0.9585,
                "team_xa_to_xg_ratio": 0.6565,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3171,
                "xa_scale": 1.3171,
                "opponent_lambda": 1.312,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.033,
                  "after": 0.0435
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 68.0)",
              "stats": {
                "interceptions": 0.8266,
                "tackles": 1.9079,
                "tackles_won": 1.1674,
                "clearances": 2.8838,
                "aerial_won": 0.8673,
                "total_shots": 0.324,
                "rating": 6.6073,
                "minutes": 77.98,
                "total_pass": 29.6658,
                "accurate_pass": 24.396,
                "duels_won": 3.5948,
                "total_long_balls": 3.1683,
                "accurate_long_balls": 1.3029,
                "total_own_half_passes": 14.633,
                "accurate_own_half_passes": 12.899,
                "total_opp_half_passes": 15.0328,
                "accurate_opp_half_passes": 11.497,
                "crosses_total": 0.2019,
                "crosses_accurate": 0.0909,
                "touches": 45.0288,
                "possession_lost": 7.3821,
                "dispossessed": 0.5045,
                "duels_lost": 3.6896,
                "aerial_lost": 1.3917,
                "total_contest": 0.3709,
                "won_contest": 0.0909,
                "ball_recovery": 3.5548,
                "challenges_lost": 0.6654,
                "fouls": 0.9685,
                "fouls_drawn": 0.3911,
                "blocks": 0.0909,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0111,
                "expected_assists": 0.0435,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.1652,
                "total_progression": 53.5581,
                "progressive_carries": 0.9962,
                "key_pass": 0.2397,
                "shots_off_target": 0.324,
                "opponent_faced": "Pablo Ramón, Julen Agirrezabala",
                "matchup_zone": "LWB vs RW + RB",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8562,
                "creation_factor": 0.8,
                "fifa_overall": 68.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5858,
                "fifa_rank": 8136.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 68.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.8266,
                "tackles": 1.9079,
                "tackles_won": 1.1674,
                "clearances": 2.8838,
                "aerial_won": 0.8673,
                "total_shots": 0.324,
                "rating": 6.6073,
                "minutes": 77.98,
                "total_pass": 29.6658,
                "accurate_pass": 24.396,
                "duels_won": 3.5948,
                "total_long_balls": 3.1683,
                "accurate_long_balls": 1.3029,
                "total_own_half_passes": 14.633,
                "accurate_own_half_passes": 12.899,
                "total_opp_half_passes": 15.0328,
                "accurate_opp_half_passes": 11.497,
                "crosses_total": 0.2019,
                "crosses_accurate": 0.0909,
                "touches": 45.0288,
                "possession_lost": 7.3821,
                "dispossessed": 0.5045,
                "duels_lost": 3.6896,
                "aerial_lost": 1.3917,
                "total_contest": 0.3709,
                "won_contest": 0.0909,
                "ball_recovery": 3.5548,
                "challenges_lost": 0.6654,
                "fouls": 0.9685,
                "fouls_drawn": 0.3911,
                "blocks": 0.0909,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0111,
                "expected_assists": 0.0435,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.1652,
                "total_progression": 53.5581,
                "progressive_carries": 0.9962,
                "key_pass": 0.2397,
                "shots_off_target": 0.324,
                "opponent_faced": "Pablo Ramón, Julen Agirrezabala",
                "matchup_zone": "LWB vs RW + RB",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.011,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8562,
                "creation_factor": 0.8,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.011,
                "goal_rate": 0.0,
                "scorer_weight": 0.0095,
                "squad_weight_total": 1.4744,
                "weight_share": 0.0064,
                "finishing_factor": 0.8562,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.6148,
                    "already": 0,
                    "effective_weight": 0.6148,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.1869
                  }
                ]
              }
            },
            {
              "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.8266,
                "tackles": 1.9079,
                "tackles_won": 1.1674,
                "clearances": 2.8838,
                "aerial_won": 0.8673,
                "total_shots": 0.324,
                "rating": 6.6073,
                "minutes": 77.98,
                "total_pass": 29.6658,
                "accurate_pass": 24.396,
                "duels_won": 3.5948,
                "total_long_balls": 3.1683,
                "accurate_long_balls": 1.3029,
                "total_own_half_passes": 14.633,
                "accurate_own_half_passes": 12.899,
                "total_opp_half_passes": 15.0328,
                "accurate_opp_half_passes": 11.497,
                "crosses_total": 0.2019,
                "crosses_accurate": 0.0909,
                "touches": 45.0288,
                "possession_lost": 7.3821,
                "dispossessed": 0.5045,
                "duels_lost": 3.6896,
                "aerial_lost": 1.3917,
                "total_contest": 0.3709,
                "won_contest": 0.0909,
                "ball_recovery": 3.5548,
                "challenges_lost": 0.6654,
                "fouls": 0.9685,
                "fouls_drawn": 0.3911,
                "blocks": 0.0909,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0111,
                "expected_assists": 0.0435,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.1652,
                "total_progression": 53.5581,
                "progressive_carries": 0.9962,
                "key_pass": 0.2397,
                "shots_off_target": 0.324,
                "opponent_faced": "Pablo Ramón, Julen Agirrezabala",
                "matchup_zone": "LWB vs RW + RB",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.011,
                "projected_assists": 0,
                "assist_probability": 0.0426,
                "finishing_factor": 0.8562,
                "creation_factor": 0.8,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0426,
                "assist_rate": 0.0,
                "provider_weight": 0.0348,
                "squad_weight_total": 0.8905,
                "weight_share": 0.0391,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.2107,
                    "already": 0,
                    "effective_weight": 0.2107,
                    "runner_up": "Edu Expósito",
                    "runner_up_effective_weight": 0.158,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Leandro Cabrera": {
          "player_id": 81992,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 6,
          "height": 190,
          "market_value": 930000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 7,
            "aerial_won": 3,
            "total_shots": 1,
            "rating": 6.8227,
            "minutes": 90,
            "total_pass": 47,
            "accurate_pass": 39,
            "duels_won": 4,
            "total_long_balls": 7,
            "accurate_long_balls": 3,
            "total_own_half_passes": 28,
            "accurate_own_half_passes": 26,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 13,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 61,
            "possession_lost": 9.5898,
            "dispossessed": 0.0386,
            "duels_lost": 3,
            "aerial_lost": 2,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0072,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0732,
            "expected_assists": 0.039,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0232,
            "ball_carries": 11,
            "total_progression": 38,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 1,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.8,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.74,
            "opponent_faced": "Yassir Zabiri",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0706,
            "projected_assists": 0,
            "assist_probability": 0.0382,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16421071,
              "match_date": "2026-10-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1257,
                "expected_assists": 0.0061,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 44,
                "accurate_pass": 32,
                "interceptions": 4,
                "clearances": 3,
                "aerial_won": 3,
                "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": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0063,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 40,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 8,
                "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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0136,
                "expected_assists": 0.0446,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 74,
                "accurate_pass": 67,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 4,
                "duels_won": 7,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1658,
                "expected_assists": 0.0509,
                "total_shots": 1,
                "total_pass": 50,
                "accurate_pass": 40,
                "interceptions": 3,
                "clearances": 9,
                "aerial_won": 6,
                "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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0713,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 36,
                "clearances": 17,
                "aerial_won": 3,
                "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": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0325,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 48,
                "tackles": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1048,
                "expected_assists": 0.0057,
                "total_shots": 1,
                "total_pass": 41,
                "accurate_pass": 32,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 23,
                "clearances": 11,
                "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": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0175,
                "expected_assists": 0.0082,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 68,
                "accurate_pass": 56,
                "interceptions": 2,
                "clearances": 7,
                "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": 14083587,
              "match_date": "2026-05-09",
              "home_team": "Sevilla",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0584,
                "expected_assists": 0.0124,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 27,
                "accurate_pass": 16,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 10,
                "aerial_won": 4,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3325,
            "combined_rank_score": 1280.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 612.0,
            "sofascore_rating": 6.7757,
            "sofascore_appearances": 37.0,
            "fifa_rank": 1948.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8227,
            "source_file": "data/player_rankings.csv",
            "player_name": "Leandro Cabrera",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Aimar Oroz",
                  "ranking": 3320
                },
                {
                  "player_name": "Konstantinos Koulierakis",
                  "ranking": 3321
                },
                {
                  "player_name": "Óliver Torres",
                  "ranking": 3322
                },
                {
                  "player_name": "Daley Blind",
                  "ranking": 3323
                },
                {
                  "player_name": "Williot Swedberg",
                  "ranking": 3324
                }
              ],
              "lower": [
                {
                  "player_name": "Alejandro Zendejas",
                  "ranking": 3326
                },
                {
                  "player_name": "Sacha Boey",
                  "ranking": 3327
                },
                {
                  "player_name": "Hugo Cuypers",
                  "ranking": 3328
                },
                {
                  "player_name": "Carl Rushworth",
                  "ranking": 3329
                },
                {
                  "player_name": "Juan Brunetta",
                  "ranking": 3330
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "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.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9979,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 43 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.1863,
                "tackles": 1.1266,
                "tackles_won": 0.6319,
                "clearances": 6.5421,
                "aerial_won": 2.9415,
                "total_shots": 0.6902,
                "rating": 6.8227,
                "minutes": 90.0,
                "total_pass": 47.4881,
                "accurate_pass": 38.7145,
                "duels_won": 3.9957,
                "total_long_balls": 7.0249,
                "accurate_long_balls": 2.9302,
                "total_own_half_passes": 28.2231,
                "accurate_own_half_passes": 25.7724,
                "total_opp_half_passes": 19.265,
                "accurate_opp_half_passes": 12.9422,
                "crosses_total": 0.2688,
                "crosses_accurate": 0.0248,
                "touches": 61.2873,
                "possession_lost": 9.61,
                "dispossessed": 0.0387,
                "duels_lost": 2.9682,
                "aerial_lost": 1.6809,
                "total_contest": 0.0548,
                "won_contest": 0.0223,
                "ball_recovery": 2.8862,
                "challenges_lost": 0.2159,
                "fouls": 1.0383,
                "fouls_drawn": 0.263,
                "blocks": 0.5121,
                "goals": 0.0072,
                "goal_rate": 0.0072,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0557,
                "expected_assists": 0.0297,
                "shots_on_target": 0.1208,
                "big_chances_created": 0.0022,
                "xgot": 0.0176,
                "ball_carries": 10.9179,
                "total_progression": 38.0765,
                "progressive_carries": 0.3989,
                "key_pass": 0.0713,
                "shots_off_target": 0.5694
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:05:47.447103+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 626,
                    "rows": 21426
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 6.8009,
                  "aerialWon": 2.9858,
                  "totalClearance_p90": 6.8009,
                  "totalTackle": 0.7499,
                  "defensive_actions": 2.2275
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1863253116607666,
                    "model_output": 1.1863,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2909
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0422
                      },
                      {
                        "name": "touches",
                        "importance": 0.0304
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0294
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.8603,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.095
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0728
                        },
                        {
                          "name": "errorLeadToAGoal",
                          "contribution": 0.0411
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0308
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.03
                        }
                      ],
                      "others": 0.0563,
                      "total": 1.1863,
                      "log_link": true,
                      "margin_base": -0.150447,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.104697
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.073408
                        },
                        {
                          "name": "errorLeadToAGoal",
                          "margin": 0.039234
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.028424
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.026884
                        }
                      ],
                      "others_margin": 0.048659
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1266226768493652,
                    "model_output": 1.1266,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2494
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0709
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0459
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0405
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 1.3831,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1714
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1169
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.099
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0743
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0422
                        }
                      ],
                      "others": -0.0955,
                      "total": 1.1266,
                      "log_link": true,
                      "margin_base": 0.324299,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.116809
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.07815
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.071316
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.057076
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.033958
                        }
                      ],
                      "others_margin": -0.081383
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6319230198860168,
                    "model_output": 0.6319,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2138
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0741
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0462
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0368
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0292
                      }
                    ],
                    "decomposition": {
                      "base": 0.845,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0846
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0755
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0687
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.033
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0262
                        }
                      ],
                      "others": -0.0625,
                      "total": 0.6319,
                      "log_link": true,
                      "margin_base": -0.168402,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.105481
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.104638
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.095594
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.044717
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.037031
                        }
                      ],
                      "others_margin": -0.094313
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 6.542117118835449,
                    "model_output": 6.5421,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2886
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0929
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0369
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.02
                      }
                    ],
                    "decomposition": {
                      "base": 3.4251,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.8753
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5604
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.3459
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.3467
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.2401
                        }
                      ],
                      "others": 0.7486,
                      "total": 6.5421,
                      "log_link": true,
                      "margin_base": 1.231123,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.227575
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.122495
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.068743
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.064472
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.042326
                        }
                      ],
                      "others_margin": 0.121527
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.9414706230163574,
                    "model_output": 2.9415,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1614
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1578
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0791
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 1.3852,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.5545
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.2292
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2447
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.1859
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1427
                        }
                      ],
                      "others": 0.1993,
                      "total": 2.9415,
                      "log_link": true,
                      "margin_base": 0.325816,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.336689
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.111698
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.106885
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.074204
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.053432
                        }
                      ],
                      "others_margin": 0.070185
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.690240740776062,
                    "model_output": 0.6902,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0997
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0736
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.034
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0332
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.4749,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1474
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0535
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0246
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0209
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0145
                        }
                      ],
                      "others": -0.0038,
                      "total": 0.6902,
                      "log_link": false,
                      "margin_base": 0.47494,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.147378
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.053468
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.024626
                        },
                        {
                          "name": "rating",
                          "margin": -0.020852
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.014548
                        }
                      ],
                      "others_margin": -0.003867
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.8226823806762695,
                    "model_output": 6.8227,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0694
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0576
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.055
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.7904,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.0261
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0246
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0206
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0147
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0133
                        }
                      ],
                      "others": 0.0116,
                      "total": 6.8227,
                      "log_link": false,
                      "margin_base": 6.790384,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.026105
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.024578
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.02055
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.014687
                        },
                        {
                          "name": "touches",
                          "margin": 0.013291
                        }
                      ],
                      "others_margin": 0.011618
                    }
                  }
                ],
                "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.1838,
                "tackles": 1.1243,
                "tackles_won": 0.6306,
                "clearances": 6.5284,
                "aerial_won": 2.9353,
                "total_shots": 0.6888,
                "rating": 6.8227,
                "minutes": 90.0,
                "total_pass": 47.3884,
                "accurate_pass": 38.6332,
                "duels_won": 3.9873,
                "total_long_balls": 7.0101,
                "accurate_long_balls": 2.924,
                "total_own_half_passes": 28.1638,
                "accurate_own_half_passes": 25.7183,
                "total_opp_half_passes": 19.2245,
                "accurate_opp_half_passes": 12.915,
                "crosses_total": 0.2682,
                "crosses_accurate": 0.0247,
                "touches": 61.1586,
                "possession_lost": 9.5898,
                "dispossessed": 0.0386,
                "duels_lost": 2.962,
                "aerial_lost": 1.6774,
                "total_contest": 0.0547,
                "won_contest": 0.0223,
                "ball_recovery": 2.8801,
                "challenges_lost": 0.2154,
                "fouls": 1.0361,
                "fouls_drawn": 0.2624,
                "blocks": 0.511,
                "goals": 0.0072,
                "goal_rate": 0.0072,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0556,
                "expected_assists": 0.0296,
                "shots_on_target": 0.1205,
                "big_chances_created": 0.0022,
                "xgot": 0.0176,
                "ball_carries": 10.895,
                "total_progression": 37.9965,
                "progressive_carries": 0.3981,
                "key_pass": 0.0712,
                "shots_off_target": 0.5682
              },
              "params": {
                "market_value_eur": 930000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9979,
                "reference_quality": 0.505,
                "history_matches": 43,
                "history_shrink": 0.1042,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1838,
                "tackles": 1.1243,
                "tackles_won": 0.6306,
                "clearances": 6.5284,
                "aerial_won": 2.9353,
                "total_shots": 0.6888,
                "rating": 6.8227,
                "minutes": 90.0,
                "total_pass": 47.3884,
                "accurate_pass": 38.6332,
                "duels_won": 3.9873,
                "total_long_balls": 7.0101,
                "accurate_long_balls": 2.924,
                "total_own_half_passes": 28.1638,
                "accurate_own_half_passes": 25.7183,
                "total_opp_half_passes": 19.2245,
                "accurate_opp_half_passes": 12.915,
                "crosses_total": 0.2682,
                "crosses_accurate": 0.0247,
                "touches": 61.1586,
                "possession_lost": 9.5898,
                "dispossessed": 0.0386,
                "duels_lost": 2.962,
                "aerial_lost": 1.6774,
                "total_contest": 0.0547,
                "won_contest": 0.0223,
                "ball_recovery": 2.8801,
                "challenges_lost": 0.2154,
                "fouls": 1.0361,
                "fouls_drawn": 0.2624,
                "blocks": 0.511,
                "goals": 0.0072,
                "goal_rate": 0.0072,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0556,
                "expected_assists": 0.0296,
                "shots_on_target": 0.1205,
                "big_chances_created": 0.0022,
                "xgot": 0.0176,
                "ball_carries": 10.895,
                "total_progression": 37.9965,
                "progressive_carries": 0.3981,
                "key_pass": 0.0712,
                "shots_off_target": 0.5682
              },
              "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.1838,
                "tackles": 1.1243,
                "tackles_won": 0.6306,
                "clearances": 6.5284,
                "aerial_won": 2.9353,
                "total_shots": 0.6888,
                "rating": 6.8227,
                "minutes": 90.0,
                "total_pass": 47.3884,
                "accurate_pass": 38.6332,
                "duels_won": 3.9873,
                "total_long_balls": 7.0101,
                "accurate_long_balls": 2.924,
                "total_own_half_passes": 28.1638,
                "accurate_own_half_passes": 25.7183,
                "total_opp_half_passes": 19.2245,
                "accurate_opp_half_passes": 12.915,
                "crosses_total": 0.2682,
                "crosses_accurate": 0.0247,
                "touches": 61.1586,
                "possession_lost": 9.5898,
                "dispossessed": 0.0386,
                "duels_lost": 2.962,
                "aerial_lost": 1.6774,
                "total_contest": 0.0547,
                "won_contest": 0.0223,
                "ball_recovery": 2.8801,
                "challenges_lost": 0.2154,
                "fouls": 1.0361,
                "fouls_drawn": 0.2624,
                "blocks": 0.511,
                "goals": 0.0072,
                "goal_rate": 0.0072,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0556,
                "expected_assists": 0.0296,
                "shots_on_target": 0.1205,
                "big_chances_created": 0.0022,
                "xgot": 0.0176,
                "ball_carries": 10.895,
                "total_progression": 37.9965,
                "progressive_carries": 0.3981,
                "key_pass": 0.0712,
                "shots_off_target": 0.5682,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "opponent_faced": "Yassir Zabiri",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Yassir Zabiri",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.1838,
                "tackles": 1.1243,
                "tackles_won": 0.6306,
                "clearances": 6.5284,
                "aerial_won": 2.9353,
                "total_shots": 0.6888,
                "rating": 6.8227,
                "minutes": 90.0,
                "total_pass": 47.3884,
                "accurate_pass": 38.6332,
                "duels_won": 3.9873,
                "total_long_balls": 7.0101,
                "accurate_long_balls": 2.924,
                "total_own_half_passes": 28.1638,
                "accurate_own_half_passes": 25.7183,
                "total_opp_half_passes": 19.2245,
                "accurate_opp_half_passes": 12.915,
                "crosses_total": 0.2682,
                "crosses_accurate": 0.0247,
                "touches": 61.1586,
                "possession_lost": 9.5898,
                "dispossessed": 0.0386,
                "duels_lost": 2.962,
                "aerial_lost": 1.6774,
                "total_contest": 0.0547,
                "won_contest": 0.0223,
                "ball_recovery": 2.8801,
                "challenges_lost": 0.2154,
                "fouls": 1.0361,
                "fouls_drawn": 0.2624,
                "blocks": 0.511,
                "goal_rate": 0.0072,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0556,
                "expected_assists": 0.0296,
                "shots_on_target": 0.1205,
                "big_chances_created": 0.0022,
                "xgot": 0.0176,
                "ball_carries": 10.895,
                "total_progression": 37.9965,
                "progressive_carries": 0.3981,
                "key_pass": 0.0712,
                "shots_off_target": 0.5682,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "opponent_faced": "Yassir Zabiri",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.46 (squad xG sum 1.1085, xG scale 1.3171, xA scale 1.3171, team xA 0.96 = 0.66 x lambda)",
              "stats": {
                "interceptions": 1.1838,
                "tackles": 1.1243,
                "tackles_won": 0.6306,
                "clearances": 6.5284,
                "aerial_won": 2.9353,
                "total_shots": 0.6888,
                "rating": 6.8227,
                "minutes": 90.0,
                "total_pass": 47.3884,
                "accurate_pass": 38.6332,
                "duels_won": 3.9873,
                "total_long_balls": 7.0101,
                "accurate_long_balls": 2.924,
                "total_own_half_passes": 28.1638,
                "accurate_own_half_passes": 25.7183,
                "total_opp_half_passes": 19.2245,
                "accurate_opp_half_passes": 12.915,
                "crosses_total": 0.2682,
                "crosses_accurate": 0.0247,
                "touches": 61.1586,
                "possession_lost": 9.5898,
                "dispossessed": 0.0386,
                "duels_lost": 2.962,
                "aerial_lost": 1.6774,
                "total_contest": 0.0547,
                "won_contest": 0.0223,
                "ball_recovery": 2.8801,
                "challenges_lost": 0.2154,
                "fouls": 1.0361,
                "fouls_drawn": 0.2624,
                "blocks": 0.511,
                "goal_rate": 0.0072,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0732,
                "expected_assists": 0.039,
                "shots_on_target": 0.1205,
                "big_chances_created": 0.0022,
                "xgot": 0.0232,
                "ball_carries": 10.895,
                "total_progression": 37.9965,
                "progressive_carries": 0.3981,
                "key_pass": 0.0712,
                "shots_off_target": 0.5682,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "opponent_faced": "Yassir Zabiri",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.46,
                "squad_xg_sum": 1.1085,
                "squad_xa_sum": 0.7277,
                "team_expected_assists": 0.9585,
                "team_xa_to_xg_ratio": 0.6565,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3171,
                "xa_scale": 1.3171,
                "opponent_lambda": 1.312,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0556,
                  "after": 0.0732
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0296,
                  "after": 0.039
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 6 by projected rating, fifa_overall 76.0)",
              "stats": {
                "interceptions": 1.1838,
                "tackles": 1.1243,
                "tackles_won": 0.6306,
                "clearances": 6.5284,
                "aerial_won": 2.9353,
                "total_shots": 0.6888,
                "rating": 6.8227,
                "minutes": 90.0,
                "total_pass": 47.3884,
                "accurate_pass": 38.6332,
                "duels_won": 3.9873,
                "total_long_balls": 7.0101,
                "accurate_long_balls": 2.924,
                "total_own_half_passes": 28.1638,
                "accurate_own_half_passes": 25.7183,
                "total_opp_half_passes": 19.2245,
                "accurate_opp_half_passes": 12.915,
                "crosses_total": 0.2682,
                "crosses_accurate": 0.0247,
                "touches": 61.1586,
                "possession_lost": 9.5898,
                "dispossessed": 0.0386,
                "duels_lost": 2.962,
                "aerial_lost": 1.6774,
                "total_contest": 0.0547,
                "won_contest": 0.0223,
                "ball_recovery": 2.8801,
                "challenges_lost": 0.2154,
                "fouls": 1.0361,
                "fouls_drawn": 0.2624,
                "blocks": 0.511,
                "goal_rate": 0.0072,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0732,
                "expected_assists": 0.039,
                "shots_on_target": 0.1205,
                "big_chances_created": 0.0022,
                "xgot": 0.0232,
                "ball_carries": 10.895,
                "total_progression": 37.9965,
                "progressive_carries": 0.3981,
                "key_pass": 0.0712,
                "shots_off_target": 0.5682,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "opponent_faced": "Yassir Zabiri",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3325,
                "fifa_rank": 1948.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": {
                "interceptions": 1.1838,
                "tackles": 1.1243,
                "tackles_won": 0.6306,
                "clearances": 6.5284,
                "aerial_won": 2.9353,
                "total_shots": 0.6888,
                "rating": 6.8227,
                "minutes": 90.0,
                "total_pass": 47.3884,
                "accurate_pass": 38.6332,
                "duels_won": 3.9873,
                "total_long_balls": 7.0101,
                "accurate_long_balls": 2.924,
                "total_own_half_passes": 28.1638,
                "accurate_own_half_passes": 25.7183,
                "total_opp_half_passes": 19.2245,
                "accurate_opp_half_passes": 12.915,
                "crosses_total": 0.2682,
                "crosses_accurate": 0.0247,
                "touches": 61.1586,
                "possession_lost": 9.5898,
                "dispossessed": 0.0386,
                "duels_lost": 2.962,
                "aerial_lost": 1.6774,
                "total_contest": 0.0547,
                "won_contest": 0.0223,
                "ball_recovery": 2.8801,
                "challenges_lost": 0.2154,
                "fouls": 1.0361,
                "fouls_drawn": 0.2624,
                "blocks": 0.511,
                "goal_rate": 0.0072,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0732,
                "expected_assists": 0.039,
                "shots_on_target": 0.1205,
                "big_chances_created": 0.0022,
                "xgot": 0.0232,
                "ball_carries": 10.895,
                "total_progression": 37.9965,
                "progressive_carries": 0.3981,
                "key_pass": 0.0712,
                "shots_off_target": 0.5682,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "opponent_faced": "Yassir Zabiri",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0706,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0706,
                "goal_rate": 0.0072,
                "scorer_weight": 0.0586,
                "squad_weight_total": 1.4744,
                "weight_share": 0.0397,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.6148,
                    "already": 0,
                    "effective_weight": 0.6148,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.1869
                  }
                ]
              }
            },
            {
              "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.1838,
                "tackles": 1.1243,
                "tackles_won": 0.6306,
                "clearances": 6.5284,
                "aerial_won": 2.9353,
                "total_shots": 0.6888,
                "rating": 6.8227,
                "minutes": 90.0,
                "total_pass": 47.3884,
                "accurate_pass": 38.6332,
                "duels_won": 3.9873,
                "total_long_balls": 7.0101,
                "accurate_long_balls": 2.924,
                "total_own_half_passes": 28.1638,
                "accurate_own_half_passes": 25.7183,
                "total_opp_half_passes": 19.2245,
                "accurate_opp_half_passes": 12.915,
                "crosses_total": 0.2682,
                "crosses_accurate": 0.0247,
                "touches": 61.1586,
                "possession_lost": 9.5898,
                "dispossessed": 0.0386,
                "duels_lost": 2.962,
                "aerial_lost": 1.6774,
                "total_contest": 0.0547,
                "won_contest": 0.0223,
                "ball_recovery": 2.8801,
                "challenges_lost": 0.2154,
                "fouls": 1.0361,
                "fouls_drawn": 0.2624,
                "blocks": 0.511,
                "goal_rate": 0.0072,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0732,
                "expected_assists": 0.039,
                "shots_on_target": 0.1205,
                "big_chances_created": 0.0022,
                "xgot": 0.0232,
                "ball_carries": 10.895,
                "total_progression": 37.9965,
                "progressive_carries": 0.3981,
                "key_pass": 0.0712,
                "shots_off_target": 0.5682,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "opponent_faced": "Yassir Zabiri",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0706,
                "projected_assists": 0,
                "assist_probability": 0.0382,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0382,
                "assist_rate": 0.0,
                "provider_weight": 0.0312,
                "squad_weight_total": 0.8905,
                "weight_share": 0.035,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.2107,
                    "already": 0,
                    "effective_weight": 0.2107,
                    "runner_up": "Edu Expósito",
                    "runner_up_effective_weight": 0.158,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Vanja Drkušić": {
          "player_id": 908617,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 16,
          "height": 186,
          "market_value": 5500000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.6688,
            "minutes": 83,
            "total_pass": 21,
            "accurate_pass": 16,
            "duels_won": 3,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 28,
            "possession_lost": 4.7332,
            "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": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0024,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 6,
            "total_progression": 3,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.74,
            "opponent_faced": "Yassir Zabiri",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0024,
            "finishing_factor": 1.0,
            "creation_factor": 0.9653,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16421071,
              "match_date": "2026-10-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 64,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 15,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 3,
                "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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 45,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 24,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0046,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 7,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 811,
            "combined_rank_score": 532.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 391.0,
            "sofascore_rating": 6.95,
            "sofascore_appearances": 6.0,
            "fifa_rank": 673.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6688,
            "source_file": "data/player_rankings.csv",
            "player_name": "Vanja Drkušić",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Chang-woo Park",
                  "ranking": 806
                },
                {
                  "player_name": "Ronan",
                  "ranking": 807
                },
                {
                  "player_name": "Roy Revivo",
                  "ranking": 808
                },
                {
                  "player_name": "Hugo Magallanes",
                  "ranking": 809
                },
                {
                  "player_name": "Dženis Burnić",
                  "ranking": 810
                }
              ],
              "lower": [
                {
                  "player_name": "Hugo Souza",
                  "ranking": 812
                },
                {
                  "player_name": "Teddy Teuma",
                  "ranking": 813
                },
                {
                  "player_name": "Yoel Bárcenas",
                  "ranking": 814
                },
                {
                  "player_name": "Piero Quispe",
                  "ranking": 815
                },
                {
                  "player_name": "Seung-wan Ryu",
                  "ranking": 816
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.513,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.513,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9939,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "minutes": 115.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "XGBoost regressor (D_service) evaluated 4 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.09, 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.683,
                "tackles": 1.4792,
                "tackles_won": 0.893,
                "clearances": 4.144,
                "aerial_won": 1.4161,
                "total_shots": 0.3675,
                "rating": 6.6688,
                "minutes": 82.97,
                "total_pass": 20.7075,
                "accurate_pass": 16.259,
                "duels_won": 2.7743,
                "total_long_balls": 3.5071,
                "accurate_long_balls": 0.96,
                "total_own_half_passes": 14.9481,
                "accurate_own_half_passes": 12.873,
                "total_opp_half_passes": 5.7594,
                "accurate_opp_half_passes": 3.386,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.9154,
                "possession_lost": 4.7623,
                "dispossessed": 0.0,
                "duels_lost": 1.0996,
                "aerial_lost": 0.4535,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3078,
                "challenges_lost": 0.0,
                "fouls": 0.6462,
                "fouls_drawn": 0.6802,
                "blocks": 0.7673,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0018,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.9825,
                "total_progression": 3.1704,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3675
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:05:47.447103+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 626,
                    "rows": 21426
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.6192,
                  "aerialWon": 0.7673,
                  "totalClearance_p90": 5.1216,
                  "totalTackle": 1.5536,
                  "defensive_actions": 1.5536
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.6829857230186462,
                    "model_output": 0.683,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2909
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0422
                      },
                      {
                        "name": "touches",
                        "importance": 0.0304
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0294
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.8603,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0911
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0754
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.039
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0344
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.03
                        }
                      ],
                      "others": -0.1182,
                      "total": 0.683,
                      "log_link": true,
                      "margin_base": -0.150447,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.111978
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.093471
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.047285
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.04366
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.038126
                        }
                      ],
                      "others_margin": -0.159509
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.4791823625564575,
                    "model_output": 1.4792,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2494
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0709
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0459
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0405
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 1.3831,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1774
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0815
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.076
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0725
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.059
                        }
                      ],
                      "others": -0.0553,
                      "total": 1.4792,
                      "log_link": true,
                      "margin_base": 0.324299,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.120685
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.05367
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.052783
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.050384
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.039189
                        }
                      ],
                      "others_margin": -0.036613
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.893012523651123,
                    "model_output": 0.893,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2138
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0741
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0462
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0368
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0292
                      }
                    ],
                    "decomposition": {
                      "base": 0.845,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1301
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0495
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0484
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0472
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0454
                        }
                      ],
                      "others": -0.0792,
                      "total": 0.893,
                      "log_link": true,
                      "margin_base": -0.168402,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.143203
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.052053
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.050995
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.049687
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.047778
                        }
                      ],
                      "others_margin": -0.084989
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.14398717880249,
                    "model_output": 4.144,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2886
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0929
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0369
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.02
                      }
                    ],
                    "decomposition": {
                      "base": 3.4251,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.499
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.4595
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.4302
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.184
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1923
                        }
                      ],
                      "others": -0.1271,
                      "total": 4.144,
                      "log_link": true,
                      "margin_base": 1.231123,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.136006
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.124553
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.117054
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.046151
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.046064
                        }
                      ],
                      "others_margin": -0.030186
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.4160631895065308,
                    "model_output": 1.4161,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1614
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1578
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0791
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 1.3852,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.3198
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1543
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1274
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.1052
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.1008
                        }
                      ],
                      "others": 0.0646,
                      "total": 1.4161,
                      "log_link": true,
                      "margin_base": 0.325816,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.262473
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.135218
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.099363
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.075169
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.071939
                        }
                      ],
                      "others_margin": 0.046725
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.36745747923851013,
                    "model_output": 0.3675,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0997
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0736
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.034
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0332
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.4749,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0992
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0459
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0214
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0152
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0134
                        }
                      ],
                      "others": -0.0469,
                      "total": 0.3675,
                      "log_link": false,
                      "margin_base": 0.47494,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.099172
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.045884
                        },
                        {
                          "name": "rating",
                          "margin": 0.021442
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.01525
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.013422
                        }
                      ],
                      "others_margin": -0.046964
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.66876745223999,
                    "model_output": 6.6688,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0694
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0576
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.055
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.7904,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.036
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0342
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0171
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0163
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0127
                        }
                      ],
                      "others": -0.0053,
                      "total": 6.6688,
                      "log_link": false,
                      "margin_base": 6.790384,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.035982
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.03421
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.017091
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.016348
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012747
                        }
                      ],
                      "others_margin": -0.005238
                    }
                  }
                ],
                "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 0.9939, quality 0.468)",
              "stats": {
                "interceptions": 0.6788,
                "tackles": 1.4702,
                "tackles_won": 0.8876,
                "clearances": 4.1187,
                "aerial_won": 1.4074,
                "total_shots": 0.3653,
                "rating": 6.6688,
                "minutes": 82.97,
                "total_pass": 20.5812,
                "accurate_pass": 16.1598,
                "duels_won": 2.7574,
                "total_long_balls": 3.4857,
                "accurate_long_balls": 0.9541,
                "total_own_half_passes": 14.8569,
                "accurate_own_half_passes": 12.7945,
                "total_opp_half_passes": 5.7243,
                "accurate_opp_half_passes": 3.3653,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.7451,
                "possession_lost": 4.7332,
                "dispossessed": 0.0,
                "duels_lost": 1.0929,
                "aerial_lost": 0.4507,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2998,
                "challenges_lost": 0.0,
                "fouls": 0.6423,
                "fouls_drawn": 0.6761,
                "blocks": 0.7626,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0018,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.946,
                "total_progression": 3.1511,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3653
              },
              "params": {
                "market_value_eur": 5500000,
                "quality_factor": 0.4683,
                "boost_factor": 0.9939,
                "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.0313)",
              "stats": {
                "interceptions": 0.6575,
                "tackles": 1.4702,
                "tackles_won": 0.9042,
                "clearances": 4.1187,
                "aerial_won": 1.4074,
                "total_shots": 0.3539,
                "rating": 6.6688,
                "minutes": 82.97,
                "total_pass": 20.5812,
                "accurate_pass": 16.1598,
                "duels_won": 2.7574,
                "total_long_balls": 3.4857,
                "accurate_long_balls": 0.9541,
                "total_own_half_passes": 14.8569,
                "accurate_own_half_passes": 12.7945,
                "total_opp_half_passes": 5.7243,
                "accurate_opp_half_passes": 3.3653,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.7451,
                "possession_lost": 4.7332,
                "dispossessed": 0.0,
                "duels_lost": 1.0929,
                "aerial_lost": 0.4507,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2998,
                "challenges_lost": 0.0,
                "fouls": 0.6888,
                "fouls_drawn": 0.7215,
                "blocks": 0.7626,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0018,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.946,
                "total_progression": 3.1511,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3653
              },
              "params": {
                "blend_weight": 0.0313,
                "history_matches": 4,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9219,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.6423,
                  "after": 0.6888
                },
                {
                  "stat": "wasFouled",
                  "before": 0.6761,
                  "after": 0.7215
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.6788,
                  "after": 0.6575
                },
                {
                  "stat": "wonTackle",
                  "before": 0.8876,
                  "after": 0.9042
                },
                {
                  "stat": "totalShots",
                  "before": 0.3653,
                  "after": 0.3539
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.6575,
                "tackles": 1.4702,
                "tackles_won": 0.9042,
                "clearances": 4.1187,
                "aerial_won": 1.4074,
                "total_shots": 0.3653,
                "rating": 6.6688,
                "minutes": 82.97,
                "total_pass": 20.5812,
                "accurate_pass": 16.1598,
                "duels_won": 2.7574,
                "total_long_balls": 3.4857,
                "accurate_long_balls": 0.9541,
                "total_own_half_passes": 14.8569,
                "accurate_own_half_passes": 12.7945,
                "total_opp_half_passes": 5.7243,
                "accurate_opp_half_passes": 3.3653,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.7451,
                "possession_lost": 4.7332,
                "dispossessed": 0.0,
                "duels_lost": 1.0929,
                "aerial_lost": 0.4507,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2998,
                "challenges_lost": 0.0,
                "fouls": 0.6888,
                "fouls_drawn": 0.7215,
                "blocks": 0.7626,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0018,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.946,
                "total_progression": 3.1511,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3653
              },
              "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.6575,
                "tackles": 1.4702,
                "tackles_won": 0.9042,
                "clearances": 4.1187,
                "aerial_won": 1.4074,
                "total_shots": 0.3653,
                "rating": 6.6688,
                "minutes": 82.97,
                "total_pass": 20.5812,
                "accurate_pass": 16.1598,
                "duels_won": 2.7574,
                "total_long_balls": 3.4857,
                "accurate_long_balls": 0.9541,
                "total_own_half_passes": 14.8569,
                "accurate_own_half_passes": 12.7945,
                "total_opp_half_passes": 5.7243,
                "accurate_opp_half_passes": 3.3653,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.7451,
                "possession_lost": 4.7332,
                "dispossessed": 0.0,
                "duels_lost": 1.0929,
                "aerial_lost": 0.4507,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2998,
                "challenges_lost": 0.0,
                "fouls": 0.6888,
                "fouls_drawn": 0.7215,
                "blocks": 0.7626,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0018,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.946,
                "total_progression": 3.1511,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3653,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "opponent_faced": "Yassir Zabiri",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Yassir Zabiri",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.6575,
                "tackles": 1.4702,
                "tackles_won": 0.9042,
                "clearances": 4.1187,
                "aerial_won": 1.4074,
                "total_shots": 0.3653,
                "rating": 6.6688,
                "minutes": 82.97,
                "total_pass": 20.5812,
                "accurate_pass": 16.1598,
                "duels_won": 2.7574,
                "total_long_balls": 3.4857,
                "accurate_long_balls": 0.9541,
                "total_own_half_passes": 14.8569,
                "accurate_own_half_passes": 12.7945,
                "total_opp_half_passes": 5.7243,
                "accurate_opp_half_passes": 3.3653,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.7451,
                "possession_lost": 4.7332,
                "dispossessed": 0.0,
                "duels_lost": 1.0929,
                "aerial_lost": 0.4507,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2998,
                "challenges_lost": 0.0,
                "fouls": 0.6888,
                "fouls_drawn": 0.7215,
                "blocks": 0.7626,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0018,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.946,
                "total_progression": 3.1511,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3653,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "opponent_faced": "Yassir Zabiri",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.46 (squad xG sum 1.1085, xG scale 1.3171, xA scale 1.3171, team xA 0.96 = 0.66 x lambda)",
              "stats": {
                "interceptions": 0.6575,
                "tackles": 1.4702,
                "tackles_won": 0.9042,
                "clearances": 4.1187,
                "aerial_won": 1.4074,
                "total_shots": 0.3653,
                "rating": 6.6688,
                "minutes": 82.97,
                "total_pass": 20.5812,
                "accurate_pass": 16.1598,
                "duels_won": 2.7574,
                "total_long_balls": 3.4857,
                "accurate_long_balls": 0.9541,
                "total_own_half_passes": 14.8569,
                "accurate_own_half_passes": 12.7945,
                "total_opp_half_passes": 5.7243,
                "accurate_opp_half_passes": 3.3653,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.7451,
                "possession_lost": 4.7332,
                "dispossessed": 0.0,
                "duels_lost": 1.0929,
                "aerial_lost": 0.4507,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2998,
                "challenges_lost": 0.0,
                "fouls": 0.6888,
                "fouls_drawn": 0.7215,
                "blocks": 0.7626,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0024,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.946,
                "total_progression": 3.1511,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3653,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "opponent_faced": "Yassir Zabiri",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.9653
              },
              "params": {
                "team_lambda": 1.46,
                "squad_xg_sum": 1.1085,
                "squad_xa_sum": 0.7277,
                "team_expected_assists": 0.9585,
                "team_xa_to_xg_ratio": 0.6565,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3171,
                "xa_scale": 1.3171,
                "opponent_lambda": 1.312,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 15 by projected rating, fifa_overall 80.0)",
              "stats": {
                "interceptions": 0.6575,
                "tackles": 1.4702,
                "tackles_won": 0.9042,
                "clearances": 4.1187,
                "aerial_won": 1.4074,
                "total_shots": 0.3653,
                "rating": 6.6688,
                "minutes": 82.97,
                "total_pass": 20.5812,
                "accurate_pass": 16.1598,
                "duels_won": 2.7574,
                "total_long_balls": 3.4857,
                "accurate_long_balls": 0.9541,
                "total_own_half_passes": 14.8569,
                "accurate_own_half_passes": 12.7945,
                "total_opp_half_passes": 5.7243,
                "accurate_opp_half_passes": 3.3653,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.7451,
                "possession_lost": 4.7332,
                "dispossessed": 0.0,
                "duels_lost": 1.0929,
                "aerial_lost": 0.4507,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2998,
                "challenges_lost": 0.0,
                "fouls": 0.6888,
                "fouls_drawn": 0.7215,
                "blocks": 0.7626,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0024,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.946,
                "total_progression": 3.1511,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3653,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "opponent_faced": "Yassir Zabiri",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.9653,
                "fifa_overall": 80.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": 811,
                "fifa_rank": 673.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.6575,
                "tackles": 1.4702,
                "tackles_won": 0.9042,
                "clearances": 4.1187,
                "aerial_won": 1.4074,
                "total_shots": 0.3653,
                "rating": 6.6688,
                "minutes": 82.97,
                "total_pass": 20.5812,
                "accurate_pass": 16.1598,
                "duels_won": 2.7574,
                "total_long_balls": 3.4857,
                "accurate_long_balls": 0.9541,
                "total_own_half_passes": 14.8569,
                "accurate_own_half_passes": 12.7945,
                "total_opp_half_passes": 5.7243,
                "accurate_opp_half_passes": 3.3653,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.7451,
                "possession_lost": 4.7332,
                "dispossessed": 0.0,
                "duels_lost": 1.0929,
                "aerial_lost": 0.4507,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2998,
                "challenges_lost": 0.0,
                "fouls": 0.6888,
                "fouls_drawn": 0.7215,
                "blocks": 0.7626,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0024,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.946,
                "total_progression": 3.1511,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3653,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "opponent_faced": "Yassir Zabiri",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.9653,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "goal_rate": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.4744,
                "weight_share": 0.0007,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.6148,
                    "already": 0,
                    "effective_weight": 0.6148,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.1869
                  }
                ]
              }
            },
            {
              "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.6575,
                "tackles": 1.4702,
                "tackles_won": 0.9042,
                "clearances": 4.1187,
                "aerial_won": 1.4074,
                "total_shots": 0.3653,
                "rating": 6.6688,
                "minutes": 82.97,
                "total_pass": 20.5812,
                "accurate_pass": 16.1598,
                "duels_won": 2.7574,
                "total_long_balls": 3.4857,
                "accurate_long_balls": 0.9541,
                "total_own_half_passes": 14.8569,
                "accurate_own_half_passes": 12.7945,
                "total_opp_half_passes": 5.7243,
                "accurate_opp_half_passes": 3.3653,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.7451,
                "possession_lost": 4.7332,
                "dispossessed": 0.0,
                "duels_lost": 1.0929,
                "aerial_lost": 0.4507,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2998,
                "challenges_lost": 0.0,
                "fouls": 0.6888,
                "fouls_drawn": 0.7215,
                "blocks": 0.7626,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0024,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.946,
                "total_progression": 3.1511,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3653,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "opponent_faced": "Yassir Zabiri",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0024,
                "finishing_factor": 1.0,
                "creation_factor": 0.9653,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0024,
                "assist_rate": 0.0,
                "provider_weight": 0.0023,
                "squad_weight_total": 0.8905,
                "weight_share": 0.0026,
                "creation_factor": 0.9653,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.2107,
                    "already": 0,
                    "effective_weight": 0.2107,
                    "runner_up": "Edu Expósito",
                    "runner_up_effective_weight": 0.158,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Clemens Riedel": {
          "player_id": 1129360,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 5,
          "height": 186,
          "market_value": 3900000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.7482,
            "minutes": 86,
            "total_pass": 45,
            "accurate_pass": 39,
            "duels_won": 3,
            "total_long_balls": 6,
            "accurate_long_balls": 2,
            "total_own_half_passes": 33,
            "accurate_own_half_passes": 31,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 8,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 57,
            "possession_lost": 6.9985,
            "dispossessed": 0.0934,
            "duels_lost": 3,
            "aerial_lost": 2,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0069,
            "assists": 0,
            "expected_goals": 0.0059,
            "expected_assists": 0.0112,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0134,
            "ball_carries": 14,
            "total_progression": 50,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "opponent_faced": "Iñigo Vicente",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0059,
            "projected_assists": 0,
            "assist_probability": 0.0111,
            "finishing_factor": 0.9174,
            "creation_factor": 0.9726,
            "fifa_overall": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16421071,
              "match_date": "2026-10-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 30,
                "interceptions": 1,
                "clearances": 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": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0057,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 37,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 6,
                "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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 23,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0205,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 30,
                "interceptions": 1,
                "clearances": 1,
                "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": "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": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0172,
                "expected_assists": 0.0199,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 45,
                "accurate_pass": 39,
                "clearances": 5,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0024,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 35,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 9,
                "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": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 16,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0033,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 66,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0197,
                "expected_assists": 0.0031,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 26,
                "accurate_pass": 22,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0127,
                "total_shots": 0,
                "total_pass": 74,
                "accurate_pass": 60,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 3,
                "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": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0049,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 30,
                "tackles": 1,
                "clearances": 11,
                "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": "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": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0063,
                "total_shots": 0,
                "total_pass": 100,
                "accurate_pass": 91,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 9,
                "aerial_won": 3,
                "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": 5074,
            "combined_rank_score": 3259.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 591.0,
            "sofascore_rating": 6.79,
            "sofascore_appearances": 20.0,
            "fifa_rank": 5928.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7482,
            "source_file": "data/player_rankings.csv",
            "player_name": "Clemens Riedel",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Luis Sandoval",
                  "ranking": 5069
                },
                {
                  "player_name": "Guido Mainero",
                  "ranking": 5070
                },
                {
                  "player_name": "Montrell Culbreath",
                  "ranking": 5071
                },
                {
                  "player_name": "Juma Bah",
                  "ranking": 5072
                },
                {
                  "player_name": "Hiroki Sakai",
                  "ranking": 5073
                }
              ],
              "lower": [
                {
                  "player_name": "Martín Sarrafiore",
                  "ranking": 5075
                },
                {
                  "player_name": "Juan Manuel Cuesta",
                  "ranking": 5076
                },
                {
                  "player_name": "Sebastián Guzmán",
                  "ranking": 5077
                },
                {
                  "player_name": "Anthony Patterson",
                  "ranking": 5078
                },
                {
                  "player_name": "Miguel Rubio",
                  "ranking": 5079
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.767,
          "history_matches": 28,
          "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": 28,
            "data_confidence": 0.767,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9974,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 155.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.58,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.1133
            },
            "rationale": "XGBoost regressor (D_service) evaluated 28 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, 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": 0.9104,
                "tackles": 1.066,
                "tackles_won": 0.6254,
                "clearances": 5.0534,
                "aerial_won": 1.7899,
                "total_shots": 0.3593,
                "rating": 6.7482,
                "minutes": 86.19,
                "total_pass": 45.2117,
                "accurate_pass": 38.9422,
                "duels_won": 3.4529,
                "total_long_balls": 5.9449,
                "accurate_long_balls": 2.0515,
                "total_own_half_passes": 33.0334,
                "accurate_own_half_passes": 30.9106,
                "total_opp_half_passes": 12.1783,
                "accurate_opp_half_passes": 8.0316,
                "crosses_total": 0.0241,
                "crosses_accurate": 0.0083,
                "touches": 56.6915,
                "possession_lost": 7.0167,
                "dispossessed": 0.0936,
                "duels_lost": 3.4688,
                "aerial_lost": 1.5911,
                "total_contest": 0.407,
                "won_contest": 0.407,
                "ball_recovery": 2.748,
                "challenges_lost": 0.4398,
                "fouls": 1.4886,
                "fouls_drawn": 0.3103,
                "blocks": 0.4874,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.007,
                "assist_rate": 0.007,
                "expected_goals": 0.0045,
                "expected_assists": 0.0085,
                "shots_on_target": 0.198,
                "big_chances_created": 0.0,
                "xgot": 0.0102,
                "ball_carries": 13.682,
                "total_progression": 49.9048,
                "progressive_carries": 0.4692,
                "key_pass": 0.0487,
                "shots_off_target": 0.1613
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:05:47.447103+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 626,
                    "rows": 21426
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1516,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1289,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1095,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0931,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0791,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0673,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0572,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0486,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0413,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0351,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 4.7371,
                  "aerialWon": 1.5373,
                  "totalClearance_p90": 5.4658,
                  "totalTackle": 0.7067,
                  "defensive_actions": 1.3706
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9103547930717468,
                    "model_output": 0.9104,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2909
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0422
                      },
                      {
                        "name": "touches",
                        "importance": 0.0304
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0294
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.8603,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1164
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0642
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0288
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0189
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0155
                        }
                      ],
                      "others": -0.0077,
                      "total": 0.9104,
                      "log_link": true,
                      "margin_base": -0.150447,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.12689
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.067988
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.032087
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.021111
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.017011
                        }
                      ],
                      "others_margin": -0.008411
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.066022276878357,
                    "model_output": 1.066,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2494
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0709
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0459
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0405
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 1.3831,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1692
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1404
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.1119
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0623
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0471
                        }
                      ],
                      "others": -0.1246,
                      "total": 1.066,
                      "log_link": true,
                      "margin_base": 0.324299,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.11544
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.094832
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.082595
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.049124
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.038778
                        }
                      ],
                      "others_margin": -0.110476
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6253823637962341,
                    "model_output": 0.6254,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2138
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0741
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0462
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0368
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0292
                      }
                    ],
                    "decomposition": {
                      "base": 0.845,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0902
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0858
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0826
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0323
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.025
                        }
                      ],
                      "others": -0.0753,
                      "total": 0.6254,
                      "log_link": true,
                      "margin_base": -0.168402,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.11289
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.107699
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.103382
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.043512
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.035035
                        }
                      ],
                      "others_margin": -0.113872
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.053447723388672,
                    "model_output": 5.0534,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2886
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0929
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0369
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.02
                      }
                    ],
                    "decomposition": {
                      "base": 3.4251,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.476
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5009
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3503
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2786
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.1541
                        }
                      ],
                      "others": 0.1766,
                      "total": 5.0534,
                      "log_link": true,
                      "margin_base": 1.231123,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.130133
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120808
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.076571
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.05697
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.031109
                        }
                      ],
                      "others_margin": 0.035574
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.7898906469345093,
                    "model_output": 1.7899,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1614
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1578
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0791
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 1.3852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1635
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0918
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0773
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0654
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0459
                        }
                      ],
                      "others": 0.0526,
                      "total": 1.7899,
                      "log_link": true,
                      "margin_base": 0.325816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.111597
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.057593
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.046056
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.037362
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.026054
                        }
                      ],
                      "others_margin": 0.029785
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.35929128527641296,
                    "model_output": 0.3593,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0997
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0736
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.034
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0332
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.4749,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1158
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0497
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0206
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0151
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0081
                        }
                      ],
                      "others": -0.0057,
                      "total": 0.3593,
                      "log_link": false,
                      "margin_base": 0.47494,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.11578
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.049674
                        },
                        {
                          "name": "rating",
                          "margin": -0.020615
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.015101
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.008128
                        }
                      ],
                      "others_margin": -0.005699
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.748248100280762,
                    "model_output": 6.7482,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0694
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0576
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.055
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.7904,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0178
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0157
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0138
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0097
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0087
                        }
                      ],
                      "others": 0.0235,
                      "total": 6.7482,
                      "log_link": false,
                      "margin_base": 6.790384,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.017839
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.015688
                        },
                        {
                          "name": "rating",
                          "margin": -0.01379
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.009684
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.008725
                        }
                      ],
                      "others_margin": 0.023589
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 28,
                  "role_matches": 22,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9974, quality 0.449)",
              "stats": {
                "interceptions": 0.908,
                "tackles": 1.0633,
                "tackles_won": 0.6238,
                "clearances": 5.0403,
                "aerial_won": 1.7852,
                "total_shots": 0.3584,
                "rating": 6.7482,
                "minutes": 86.19,
                "total_pass": 45.0941,
                "accurate_pass": 38.841,
                "duels_won": 3.4439,
                "total_long_balls": 5.9294,
                "accurate_long_balls": 2.0462,
                "total_own_half_passes": 32.9475,
                "accurate_own_half_passes": 30.8302,
                "total_opp_half_passes": 12.1466,
                "accurate_opp_half_passes": 8.0107,
                "crosses_total": 0.024,
                "crosses_accurate": 0.0083,
                "touches": 56.5441,
                "possession_lost": 6.9985,
                "dispossessed": 0.0934,
                "duels_lost": 3.4598,
                "aerial_lost": 1.587,
                "total_contest": 0.4059,
                "won_contest": 0.4059,
                "ball_recovery": 2.7409,
                "challenges_lost": 0.4387,
                "fouls": 1.4847,
                "fouls_drawn": 0.3095,
                "blocks": 0.4861,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.007,
                "assist_rate": 0.007,
                "expected_goals": 0.0045,
                "expected_assists": 0.0085,
                "shots_on_target": 0.1975,
                "big_chances_created": 0.0,
                "xgot": 0.0102,
                "ball_carries": 13.6464,
                "total_progression": 49.775,
                "progressive_carries": 0.468,
                "key_pass": 0.0486,
                "shots_off_target": 0.1609
              },
              "params": {
                "market_value_eur": 3900000,
                "quality_factor": 0.4486,
                "boost_factor": 0.9974,
                "reference_quality": 0.505,
                "history_matches": 28,
                "history_shrink": 0.1515,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0112)",
              "stats": {
                "interceptions": 0.8979,
                "tackles": 1.0633,
                "tackles_won": 0.6294,
                "clearances": 5.0403,
                "aerial_won": 1.7852,
                "total_shots": 0.3606,
                "rating": 6.7482,
                "minutes": 86.19,
                "total_pass": 45.0941,
                "accurate_pass": 38.841,
                "duels_won": 3.4439,
                "total_long_balls": 5.9294,
                "accurate_long_balls": 2.0462,
                "total_own_half_passes": 32.9475,
                "accurate_own_half_passes": 30.8302,
                "total_opp_half_passes": 12.1466,
                "accurate_opp_half_passes": 8.0107,
                "crosses_total": 0.0237,
                "crosses_accurate": 0.0083,
                "touches": 56.5441,
                "possession_lost": 6.9985,
                "dispossessed": 0.0934,
                "duels_lost": 3.4598,
                "aerial_lost": 1.587,
                "total_contest": 0.4059,
                "won_contest": 0.4059,
                "ball_recovery": 2.7409,
                "challenges_lost": 0.4387,
                "fouls": 1.5058,
                "fouls_drawn": 0.306,
                "blocks": 0.4861,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0069,
                "assist_rate": 0.0069,
                "expected_goals": 0.0045,
                "expected_assists": 0.0085,
                "shots_on_target": 0.2015,
                "big_chances_created": 0.0,
                "xgot": 0.0102,
                "ball_carries": 13.6464,
                "total_progression": 49.775,
                "progressive_carries": 0.468,
                "key_pass": 0.0486,
                "shots_off_target": 0.1609
              },
              "params": {
                "blend_weight": 0.0112,
                "history_matches": 28,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9577,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 1.4847,
                  "after": 1.5058
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.908,
                  "after": 0.8979
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6238,
                  "after": 0.6294
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.8979,
                "tackles": 1.0633,
                "tackles_won": 0.6294,
                "clearances": 5.0403,
                "aerial_won": 1.7852,
                "total_shots": 0.3624,
                "rating": 6.7482,
                "minutes": 86.19,
                "total_pass": 45.0941,
                "accurate_pass": 38.841,
                "duels_won": 3.4439,
                "total_long_balls": 5.9294,
                "accurate_long_balls": 2.0462,
                "total_own_half_passes": 32.9475,
                "accurate_own_half_passes": 30.8302,
                "total_opp_half_passes": 12.1466,
                "accurate_opp_half_passes": 8.0107,
                "crosses_total": 0.0237,
                "crosses_accurate": 0.0083,
                "touches": 56.5441,
                "possession_lost": 6.9985,
                "dispossessed": 0.0934,
                "duels_lost": 3.4598,
                "aerial_lost": 1.587,
                "total_contest": 0.4059,
                "won_contest": 0.4059,
                "ball_recovery": 2.7409,
                "challenges_lost": 0.4387,
                "fouls": 1.5058,
                "fouls_drawn": 0.306,
                "blocks": 0.4861,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0069,
                "assist_rate": 0.0069,
                "expected_goals": 0.0045,
                "expected_assists": 0.0085,
                "shots_on_target": 0.2015,
                "big_chances_created": 0.0,
                "xgot": 0.0102,
                "ball_carries": 13.6464,
                "total_progression": 49.775,
                "progressive_carries": 0.468,
                "key_pass": 0.0486,
                "shots_off_target": 0.1609
              },
              "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.8979,
                "tackles": 1.0633,
                "tackles_won": 0.6294,
                "clearances": 5.0403,
                "aerial_won": 1.7852,
                "total_shots": 0.3624,
                "rating": 6.7482,
                "minutes": 86.19,
                "total_pass": 45.0941,
                "accurate_pass": 38.841,
                "duels_won": 3.4439,
                "total_long_balls": 5.9294,
                "accurate_long_balls": 2.0462,
                "total_own_half_passes": 32.9475,
                "accurate_own_half_passes": 30.8302,
                "total_opp_half_passes": 12.1466,
                "accurate_opp_half_passes": 8.0107,
                "crosses_total": 0.0237,
                "crosses_accurate": 0.0083,
                "touches": 56.5441,
                "possession_lost": 6.9985,
                "dispossessed": 0.0934,
                "duels_lost": 3.4598,
                "aerial_lost": 1.587,
                "total_contest": 0.4059,
                "won_contest": 0.4059,
                "ball_recovery": 2.7409,
                "challenges_lost": 0.4387,
                "fouls": 1.5058,
                "fouls_drawn": 0.306,
                "blocks": 0.4861,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0069,
                "assist_rate": 0.0069,
                "expected_goals": 0.0045,
                "expected_assists": 0.0085,
                "shots_on_target": 0.2015,
                "big_chances_created": 0.0,
                "xgot": 0.0102,
                "ball_carries": 13.6464,
                "total_progression": 49.775,
                "progressive_carries": 0.468,
                "key_pass": 0.0486,
                "shots_off_target": 0.1609,
                "opponent_faced": "Iñigo Vicente",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iñigo Vicente",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.8979,
                "tackles": 1.0633,
                "tackles_won": 0.6294,
                "clearances": 5.0403,
                "aerial_won": 1.7852,
                "total_shots": 0.3624,
                "rating": 6.7482,
                "minutes": 86.19,
                "total_pass": 45.0941,
                "accurate_pass": 38.841,
                "duels_won": 3.4439,
                "total_long_balls": 5.9294,
                "accurate_long_balls": 2.0462,
                "total_own_half_passes": 32.9475,
                "accurate_own_half_passes": 30.8302,
                "total_opp_half_passes": 12.1466,
                "accurate_opp_half_passes": 8.0107,
                "crosses_total": 0.0237,
                "crosses_accurate": 0.0083,
                "touches": 56.5441,
                "possession_lost": 6.9985,
                "dispossessed": 0.0934,
                "duels_lost": 3.4598,
                "aerial_lost": 1.587,
                "total_contest": 0.4059,
                "won_contest": 0.4059,
                "ball_recovery": 2.7409,
                "challenges_lost": 0.4387,
                "fouls": 1.5058,
                "fouls_drawn": 0.306,
                "blocks": 0.4861,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0069,
                "assists": 0,
                "expected_goals": 0.0045,
                "expected_assists": 0.0085,
                "shots_on_target": 0.2015,
                "big_chances_created": 0.0,
                "xgot": 0.0102,
                "ball_carries": 13.6464,
                "total_progression": 49.775,
                "progressive_carries": 0.468,
                "key_pass": 0.0486,
                "shots_off_target": 0.1609,
                "opponent_faced": "Iñigo Vicente",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.46 (squad xG sum 1.1085, xG scale 1.3171, xA scale 1.3171, team xA 0.96 = 0.66 x lambda)",
              "stats": {
                "interceptions": 0.8979,
                "tackles": 1.0633,
                "tackles_won": 0.6294,
                "clearances": 5.0403,
                "aerial_won": 1.7852,
                "total_shots": 0.3624,
                "rating": 6.7482,
                "minutes": 86.19,
                "total_pass": 45.0941,
                "accurate_pass": 38.841,
                "duels_won": 3.4439,
                "total_long_balls": 5.9294,
                "accurate_long_balls": 2.0462,
                "total_own_half_passes": 32.9475,
                "accurate_own_half_passes": 30.8302,
                "total_opp_half_passes": 12.1466,
                "accurate_opp_half_passes": 8.0107,
                "crosses_total": 0.0237,
                "crosses_accurate": 0.0083,
                "touches": 56.5441,
                "possession_lost": 6.9985,
                "dispossessed": 0.0934,
                "duels_lost": 3.4598,
                "aerial_lost": 1.587,
                "total_contest": 0.4059,
                "won_contest": 0.4059,
                "ball_recovery": 2.7409,
                "challenges_lost": 0.4387,
                "fouls": 1.5058,
                "fouls_drawn": 0.306,
                "blocks": 0.4861,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0069,
                "assists": 0,
                "expected_goals": 0.0059,
                "expected_assists": 0.0112,
                "shots_on_target": 0.2015,
                "big_chances_created": 0.0,
                "xgot": 0.0134,
                "ball_carries": 13.6464,
                "total_progression": 49.775,
                "progressive_carries": 0.468,
                "key_pass": 0.0486,
                "shots_off_target": 0.1609,
                "opponent_faced": "Iñigo Vicente",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9174,
                "creation_factor": 0.9726
              },
              "params": {
                "team_lambda": 1.46,
                "squad_xg_sum": 1.1085,
                "squad_xa_sum": 0.7277,
                "team_expected_assists": 0.9585,
                "team_xa_to_xg_ratio": 0.6565,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3171,
                "xa_scale": 1.3171,
                "opponent_lambda": 1.312,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 11 by projected rating, fifa_overall 70.0)",
              "stats": {
                "interceptions": 0.8979,
                "tackles": 1.0633,
                "tackles_won": 0.6294,
                "clearances": 5.0403,
                "aerial_won": 1.7852,
                "total_shots": 0.3624,
                "rating": 6.7482,
                "minutes": 86.19,
                "total_pass": 45.0941,
                "accurate_pass": 38.841,
                "duels_won": 3.4439,
                "total_long_balls": 5.9294,
                "accurate_long_balls": 2.0462,
                "total_own_half_passes": 32.9475,
                "accurate_own_half_passes": 30.8302,
                "total_opp_half_passes": 12.1466,
                "accurate_opp_half_passes": 8.0107,
                "crosses_total": 0.0237,
                "crosses_accurate": 0.0083,
                "touches": 56.5441,
                "possession_lost": 6.9985,
                "dispossessed": 0.0934,
                "duels_lost": 3.4598,
                "aerial_lost": 1.587,
                "total_contest": 0.4059,
                "won_contest": 0.4059,
                "ball_recovery": 2.7409,
                "challenges_lost": 0.4387,
                "fouls": 1.5058,
                "fouls_drawn": 0.306,
                "blocks": 0.4861,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0069,
                "assists": 0,
                "expected_goals": 0.0059,
                "expected_assists": 0.0112,
                "shots_on_target": 0.2015,
                "big_chances_created": 0.0,
                "xgot": 0.0134,
                "ball_carries": 13.6464,
                "total_progression": 49.775,
                "progressive_carries": 0.468,
                "key_pass": 0.0486,
                "shots_off_target": 0.1609,
                "opponent_faced": "Iñigo Vicente",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9174,
                "creation_factor": 0.9726,
                "fifa_overall": 70.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5074,
                "fifa_rank": 5928.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 70.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.8979,
                "tackles": 1.0633,
                "tackles_won": 0.6294,
                "clearances": 5.0403,
                "aerial_won": 1.7852,
                "total_shots": 0.3624,
                "rating": 6.7482,
                "minutes": 86.19,
                "total_pass": 45.0941,
                "accurate_pass": 38.841,
                "duels_won": 3.4439,
                "total_long_balls": 5.9294,
                "accurate_long_balls": 2.0462,
                "total_own_half_passes": 32.9475,
                "accurate_own_half_passes": 30.8302,
                "total_opp_half_passes": 12.1466,
                "accurate_opp_half_passes": 8.0107,
                "crosses_total": 0.0237,
                "crosses_accurate": 0.0083,
                "touches": 56.5441,
                "possession_lost": 6.9985,
                "dispossessed": 0.0934,
                "duels_lost": 3.4598,
                "aerial_lost": 1.587,
                "total_contest": 0.4059,
                "won_contest": 0.4059,
                "ball_recovery": 2.7409,
                "challenges_lost": 0.4387,
                "fouls": 1.5058,
                "fouls_drawn": 0.306,
                "blocks": 0.4861,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0069,
                "assists": 0,
                "expected_goals": 0.0059,
                "expected_assists": 0.0112,
                "shots_on_target": 0.2015,
                "big_chances_created": 0.0,
                "xgot": 0.0134,
                "ball_carries": 13.6464,
                "total_progression": 49.775,
                "progressive_carries": 0.468,
                "key_pass": 0.0486,
                "shots_off_target": 0.1609,
                "opponent_faced": "Iñigo Vicente",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0059,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9174,
                "creation_factor": 0.9726,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0059,
                "goal_rate": 0.0,
                "scorer_weight": 0.0054,
                "squad_weight_total": 1.4744,
                "weight_share": 0.0037,
                "finishing_factor": 0.9174,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.6148,
                    "already": 0,
                    "effective_weight": 0.6148,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.1869
                  }
                ]
              }
            },
            {
              "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.8979,
                "tackles": 1.0633,
                "tackles_won": 0.6294,
                "clearances": 5.0403,
                "aerial_won": 1.7852,
                "total_shots": 0.3624,
                "rating": 6.7482,
                "minutes": 86.19,
                "total_pass": 45.0941,
                "accurate_pass": 38.841,
                "duels_won": 3.4439,
                "total_long_balls": 5.9294,
                "accurate_long_balls": 2.0462,
                "total_own_half_passes": 32.9475,
                "accurate_own_half_passes": 30.8302,
                "total_opp_half_passes": 12.1466,
                "accurate_opp_half_passes": 8.0107,
                "crosses_total": 0.0237,
                "crosses_accurate": 0.0083,
                "touches": 56.5441,
                "possession_lost": 6.9985,
                "dispossessed": 0.0934,
                "duels_lost": 3.4598,
                "aerial_lost": 1.587,
                "total_contest": 0.4059,
                "won_contest": 0.4059,
                "ball_recovery": 2.7409,
                "challenges_lost": 0.4387,
                "fouls": 1.5058,
                "fouls_drawn": 0.306,
                "blocks": 0.4861,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0069,
                "assists": 0,
                "expected_goals": 0.0059,
                "expected_assists": 0.0112,
                "shots_on_target": 0.2015,
                "big_chances_created": 0.0,
                "xgot": 0.0134,
                "ball_carries": 13.6464,
                "total_progression": 49.775,
                "progressive_carries": 0.468,
                "key_pass": 0.0486,
                "shots_off_target": 0.1609,
                "opponent_faced": "Iñigo Vicente",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0059,
                "projected_assists": 0,
                "assist_probability": 0.0111,
                "finishing_factor": 0.9174,
                "creation_factor": 0.9726,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0111,
                "assist_rate": 0.0069,
                "provider_weight": 0.0109,
                "squad_weight_total": 0.8905,
                "weight_share": 0.0122,
                "creation_factor": 0.9726,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.2107,
                    "already": 0,
                    "effective_weight": 0.2107,
                    "runner_up": "Edu Expósito",
                    "runner_up_effective_weight": 0.158,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Omar El Hilali": {
          "player_id": 1064026,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 23,
          "height": 183,
          "market_value": 15900000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7611,
            "minutes": 88,
            "total_pass": 27,
            "accurate_pass": 21,
            "duels_won": 5,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 12,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 9,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 50,
            "possession_lost": 10.7124,
            "dispossessed": 0.3158,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0915,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.1254,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 10,
            "total_progression": 33,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "opponent_faced": "Jorge Salinas, Julen Agirrezabala",
            "matchup_zone": "RWB vs LW + LB",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.1179,
            "finishing_factor": 1.0,
            "creation_factor": 0.9745,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16421071,
              "match_date": "2026-10-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 12,
                "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": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.011,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 20,
                "tackles": 4,
                "tackles_won": 3,
                "clearances": 1,
                "aerial_won": 2,
                "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": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0217,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 16,
                "key_pass": 1,
                "clearances": 3,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.7313,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 30,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 10,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 75,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0835,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 5,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0954,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 33,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0098,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 17,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 5,
                "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": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0066,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 26,
                "tackles": 1,
                "tackles_won": 1,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 11,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0021,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "tackles": 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": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 9,
                "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": 3547,
            "combined_rank_score": 1516.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 622.0,
            "sofascore_rating": 6.7667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2410.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7611,
            "source_file": "data/player_rankings.csv",
            "player_name": "Omar El Hilali",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Sergio Camello",
                  "ranking": 3542
                },
                {
                  "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
                }
              ],
              "lower": [
                {
                  "player_name": "Matt Turner",
                  "ranking": 3548
                },
                {
                  "player_name": "Jack Rudoni",
                  "ranking": 3549
                },
                {
                  "player_name": "Nemanja Matić",
                  "ranking": 3550
                },
                {
                  "player_name": "Reiss Nelson",
                  "ranking": 3551
                },
                {
                  "player_name": "Tolu Arokodare",
                  "ranking": 3552
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 44,
          "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": 44,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0026,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 44 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, 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.0138,
                "tackles": 1.7747,
                "tackles_won": 1.1852,
                "clearances": 3.3337,
                "aerial_won": 1.2609,
                "total_shots": 0.3589,
                "rating": 6.7611,
                "minutes": 88.47,
                "total_pass": 26.5792,
                "accurate_pass": 20.9225,
                "duels_won": 4.7127,
                "total_long_balls": 3.4851,
                "accurate_long_balls": 1.5603,
                "total_own_half_passes": 14.4792,
                "accurate_own_half_passes": 12.4103,
                "total_opp_half_passes": 12.1,
                "accurate_opp_half_passes": 8.5122,
                "crosses_total": 2.5674,
                "crosses_accurate": 0.6218,
                "touches": 49.4994,
                "possession_lost": 10.6846,
                "dispossessed": 0.315,
                "duels_lost": 3.6943,
                "aerial_lost": 1.0975,
                "total_contest": 0.4645,
                "won_contest": 0.2758,
                "ball_recovery": 2.3138,
                "challenges_lost": 0.4211,
                "fouls": 2.057,
                "fouls_drawn": 0.8385,
                "blocks": 0.4603,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0925,
                "assist_rate": 0.0925,
                "expected_goals": 0.0,
                "expected_assists": 0.095,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1036,
                "xgot": 0.0,
                "ball_carries": 9.8098,
                "total_progression": 32.8577,
                "progressive_carries": 0.9481,
                "key_pass": 0.4094,
                "shots_off_target": 0.3589
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:05:47.447103+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 626,
                    "rows": 21426
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.5259,
                  "aerialWon": 1.4965,
                  "totalClearance_p90": 4.1763,
                  "totalTackle": 2.003,
                  "defensive_actions": 2.861
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0138136148452759,
                    "model_output": 1.0138,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2909
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0422
                      },
                      {
                        "name": "touches",
                        "importance": 0.0304
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0294
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.8603,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1169
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0515
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0344
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.016
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0144
                        }
                      ],
                      "others": 0.0211,
                      "total": 1.0138,
                      "log_link": true,
                      "margin_base": -0.150447,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.1274
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.051403
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.034029
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.016263
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.014583
                        }
                      ],
                      "others_margin": 0.021073
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.7746609449386597,
                    "model_output": 1.7747,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2494
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0709
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0459
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0405
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 1.3831,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2037
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0981
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.072
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0558
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.055
                        }
                      ],
                      "others": 0.051,
                      "total": 1.7747,
                      "log_link": true,
                      "margin_base": 0.324299,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.137419
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.060014
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.043679
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.034025
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.032405
                        }
                      ],
                      "others_margin": 0.029126
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.1851861476898193,
                    "model_output": 1.1852,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2138
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0741
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0462
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0368
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0292
                      }
                    ],
                    "decomposition": {
                      "base": 0.845,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1332
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0766
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.059
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0471
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0431
                        }
                      ],
                      "others": 0.0992,
                      "total": 1.1852,
                      "log_link": true,
                      "margin_base": -0.168402,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.146416
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.075417
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.057593
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.046247
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.040538
                        }
                      ],
                      "others_margin": 0.087276
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.3336806297302246,
                    "model_output": 3.3337,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2886
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0929
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0369
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.02
                      }
                    ],
                    "decomposition": {
                      "base": 3.4251,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.47
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.136
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0949
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0883
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0838
                        }
                      ],
                      "others": -0.1584,
                      "total": 3.3337,
                      "log_link": true,
                      "margin_base": 1.231123,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.128596
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.035528
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.025565
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.024381
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.023704
                        }
                      ],
                      "others_margin": -0.046463
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.2608680725097656,
                    "model_output": 1.2609,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1614
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1578
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0791
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 1.3852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1524
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0541
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0421
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0324
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0323
                        }
                      ],
                      "others": -0.1804,
                      "total": 1.2609,
                      "log_link": true,
                      "margin_base": 0.325816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.104364
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.035851
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.028775
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.022741
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.022676
                        }
                      ],
                      "others_margin": -0.133688
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3589133322238922,
                    "model_output": 0.3589,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0997
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0736
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.034
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0332
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.4749,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.127
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.049
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0224
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0127
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.011
                        }
                      ],
                      "others": -0.0367,
                      "total": 0.3589,
                      "log_link": false,
                      "margin_base": 0.47494,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.126988
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.048978
                        },
                        {
                          "name": "rating",
                          "margin": 0.022445
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.012745
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.011041
                        }
                      ],
                      "others_margin": -0.036677
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.761118412017822,
                    "model_output": 6.7611,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0694
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0576
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.055
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.7904,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0177
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0175
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0141
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0133
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0118
                        }
                      ],
                      "others": -0.0165,
                      "total": 6.7611,
                      "log_link": false,
                      "margin_base": 6.790384,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.01765
                        },
                        {
                          "name": "rating",
                          "margin": 0.01751
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.01414
                        },
                        {
                          "name": "touches",
                          "margin": 0.013324
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.01185
                        }
                      ],
                      "others_margin": -0.016459
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 44,
                  "role_matches": 40,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0026, quality 0.589)",
              "stats": {
                "interceptions": 1.0164,
                "tackles": 1.7793,
                "tackles_won": 1.1883,
                "clearances": 3.3423,
                "aerial_won": 1.2641,
                "total_shots": 0.3598,
                "rating": 6.7611,
                "minutes": 88.47,
                "total_pass": 26.6483,
                "accurate_pass": 20.9769,
                "duels_won": 4.725,
                "total_long_balls": 3.4942,
                "accurate_long_balls": 1.5644,
                "total_own_half_passes": 14.5168,
                "accurate_own_half_passes": 12.4426,
                "total_opp_half_passes": 12.1315,
                "accurate_opp_half_passes": 8.5343,
                "crosses_total": 2.5741,
                "crosses_accurate": 0.6234,
                "touches": 49.6281,
                "possession_lost": 10.7124,
                "dispossessed": 0.3158,
                "duels_lost": 3.7039,
                "aerial_lost": 1.1004,
                "total_contest": 0.4657,
                "won_contest": 0.2765,
                "ball_recovery": 2.3198,
                "challenges_lost": 0.4222,
                "fouls": 2.0623,
                "fouls_drawn": 0.8407,
                "blocks": 0.4615,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0927,
                "assist_rate": 0.0927,
                "expected_goals": 0.0,
                "expected_assists": 0.0952,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1039,
                "xgot": 0.0,
                "ball_carries": 9.8353,
                "total_progression": 32.9431,
                "progressive_carries": 0.9506,
                "key_pass": 0.4105,
                "shots_off_target": 0.3598
              },
              "params": {
                "market_value_eur": 15900000,
                "quality_factor": 0.5889,
                "boost_factor": 1.0026,
                "reference_quality": 0.505,
                "history_matches": 44,
                "history_shrink": 0.102,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0133)",
              "stats": {
                "interceptions": 1.0203,
                "tackles": 1.7793,
                "tackles_won": 1.1812,
                "clearances": 3.3423,
                "aerial_won": 1.2641,
                "total_shots": 0.355,
                "rating": 6.7611,
                "minutes": 88.47,
                "total_pass": 26.6483,
                "accurate_pass": 20.9769,
                "duels_won": 4.725,
                "total_long_balls": 3.4942,
                "accurate_long_balls": 1.5644,
                "total_own_half_passes": 14.5168,
                "accurate_own_half_passes": 12.4426,
                "total_opp_half_passes": 12.1315,
                "accurate_opp_half_passes": 8.5343,
                "crosses_total": 2.5878,
                "crosses_accurate": 0.6234,
                "touches": 49.6281,
                "possession_lost": 10.7124,
                "dispossessed": 0.3158,
                "duels_lost": 3.7039,
                "aerial_lost": 1.1004,
                "total_contest": 0.4657,
                "won_contest": 0.2765,
                "ball_recovery": 2.3198,
                "challenges_lost": 0.4222,
                "fouls": 2.0654,
                "fouls_drawn": 0.8295,
                "blocks": 0.4615,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0915,
                "assist_rate": 0.0915,
                "expected_goals": 0.0,
                "expected_assists": 0.0952,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1039,
                "xgot": 0.0,
                "ball_carries": 9.8353,
                "total_progression": 32.9431,
                "progressive_carries": 0.9506,
                "key_pass": 0.4105,
                "shots_off_target": 0.3598
              },
              "params": {
                "blend_weight": 0.0133,
                "history_matches": 44,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.983,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.5741,
                  "after": 2.5878
                },
                {
                  "stat": "wasFouled",
                  "before": 0.8407,
                  "after": 0.8295
                },
                {
                  "stat": "wonTackle",
                  "before": 1.1883,
                  "after": 1.1812
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0203,
                "tackles": 1.7793,
                "tackles_won": 1.1812,
                "clearances": 3.3423,
                "aerial_won": 1.2641,
                "total_shots": 0.3598,
                "rating": 6.7611,
                "minutes": 88.47,
                "total_pass": 26.6483,
                "accurate_pass": 20.9769,
                "duels_won": 4.725,
                "total_long_balls": 3.4942,
                "accurate_long_balls": 1.5644,
                "total_own_half_passes": 14.5168,
                "accurate_own_half_passes": 12.4426,
                "total_opp_half_passes": 12.1315,
                "accurate_opp_half_passes": 8.5343,
                "crosses_total": 2.5878,
                "crosses_accurate": 0.6234,
                "touches": 49.6281,
                "possession_lost": 10.7124,
                "dispossessed": 0.3158,
                "duels_lost": 3.7039,
                "aerial_lost": 1.1004,
                "total_contest": 0.4657,
                "won_contest": 0.2765,
                "ball_recovery": 2.3198,
                "challenges_lost": 0.4222,
                "fouls": 2.0654,
                "fouls_drawn": 0.8295,
                "blocks": 0.4615,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0915,
                "assist_rate": 0.0915,
                "expected_goals": 0.0,
                "expected_assists": 0.0952,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1039,
                "xgot": 0.0,
                "ball_carries": 9.8353,
                "total_progression": 32.9431,
                "progressive_carries": 0.9506,
                "key_pass": 0.4105,
                "shots_off_target": 0.3598
              },
              "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.0203,
                "tackles": 1.7793,
                "tackles_won": 1.1812,
                "clearances": 3.3423,
                "aerial_won": 1.2641,
                "total_shots": 0.3598,
                "rating": 6.7611,
                "minutes": 88.47,
                "total_pass": 26.6483,
                "accurate_pass": 20.9769,
                "duels_won": 4.725,
                "total_long_balls": 3.4942,
                "accurate_long_balls": 1.5644,
                "total_own_half_passes": 14.5168,
                "accurate_own_half_passes": 12.4426,
                "total_opp_half_passes": 12.1315,
                "accurate_opp_half_passes": 8.5343,
                "crosses_total": 2.5878,
                "crosses_accurate": 0.6234,
                "touches": 49.6281,
                "possession_lost": 10.7124,
                "dispossessed": 0.3158,
                "duels_lost": 3.7039,
                "aerial_lost": 1.1004,
                "total_contest": 0.4657,
                "won_contest": 0.2765,
                "ball_recovery": 2.3198,
                "challenges_lost": 0.4222,
                "fouls": 2.0654,
                "fouls_drawn": 0.8295,
                "blocks": 0.4615,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0915,
                "assist_rate": 0.0915,
                "expected_goals": 0.0,
                "expected_assists": 0.0952,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1039,
                "xgot": 0.0,
                "ball_carries": 9.8353,
                "total_progression": 32.9431,
                "progressive_carries": 0.9506,
                "key_pass": 0.4105,
                "shots_off_target": 0.3598,
                "opponent_faced": "Jorge Salinas, Julen Agirrezabala",
                "matchup_zone": "RWB vs LW + LB",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jorge Salinas, Julen Agirrezabala",
                  "matchup_zone": "RWB vs LW + LB"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0203,
                "tackles": 1.7793,
                "tackles_won": 1.1812,
                "clearances": 3.3423,
                "aerial_won": 1.2641,
                "total_shots": 0.3598,
                "rating": 6.7611,
                "minutes": 88.47,
                "total_pass": 26.6483,
                "accurate_pass": 20.9769,
                "duels_won": 4.725,
                "total_long_balls": 3.4942,
                "accurate_long_balls": 1.5644,
                "total_own_half_passes": 14.5168,
                "accurate_own_half_passes": 12.4426,
                "total_opp_half_passes": 12.1315,
                "accurate_opp_half_passes": 8.5343,
                "crosses_total": 2.5878,
                "crosses_accurate": 0.6234,
                "touches": 49.6281,
                "possession_lost": 10.7124,
                "dispossessed": 0.3158,
                "duels_lost": 3.7039,
                "aerial_lost": 1.1004,
                "total_contest": 0.4657,
                "won_contest": 0.2765,
                "ball_recovery": 2.3198,
                "challenges_lost": 0.4222,
                "fouls": 2.0654,
                "fouls_drawn": 0.8295,
                "blocks": 0.4615,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0915,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0952,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1039,
                "xgot": 0.0,
                "ball_carries": 9.8353,
                "total_progression": 32.9431,
                "progressive_carries": 0.9506,
                "key_pass": 0.4105,
                "shots_off_target": 0.3598,
                "opponent_faced": "Jorge Salinas, Julen Agirrezabala",
                "matchup_zone": "RWB vs LW + LB",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.46 (squad xG sum 1.1085, xG scale 1.3171, xA scale 1.3171, team xA 0.96 = 0.66 x lambda)",
              "stats": {
                "interceptions": 1.0203,
                "tackles": 1.7793,
                "tackles_won": 1.1812,
                "clearances": 3.3423,
                "aerial_won": 1.2641,
                "total_shots": 0.3598,
                "rating": 6.7611,
                "minutes": 88.47,
                "total_pass": 26.6483,
                "accurate_pass": 20.9769,
                "duels_won": 4.725,
                "total_long_balls": 3.4942,
                "accurate_long_balls": 1.5644,
                "total_own_half_passes": 14.5168,
                "accurate_own_half_passes": 12.4426,
                "total_opp_half_passes": 12.1315,
                "accurate_opp_half_passes": 8.5343,
                "crosses_total": 2.5878,
                "crosses_accurate": 0.6234,
                "touches": 49.6281,
                "possession_lost": 10.7124,
                "dispossessed": 0.3158,
                "duels_lost": 3.7039,
                "aerial_lost": 1.1004,
                "total_contest": 0.4657,
                "won_contest": 0.2765,
                "ball_recovery": 2.3198,
                "challenges_lost": 0.4222,
                "fouls": 2.0654,
                "fouls_drawn": 0.8295,
                "blocks": 0.4615,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0915,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1254,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1039,
                "xgot": 0.0,
                "ball_carries": 9.8353,
                "total_progression": 32.9431,
                "progressive_carries": 0.9506,
                "key_pass": 0.4105,
                "shots_off_target": 0.3598,
                "opponent_faced": "Jorge Salinas, Julen Agirrezabala",
                "matchup_zone": "RWB vs LW + LB",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.9745
              },
              "params": {
                "team_lambda": 1.46,
                "squad_xg_sum": 1.1085,
                "squad_xa_sum": 0.7277,
                "team_expected_assists": 0.9585,
                "team_xa_to_xg_ratio": 0.6565,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3171,
                "xa_scale": 1.3171,
                "opponent_lambda": 1.312,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0952,
                  "after": 0.1254
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 8 by projected rating, fifa_overall 75.0)",
              "stats": {
                "interceptions": 1.0203,
                "tackles": 1.7793,
                "tackles_won": 1.1812,
                "clearances": 3.3423,
                "aerial_won": 1.2641,
                "total_shots": 0.3598,
                "rating": 6.7611,
                "minutes": 88.47,
                "total_pass": 26.6483,
                "accurate_pass": 20.9769,
                "duels_won": 4.725,
                "total_long_balls": 3.4942,
                "accurate_long_balls": 1.5644,
                "total_own_half_passes": 14.5168,
                "accurate_own_half_passes": 12.4426,
                "total_opp_half_passes": 12.1315,
                "accurate_opp_half_passes": 8.5343,
                "crosses_total": 2.5878,
                "crosses_accurate": 0.6234,
                "touches": 49.6281,
                "possession_lost": 10.7124,
                "dispossessed": 0.3158,
                "duels_lost": 3.7039,
                "aerial_lost": 1.1004,
                "total_contest": 0.4657,
                "won_contest": 0.2765,
                "ball_recovery": 2.3198,
                "challenges_lost": 0.4222,
                "fouls": 2.0654,
                "fouls_drawn": 0.8295,
                "blocks": 0.4615,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0915,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1254,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1039,
                "xgot": 0.0,
                "ball_carries": 9.8353,
                "total_progression": 32.9431,
                "progressive_carries": 0.9506,
                "key_pass": 0.4105,
                "shots_off_target": 0.3598,
                "opponent_faced": "Jorge Salinas, Julen Agirrezabala",
                "matchup_zone": "RWB vs LW + LB",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.9745,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3547,
                "fifa_rank": 2410.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": {
                "interceptions": 1.0203,
                "tackles": 1.7793,
                "tackles_won": 1.1812,
                "clearances": 3.3423,
                "aerial_won": 1.2641,
                "total_shots": 0.3598,
                "rating": 6.7611,
                "minutes": 88.47,
                "total_pass": 26.6483,
                "accurate_pass": 20.9769,
                "duels_won": 4.725,
                "total_long_balls": 3.4942,
                "accurate_long_balls": 1.5644,
                "total_own_half_passes": 14.5168,
                "accurate_own_half_passes": 12.4426,
                "total_opp_half_passes": 12.1315,
                "accurate_opp_half_passes": 8.5343,
                "crosses_total": 2.5878,
                "crosses_accurate": 0.6234,
                "touches": 49.6281,
                "possession_lost": 10.7124,
                "dispossessed": 0.3158,
                "duels_lost": 3.7039,
                "aerial_lost": 1.1004,
                "total_contest": 0.4657,
                "won_contest": 0.2765,
                "ball_recovery": 2.3198,
                "challenges_lost": 0.4222,
                "fouls": 2.0654,
                "fouls_drawn": 0.8295,
                "blocks": 0.4615,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0915,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1254,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1039,
                "xgot": 0.0,
                "ball_carries": 9.8353,
                "total_progression": 32.9431,
                "progressive_carries": 0.9506,
                "key_pass": 0.4105,
                "shots_off_target": 0.3598,
                "opponent_faced": "Jorge Salinas, Julen Agirrezabala",
                "matchup_zone": "RWB vs LW + LB",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.9745,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "goal_rate": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.4744,
                "weight_share": 0.0007,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.6148,
                    "already": 0,
                    "effective_weight": 0.6148,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.1869
                  }
                ]
              }
            },
            {
              "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.0203,
                "tackles": 1.7793,
                "tackles_won": 1.1812,
                "clearances": 3.3423,
                "aerial_won": 1.2641,
                "total_shots": 0.3598,
                "rating": 6.7611,
                "minutes": 88.47,
                "total_pass": 26.6483,
                "accurate_pass": 20.9769,
                "duels_won": 4.725,
                "total_long_balls": 3.4942,
                "accurate_long_balls": 1.5644,
                "total_own_half_passes": 14.5168,
                "accurate_own_half_passes": 12.4426,
                "total_opp_half_passes": 12.1315,
                "accurate_opp_half_passes": 8.5343,
                "crosses_total": 2.5878,
                "crosses_accurate": 0.6234,
                "touches": 49.6281,
                "possession_lost": 10.7124,
                "dispossessed": 0.3158,
                "duels_lost": 3.7039,
                "aerial_lost": 1.1004,
                "total_contest": 0.4657,
                "won_contest": 0.2765,
                "ball_recovery": 2.3198,
                "challenges_lost": 0.4222,
                "fouls": 2.0654,
                "fouls_drawn": 0.8295,
                "blocks": 0.4615,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0915,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1254,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1039,
                "xgot": 0.0,
                "ball_carries": 9.8353,
                "total_progression": 32.9431,
                "progressive_carries": 0.9506,
                "key_pass": 0.4105,
                "shots_off_target": 0.3598,
                "opponent_faced": "Jorge Salinas, Julen Agirrezabala",
                "matchup_zone": "RWB vs LW + LB",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.1179,
                "finishing_factor": 1.0,
                "creation_factor": 0.9745,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1179,
                "assist_rate": 0.0915,
                "provider_weight": 0.1222,
                "squad_weight_total": 0.8905,
                "weight_share": 0.1372,
                "creation_factor": 0.9745,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.2107,
                    "already": 0,
                    "effective_weight": 0.2107,
                    "runner_up": "Edu Expósito",
                    "runner_up_effective_weight": 0.158,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Ángel Fortuño": {
          "player_id": 1082734,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 183,
          "market_value": 290000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.0863,
            "rating": 6.9343,
            "minutes": 90,
            "total_pass": 30,
            "accurate_pass": 17,
            "total_long_balls": 20,
            "accurate_long_balls": 7,
            "touches": 47,
            "clearances": 0,
            "ball_recovery": 12,
            "high_claims": 3,
            "punches": 0.0,
            "aerial_won": 1,
            "sweeper_actions": 1,
            "sweeper_accurate": 1,
            "saves_inside_box": 2,
            "possession_lost": 14.2732,
            "duels_won": 1,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 12,
            "gk_engine_opponent_lambda": 1.3032,
            "shots_faced": 12.5,
            "expected_saves": 3.06,
            "high_pressure_saves": 1.05,
            "opponent_faced": "Yassir Zabiri, Andrés Martín",
            "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": 89.0
          },
          "latest_10_games": [
            {
              "match_id": 16421071,
              "match_date": "2026-10-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0044,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 19,
                "ball_recovery": 10,
                "saves": 5,
                "goals_prevented": 0.6995
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0008,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 11,
                "clearances": 1,
                "ball_recovery": 17,
                "saves": 6,
                "goals_prevented": -0.2337
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 21,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 10,
                "saves": 2,
                "goals_prevented": 0.2618
              },
              "has_player_stats": true,
              "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": 24,
            "combined_rank_score": 25.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 35.0,
            "sofascore_rating": 7.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 15.0,
            "fifa_overall": 89.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9343,
            "source_file": "data/player_rankings.csv",
            "player_name": "Angel Fortuno",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gustavo Henrique",
                  "ranking": 19
                },
                {
                  "player_name": "Alejandro Grimaldo",
                  "ranking": 20
                },
                {
                  "player_name": "Marc Bartra",
                  "ranking": 21
                },
                {
                  "player_name": "Khvicha Kvaratskhelia",
                  "ranking": 22
                },
                {
                  "player_name": "Danijel Petković",
                  "ranking": 23
                }
              ],
              "lower": [
                {
                  "player_name": "Hyun-woo Cho",
                  "ranking": 25
                },
                {
                  "player_name": "Joshua Kimmich",
                  "ranking": 26
                },
                {
                  "player_name": "Ljupche Doriev",
                  "ranking": 27
                },
                {
                  "player_name": "Rafael Romo",
                  "ranking": 28
                },
                {
                  "player_name": "Michael Olise",
                  "ranking": 29
                }
              ]
            }
          },
          "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.9806,
                "goals_prevented": -0.0874,
                "rating": 6.9343,
                "minutes": 90.0,
                "total_pass": 30.8134,
                "accurate_pass": 16.9184,
                "total_long_balls": 20.7483,
                "accurate_long_balls": 6.8533,
                "touches": 47.9193,
                "clearances": 0.3304,
                "ball_recovery": 12.3129,
                "high_claims": 3.1147,
                "punches": 0.0,
                "aerial_won": 0.5617,
                "sweeper_actions": 1.4383,
                "sweeper_accurate": 1.4383,
                "saves_inside_box": 2.3304,
                "possession_lost": 14.4568,
                "duels_won": 0.5617,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 14.0155,
                "accurate_own_half_passes": 11.9659
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-24T10:04:55.355626+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 200,
                    "rows": 7186
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.9
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "possessionLostCtrl": 14.4568,
                  "distribution_accuracy": 0.8434,
                  "saves": 4.4879,
                  "goalkeeperValueNormalized": 0.3584,
                  "save_contribution": 4.7561,
                  "accurateOwnHalfPasses": 11.966
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.980564594268799,
                    "model_output": 2.9806,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "saves",
                        "importance": 0.0396
                      },
                      {
                        "name": "save_contribution",
                        "importance": 0.0396
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0361
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0356
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 2.9357,
                      "items": [
                        {
                          "name": "commanding_index",
                          "contribution": 0.0291
                        },
                        {
                          "name": "saves",
                          "contribution": 0.0206
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0185
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0177
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0131
                        }
                      ],
                      "others": 0.0183,
                      "total": 2.9806,
                      "log_link": true,
                      "margin_base": 1.076962,
                      "item_margins": [
                        {
                          "name": "commanding_index",
                          "margin": 0.00985
                        },
                        {
                          "name": "saves",
                          "margin": 0.006914
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.006213
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.005996
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.004423
                        }
                      ],
                      "others_margin": 0.006173
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.08741598576307297,
                    "model_output": -0.0874,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0403
                      },
                      {
                        "name": "punches",
                        "importance": 0.0402
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.039
                      },
                      {
                        "name": "goodHighClaim",
                        "importance": 0.0381
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0377
                      }
                    ],
                    "decomposition": {
                      "base": -0.0276,
                      "items": [
                        {
                          "name": "punches",
                          "contribution": 0.0277
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0176
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0164
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0121
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": 0.0118
                        }
                      ],
                      "others": -0.0532,
                      "total": -0.0874,
                      "log_link": false,
                      "margin_base": -0.027557,
                      "item_margins": [
                        {
                          "name": "punches",
                          "margin": 0.02771
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.017608
                        },
                        {
                          "name": "commanding_index",
                          "margin": -0.016364
                        },
                        {
                          "name": "touches",
                          "margin": -0.012088
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": 0.011778
                        }
                      ],
                      "others_margin": -0.053286
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.934327125549316,
                    "model_output": 6.9343,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "saves",
                        "importance": 0.0419
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0397
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0368
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0351
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0351
                      }
                    ],
                    "decomposition": {
                      "base": 6.9908,
                      "items": [
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": -0.0152
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0142
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0141
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0137
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0134
                        }
                      ],
                      "others": -0.0143,
                      "total": 6.9343,
                      "log_link": false,
                      "margin_base": 6.990849,
                      "item_margins": [
                        {
                          "name": "totalOwnHalfPasses",
                          "margin": -0.015161
                        },
                        {
                          "name": "rating",
                          "margin": 0.014152
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.014069
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.013737
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.013382
                        }
                      ],
                      "others_margin": -0.014326
                    }
                  }
                ],
                "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.9427,
                "goals_prevented": -0.0863,
                "rating": 6.9343,
                "minutes": 90.0,
                "total_pass": 30.4221,
                "accurate_pass": 16.7035,
                "total_long_balls": 20.4848,
                "accurate_long_balls": 6.7663,
                "touches": 47.3107,
                "clearances": 0.3262,
                "ball_recovery": 12.1565,
                "high_claims": 3.0751,
                "punches": 0.0,
                "aerial_won": 0.5546,
                "sweeper_actions": 1.42,
                "sweeper_accurate": 1.42,
                "saves_inside_box": 2.3008,
                "possession_lost": 14.2732,
                "duels_won": 0.5546,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 13.8375,
                "accurate_own_half_passes": 11.8139
              },
              "params": {
                "market_value_eur": 290000,
                "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.9427,
                "goals_prevented": -0.0863,
                "rating": 6.9343,
                "minutes": 90.0,
                "total_pass": 30.4221,
                "accurate_pass": 16.7035,
                "total_long_balls": 20.4848,
                "accurate_long_balls": 6.7663,
                "touches": 47.3107,
                "clearances": 0.3262,
                "ball_recovery": 12.1565,
                "high_claims": 3.0751,
                "punches": 0.0,
                "aerial_won": 0.5546,
                "sweeper_actions": 1.42,
                "sweeper_accurate": 1.42,
                "saves_inside_box": 2.3008,
                "possession_lost": 14.2732,
                "duels_won": 0.5546,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 13.8375,
                "accurate_own_half_passes": 11.8139
              },
              "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.9427,
                "goals_prevented": -0.0863,
                "rating": 6.9343,
                "minutes": 90.0,
                "total_pass": 30.4221,
                "accurate_pass": 16.7035,
                "total_long_balls": 20.4848,
                "accurate_long_balls": 6.7663,
                "touches": 47.3107,
                "clearances": 0.3262,
                "ball_recovery": 12.1565,
                "high_claims": 3.0751,
                "punches": 0.0,
                "aerial_won": 0.5546,
                "sweeper_actions": 1.42,
                "sweeper_accurate": 1.42,
                "saves_inside_box": 2.3008,
                "possession_lost": 14.2732,
                "duels_won": 0.5546,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 13.8375,
                "accurate_own_half_passes": 11.8139,
                "gk_engine_opponent_lambda": 1.3032,
                "shots_faced": 12.4,
                "expected_saves": 3.04,
                "high_pressure_saves": 1.04,
                "opponent_faced": "Yassir Zabiri, Andrés Martín",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Yassir Zabiri, Andrés Martín",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.3032
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "saves": 2.9427,
                "goals_prevented": -0.0863,
                "rating": 6.9343,
                "minutes": 90.0,
                "total_pass": 30.4221,
                "accurate_pass": 16.7035,
                "total_long_balls": 20.4848,
                "accurate_long_balls": 6.7663,
                "touches": 47.3107,
                "clearances": 0.3262,
                "ball_recovery": 12.1565,
                "high_claims": 3.0751,
                "punches": 0.0,
                "aerial_won": 0.5546,
                "sweeper_actions": 1.42,
                "sweeper_accurate": 1.42,
                "saves_inside_box": 2.3008,
                "possession_lost": 14.2732,
                "duels_won": 0.5546,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 13.8375,
                "accurate_own_half_passes": 11.8139,
                "gk_engine_opponent_lambda": 1.3032,
                "shots_faced": 12.4,
                "expected_saves": 3.04,
                "high_pressure_saves": 1.04,
                "opponent_faced": "Yassir Zabiri, Andrés Martín",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.46 (squad xG sum 1.1085, xG scale 1.3171, xA scale 1.3171, team xA 0.96 = 0.66 x lambda)",
              "stats": {
                "saves": 2.9427,
                "goals_prevented": -0.0863,
                "rating": 6.9343,
                "minutes": 90.0,
                "total_pass": 30.4221,
                "accurate_pass": 16.7035,
                "total_long_balls": 20.4848,
                "accurate_long_balls": 6.7663,
                "touches": 47.3107,
                "clearances": 0.3262,
                "ball_recovery": 12.1565,
                "high_claims": 3.0751,
                "punches": 0.0,
                "aerial_won": 0.5546,
                "sweeper_actions": 1.42,
                "sweeper_accurate": 1.42,
                "saves_inside_box": 2.3008,
                "possession_lost": 14.2732,
                "duels_won": 0.5546,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 13.8375,
                "accurate_own_half_passes": 11.8139,
                "gk_engine_opponent_lambda": 1.3032,
                "shots_faced": 12.5,
                "expected_saves": 3.06,
                "high_pressure_saves": 1.05,
                "opponent_faced": "Yassir Zabiri, Andrés Martín",
                "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.46,
                "squad_xg_sum": 1.1085,
                "squad_xa_sum": 0.7277,
                "team_expected_assists": 0.9585,
                "team_xa_to_xg_ratio": 0.6565,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3171,
                "xa_scale": 1.3171,
                "opponent_lambda": 1.312,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 12.4,
                  "after": 12.5
                },
                {
                  "stat": "expected_saves",
                  "before": 3.04,
                  "after": 3.06
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 1.04,
                  "after": 1.05
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 4 by projected rating, fifa_overall 89.0)",
              "stats": {
                "saves": 2.9427,
                "goals_prevented": -0.0863,
                "rating": 6.9343,
                "minutes": 90.0,
                "total_pass": 30.4221,
                "accurate_pass": 16.7035,
                "total_long_balls": 20.4848,
                "accurate_long_balls": 6.7663,
                "touches": 47.3107,
                "clearances": 0.3262,
                "ball_recovery": 12.1565,
                "high_claims": 3.0751,
                "punches": 0.0,
                "aerial_won": 0.5546,
                "sweeper_actions": 1.42,
                "sweeper_accurate": 1.42,
                "saves_inside_box": 2.3008,
                "possession_lost": 14.2732,
                "duels_won": 0.5546,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 13.8375,
                "accurate_own_half_passes": 11.8139,
                "gk_engine_opponent_lambda": 1.3032,
                "shots_faced": 12.5,
                "expected_saves": 3.06,
                "high_pressure_saves": 1.05,
                "opponent_faced": "Yassir Zabiri, Andrés Martín",
                "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": 89.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 24,
                "fifa_rank": 15.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 89.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 2.9427,
                "goals_prevented": -0.0863,
                "rating": 6.9343,
                "minutes": 90.0,
                "total_pass": 30.4221,
                "accurate_pass": 16.7035,
                "total_long_balls": 20.4848,
                "accurate_long_balls": 6.7663,
                "touches": 47.3107,
                "clearances": 0.3262,
                "ball_recovery": 12.1565,
                "high_claims": 3.0751,
                "punches": 0.0,
                "aerial_won": 0.5546,
                "sweeper_actions": 1.42,
                "sweeper_accurate": 1.42,
                "saves_inside_box": 2.3008,
                "possession_lost": 14.2732,
                "duels_won": 0.5546,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 13.8375,
                "accurate_own_half_passes": 11.8139,
                "gk_engine_opponent_lambda": 1.3032,
                "shots_faced": 12.5,
                "expected_saves": 3.06,
                "high_pressure_saves": 1.05,
                "opponent_faced": "Yassir Zabiri, Andrés Martín",
                "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": 89.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.4744,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.6148,
                    "already": 0,
                    "effective_weight": 0.6148,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.1869
                  }
                ]
              }
            },
            {
              "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.9427,
                "goals_prevented": -0.0863,
                "rating": 6.9343,
                "minutes": 90.0,
                "total_pass": 30.4221,
                "accurate_pass": 16.7035,
                "total_long_balls": 20.4848,
                "accurate_long_balls": 6.7663,
                "touches": 47.3107,
                "clearances": 0.3262,
                "ball_recovery": 12.1565,
                "high_claims": 3.0751,
                "punches": 0.0,
                "aerial_won": 0.5546,
                "sweeper_actions": 1.42,
                "sweeper_accurate": 1.42,
                "saves_inside_box": 2.3008,
                "possession_lost": 14.2732,
                "duels_won": 0.5546,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 13.8375,
                "accurate_own_half_passes": 11.8139,
                "gk_engine_opponent_lambda": 1.3032,
                "shots_faced": 12.5,
                "expected_saves": 3.06,
                "high_pressure_saves": 1.05,
                "opponent_faced": "Yassir Zabiri, Andrés Martín",
                "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": 89.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 0.8905,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.2107,
                    "already": 0,
                    "effective_weight": 0.2107,
                    "runner_up": "Edu Expósito",
                    "runner_up_effective_weight": 0.158,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Pol Lozano": {
          "player_id": 826010,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 10,
          "height": 176,
          "market_value": 5800000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.078,
            "assist_rate": 0.0571,
            "assists": 0,
            "expected_goals": 0.1185,
            "goal_rate": 0.0764,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7499,
            "minutes": 78,
            "total_pass": 33,
            "accurate_pass": 27,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 14,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 45,
            "possession_lost": 8.1553,
            "dispossessed": 0.4135,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "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.2156,
            "ball_carries": 10,
            "total_progression": 22,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0149,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.46,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Iván Martín",
            "opponent_faced": "Iván Martín",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1117,
            "projected_assists": 0,
            "assist_probability": 0.075,
            "finishing_factor": 0.9029,
            "creation_factor": 0.9808,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16421071,
              "match_date": "2026-10-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1221,
                "expected_assists": 0.0165,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 22,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 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": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0033,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 34,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 4,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 15,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0237,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 7,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 15,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0025,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 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": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 18,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0579,
                "expected_assists": 0.0198,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 9,
                "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": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 55,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0279,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 18,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.031,
                "expected_assists": 0.0576,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 48,
                "accurate_pass": 37,
                "tackles": 4,
                "tackles_won": 2,
                "clearances": 3,
                "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"
            },
            {
              "match_id": 14083587,
              "match_date": "2026-05-09",
              "home_team": "Sevilla",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 18,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0977,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7,
                "key_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083221,
              "match_date": "2026-04-27",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 3,
                "rating": 4.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "interceptions": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083330,
              "match_date": "2026-04-23",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0044,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 11,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 5
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3515,
            "combined_rank_score": 1491.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2405.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7499,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pol Lozano",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Filip Ugrinić",
                  "ranking": 3510
                },
                {
                  "player_name": "Robin Zentner",
                  "ranking": 3511
                },
                {
                  "player_name": "Kevin Diks",
                  "ranking": 3512
                },
                {
                  "player_name": "Zuriko Davitashvili",
                  "ranking": 3513
                },
                {
                  "player_name": "Grischa Prömel",
                  "ranking": 3514
                }
              ],
              "lower": [
                {
                  "player_name": "Aurèle Amenda",
                  "ranking": 3516
                },
                {
                  "player_name": "Manu Morlanes",
                  "ranking": 3517
                },
                {
                  "player_name": "Alexis Claude-Maurice",
                  "ranking": 3518
                },
                {
                  "player_name": "Sebastián Cáceres",
                  "ranking": 3519
                },
                {
                  "player_name": "Anthony Caci",
                  "ranking": 3520
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.754,
          "history_matches": 38,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 38,
            "data_confidence": 0.754,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9988,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "minutes": 35.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.57,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.0267
            },
            "rationale": "XGBoost regressor (M_service) evaluated 38 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.03, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.7122,
                "expected_assists": 0.0593,
                "assists": 0.0573,
                "assist_rate": 0.0573,
                "expected_goals": 0.0888,
                "goals": 0.0756,
                "goal_rate": 0.0756,
                "shots_on_target": 0.3386,
                "total_shots": 0.9849,
                "rating": 6.7499,
                "minutes": 77.69,
                "total_pass": 32.9566,
                "accurate_pass": 27.1461,
                "duels_won": 3.3521,
                "total_long_balls": 1.9247,
                "accurate_long_balls": 0.6519,
                "total_own_half_passes": 15.1644,
                "accurate_own_half_passes": 13.0521,
                "total_opp_half_passes": 17.7922,
                "accurate_opp_half_passes": 14.094,
                "crosses_total": 0.9621,
                "crosses_accurate": 0.2354,
                "touches": 44.7156,
                "possession_lost": 8.1651,
                "dispossessed": 0.414,
                "duels_lost": 3.8816,
                "aerial_won": 0.3893,
                "aerial_lost": 0.7612,
                "interceptions": 0.789,
                "tackles_won": 1.1327,
                "tackles": 1.8364,
                "clearances": 1.1746,
                "total_contest": 0.4696,
                "won_contest": 0.2749,
                "challenges_lost": 1.0366,
                "fouls": 1.4896,
                "fouls_drawn": 0.8516,
                "blocks": 0.2449,
                "big_chances_created": 0.0679,
                "big_chances_missed": 0.0,
                "xgot": 0.1615,
                "ball_carries": 10.1571,
                "total_progression": 21.8678,
                "progressive_carries": 0.5961,
                "shots_off_target": 0.6463
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-24T10:06:41.574598+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 903,
                    "rows": 24475
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.1086,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0923,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0785,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Sevilla",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-27",
                    "opponent": "Levante UD",
                    "minutes": 3.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 4.6
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "creative_index": 0.1955,
                  "totalShots": 0.729,
                  "expectedGoals": 0.0344,
                  "expectedAssists": 0.039,
                  "onTargetScoringAttempt": 0.3505
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.712243914604187,
                    "model_output": 0.7122,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1647
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1377
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0663
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0524
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0316
                      }
                    ],
                    "decomposition": {
                      "base": 0.8945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1228
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0901
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0566
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0509
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0282
                        }
                      ],
                      "others": -0.0793,
                      "total": 0.7122,
                      "log_link": true,
                      "margin_base": -0.111507,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.128665
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.092736
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.063031
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.060248
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.035006
                        }
                      ],
                      "others_margin": -0.105474
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05926145985722542,
                    "model_output": 0.0593,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1545
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1048
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1021
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0472
                      }
                    ],
                    "decomposition": {
                      "base": 0.0859,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0117
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0113
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0069
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0051
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0046
                        }
                      ],
                      "others": -0.0096,
                      "total": 0.0593,
                      "log_link": true,
                      "margin_base": -2.454719,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.146186
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.142001
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.083881
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.066401
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.063963
                        }
                      ],
                      "others_margin": -0.152647
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.057265378534793854,
                    "model_output": 0.0573,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0619
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0395
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0343
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 0.0874,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.0091
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0069
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0063
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0047
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0122,
                      "total": 0.0573,
                      "log_link": true,
                      "margin_base": -2.437263,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.110038
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.092071
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.085174
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.062908
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.049339
                        }
                      ],
                      "others_margin": -0.193614
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08881323784589767,
                    "model_output": 0.0888,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.134
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.074
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0705
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.039
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0273
                      }
                    ],
                    "decomposition": {
                      "base": 0.094,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0135
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0065
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0054
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0044
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0029
                        }
                      ],
                      "others": -0.0053,
                      "total": 0.0888,
                      "log_link": true,
                      "margin_base": -2.364919,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.134292
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.062467
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.055227
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.047529
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.031866
                        }
                      ],
                      "others_margin": -0.057235
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07560337334871292,
                    "model_output": 0.0756,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0974
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0527
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0513
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0365
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0993,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0119
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0115
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0095
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0036
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0152,
                      "total": 0.0756,
                      "log_link": true,
                      "margin_base": -2.309444,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.113219
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.109552
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.099904
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.038641
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.032117
                        }
                      ],
                      "others_margin": -0.183095
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.33856654167175293,
                    "model_output": 0.3386,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1106
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0885
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0762
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0292
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.326,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0558
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0165
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0087
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0057
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0051
                        }
                      ],
                      "others": -0.0072,
                      "total": 0.3386,
                      "log_link": true,
                      "margin_base": -1.120773,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.15804
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.044073
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.023964
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.016132
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.014758
                        }
                      ],
                      "others_margin": -0.021375
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9848932027816772,
                    "model_output": 0.9849,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1261
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1167
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0633
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0419
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.9969,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1495
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0904
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0415
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0202
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0136
                        }
                      ],
                      "others": -0.023,
                      "total": 0.9849,
                      "log_link": false,
                      "margin_base": 0.996896,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.149516
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.090401
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.041458
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.020183
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.013573
                        }
                      ],
                      "others_margin": -0.02305
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.749927043914795,
                    "model_output": 6.7499,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0947
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0836
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0491
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0438
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.036
                      }
                    ],
                    "decomposition": {
                      "base": 6.8561,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.036
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0285
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.021
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0106
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0089
                        }
                      ],
                      "others": -0.0432,
                      "total": 6.7499,
                      "log_link": false,
                      "margin_base": 6.856052,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.035982
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.028501
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.021002
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.010558
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.008937
                        }
                      ],
                      "others_margin": -0.04315
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 38,
                  "role_matches": 30,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9988, quality 0.472)",
              "stats": {
                "key_pass": 0.7114,
                "expected_assists": 0.0592,
                "assists": 0.0572,
                "assist_rate": 0.0572,
                "expected_goals": 0.0887,
                "goals": 0.0755,
                "goal_rate": 0.0755,
                "shots_on_target": 0.3382,
                "total_shots": 0.9837,
                "rating": 6.7499,
                "minutes": 77.69,
                "total_pass": 32.9171,
                "accurate_pass": 27.1135,
                "duels_won": 3.3481,
                "total_long_balls": 1.9224,
                "accurate_long_balls": 0.6511,
                "total_own_half_passes": 15.1462,
                "accurate_own_half_passes": 13.0364,
                "total_opp_half_passes": 17.7708,
                "accurate_opp_half_passes": 14.0771,
                "crosses_total": 0.9609,
                "crosses_accurate": 0.2351,
                "touches": 44.6619,
                "possession_lost": 8.1553,
                "dispossessed": 0.4135,
                "duels_lost": 3.8769,
                "aerial_won": 0.3888,
                "aerial_lost": 0.7603,
                "interceptions": 0.7881,
                "tackles_won": 1.1313,
                "tackles": 1.8342,
                "clearances": 1.1732,
                "total_contest": 0.469,
                "won_contest": 0.2746,
                "challenges_lost": 1.0354,
                "fouls": 1.4878,
                "fouls_drawn": 0.8506,
                "blocks": 0.2446,
                "big_chances_created": 0.0678,
                "big_chances_missed": 0.0,
                "xgot": 0.1613,
                "ball_carries": 10.1449,
                "total_progression": 21.8416,
                "progressive_carries": 0.5954,
                "shots_off_target": 0.6455
              },
              "params": {
                "market_value_eur": 5800000,
                "quality_factor": 0.472,
                "boost_factor": 0.9988,
                "reference_quality": 0.505,
                "history_matches": 38,
                "history_shrink": 0.1163,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0020)",
              "stats": {
                "key_pass": 0.7114,
                "expected_assists": 0.0592,
                "assists": 0.0571,
                "assist_rate": 0.0571,
                "expected_goals": 0.0887,
                "goals": 0.0753,
                "goal_rate": 0.0753,
                "shots_on_target": 0.3375,
                "total_shots": 0.9862,
                "rating": 6.7499,
                "minutes": 77.69,
                "total_pass": 32.9171,
                "accurate_pass": 27.1135,
                "duels_won": 3.3481,
                "total_long_balls": 1.9224,
                "accurate_long_balls": 0.6511,
                "total_own_half_passes": 15.1462,
                "accurate_own_half_passes": 13.0364,
                "total_opp_half_passes": 17.7708,
                "accurate_opp_half_passes": 14.0771,
                "crosses_total": 0.959,
                "crosses_accurate": 0.2351,
                "touches": 44.6619,
                "possession_lost": 8.1553,
                "dispossessed": 0.4135,
                "duels_lost": 3.8769,
                "aerial_won": 0.3888,
                "aerial_lost": 0.7603,
                "interceptions": 0.7865,
                "tackles_won": 1.1377,
                "tackles": 1.8342,
                "clearances": 1.1732,
                "total_contest": 0.469,
                "won_contest": 0.2746,
                "challenges_lost": 1.0354,
                "fouls": 1.4892,
                "fouls_drawn": 0.8489,
                "blocks": 0.2446,
                "big_chances_created": 0.0678,
                "big_chances_missed": 0.0,
                "xgot": 0.1613,
                "ball_carries": 10.1449,
                "total_progression": 21.8416,
                "progressive_carries": 0.5954,
                "shots_off_target": 0.6455
              },
              "params": {
                "blend_weight": 0.002,
                "history_matches": 38,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8632,
                "prior_reliability": 0.0267,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 1.1313,
                  "after": 1.1377
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.7114,
                "expected_assists": 0.0592,
                "assists": 0.0571,
                "assist_rate": 0.0571,
                "expected_goals": 0.0887,
                "goals": 0.0753,
                "goal_rate": 0.0753,
                "shots_on_target": 0.3375,
                "total_shots": 0.9862,
                "rating": 6.7499,
                "minutes": 77.69,
                "total_pass": 32.9171,
                "accurate_pass": 27.1135,
                "duels_won": 3.3481,
                "total_long_balls": 1.9224,
                "accurate_long_balls": 0.6511,
                "total_own_half_passes": 15.1462,
                "accurate_own_half_passes": 13.0364,
                "total_opp_half_passes": 17.7708,
                "accurate_opp_half_passes": 14.0771,
                "crosses_total": 0.959,
                "crosses_accurate": 0.2351,
                "touches": 44.6619,
                "possession_lost": 8.1553,
                "dispossessed": 0.4135,
                "duels_lost": 3.8769,
                "aerial_won": 0.3888,
                "aerial_lost": 0.7603,
                "interceptions": 0.7865,
                "tackles_won": 1.1377,
                "tackles": 1.8342,
                "clearances": 1.1732,
                "total_contest": 0.469,
                "won_contest": 0.2746,
                "challenges_lost": 1.0354,
                "fouls": 1.4892,
                "fouls_drawn": 0.8489,
                "blocks": 0.2446,
                "big_chances_created": 0.0678,
                "big_chances_missed": 0.0,
                "xgot": 0.1613,
                "ball_carries": 10.1449,
                "total_progression": 21.8416,
                "progressive_carries": 0.5954,
                "shots_off_target": 0.6455
              },
              "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.7114,
                "expected_assists": 0.0592,
                "assists": 0.0571,
                "assist_rate": 0.0571,
                "expected_goals": 0.09,
                "goals": 0.0764,
                "goal_rate": 0.0764,
                "shots_on_target": 0.3425,
                "total_shots": 1.0009,
                "rating": 6.7499,
                "minutes": 77.69,
                "total_pass": 32.9171,
                "accurate_pass": 27.1135,
                "duels_won": 3.3481,
                "total_long_balls": 1.9224,
                "accurate_long_balls": 0.6511,
                "total_own_half_passes": 15.1462,
                "accurate_own_half_passes": 13.0364,
                "total_opp_half_passes": 17.7708,
                "accurate_opp_half_passes": 14.0771,
                "crosses_total": 0.959,
                "crosses_accurate": 0.2351,
                "touches": 44.6619,
                "possession_lost": 8.1553,
                "dispossessed": 0.4135,
                "duels_lost": 3.8769,
                "aerial_won": 0.9,
                "aerial_lost": 0.7603,
                "interceptions": 0.7865,
                "tackles_won": 1.1377,
                "tackles": 1.8342,
                "clearances": 1.1732,
                "total_contest": 0.469,
                "won_contest": 0.2746,
                "challenges_lost": 1.0354,
                "fouls": 1.4892,
                "fouls_drawn": 0.8489,
                "blocks": 0.2446,
                "big_chances_created": 0.0678,
                "big_chances_missed": 0.0,
                "xgot": 0.1637,
                "ball_carries": 10.1449,
                "total_progression": 21.8416,
                "progressive_carries": 0.5954,
                "shots_off_target": 0.6551,
                "duel_xg_multiplier": 1.0149,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.46,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iván Martín",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.46,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0149,
                  "skill_edge": 0.0181,
                  "height_edge": -0.008,
                  "attacker_skill": 0.4799,
                  "defender_skill": 0.4396,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Iván Martín",
                      "market_value": 2700000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4396
                    }
                  ],
                  "xg_override": 0.09
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.3888,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 0.9862,
                  "after": 1.0009
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.6455,
                  "after": 0.6551
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3375,
                  "after": 0.3425
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.7114,
                "expected_assists": 0.0592,
                "assist_rate": 0.0571,
                "assists": 0,
                "expected_goals": 0.09,
                "goal_rate": 0.0764,
                "goals": 0,
                "shots_on_target": 0.3425,
                "total_shots": 1.0009,
                "rating": 6.7499,
                "minutes": 77.69,
                "total_pass": 32.9171,
                "accurate_pass": 27.1135,
                "duels_won": 3.3481,
                "total_long_balls": 1.9224,
                "accurate_long_balls": 0.6511,
                "total_own_half_passes": 15.1462,
                "accurate_own_half_passes": 13.0364,
                "total_opp_half_passes": 17.7708,
                "accurate_opp_half_passes": 14.0771,
                "crosses_total": 0.959,
                "crosses_accurate": 0.2351,
                "touches": 44.6619,
                "possession_lost": 8.1553,
                "dispossessed": 0.4135,
                "duels_lost": 3.8769,
                "aerial_won": 0.9,
                "aerial_lost": 0.7603,
                "interceptions": 0.7865,
                "tackles_won": 1.1377,
                "tackles": 1.8342,
                "clearances": 1.1732,
                "total_contest": 0.469,
                "won_contest": 0.2746,
                "challenges_lost": 1.0354,
                "fouls": 1.4892,
                "fouls_drawn": 0.8489,
                "blocks": 0.2446,
                "big_chances_created": 0.0678,
                "big_chances_missed": 0.0,
                "xgot": 0.1637,
                "ball_carries": 10.1449,
                "total_progression": 21.8416,
                "progressive_carries": 0.5954,
                "shots_off_target": 0.6551,
                "duel_xg_multiplier": 1.0149,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.46,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.46 (squad xG sum 1.1085, xG scale 1.3171, xA scale 1.3171, team xA 0.96 = 0.66 x lambda)",
              "stats": {
                "key_pass": 0.7114,
                "expected_assists": 0.078,
                "assist_rate": 0.0571,
                "assists": 0,
                "expected_goals": 0.1185,
                "goal_rate": 0.0764,
                "goals": 0,
                "shots_on_target": 0.3425,
                "total_shots": 1.0009,
                "rating": 6.7499,
                "minutes": 77.69,
                "total_pass": 32.9171,
                "accurate_pass": 27.1135,
                "duels_won": 3.3481,
                "total_long_balls": 1.9224,
                "accurate_long_balls": 0.6511,
                "total_own_half_passes": 15.1462,
                "accurate_own_half_passes": 13.0364,
                "total_opp_half_passes": 17.7708,
                "accurate_opp_half_passes": 14.0771,
                "crosses_total": 0.959,
                "crosses_accurate": 0.2351,
                "touches": 44.6619,
                "possession_lost": 8.1553,
                "dispossessed": 0.4135,
                "duels_lost": 3.8769,
                "aerial_won": 0.9,
                "aerial_lost": 0.7603,
                "interceptions": 0.7865,
                "tackles_won": 1.1377,
                "tackles": 1.8342,
                "clearances": 1.1732,
                "total_contest": 0.469,
                "won_contest": 0.2746,
                "challenges_lost": 1.0354,
                "fouls": 1.4892,
                "fouls_drawn": 0.8489,
                "blocks": 0.2446,
                "big_chances_created": 0.0678,
                "big_chances_missed": 0.0,
                "xgot": 0.2156,
                "ball_carries": 10.1449,
                "total_progression": 21.8416,
                "progressive_carries": 0.5954,
                "shots_off_target": 0.6551,
                "duel_xg_multiplier": 1.0149,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.46,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9029,
                "creation_factor": 0.9808
              },
              "params": {
                "team_lambda": 1.46,
                "squad_xg_sum": 1.1085,
                "squad_xa_sum": 0.7277,
                "team_expected_assists": 0.9585,
                "team_xa_to_xg_ratio": 0.6565,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3171,
                "xa_scale": 1.3171,
                "opponent_lambda": 1.312,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.09,
                  "after": 0.1185
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0592,
                  "after": 0.078
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 75.0)",
              "stats": {
                "key_pass": 0.7114,
                "expected_assists": 0.078,
                "assist_rate": 0.0571,
                "assists": 0,
                "expected_goals": 0.1185,
                "goal_rate": 0.0764,
                "goals": 0,
                "shots_on_target": 0.3425,
                "total_shots": 1.0009,
                "rating": 6.7499,
                "minutes": 77.69,
                "total_pass": 32.9171,
                "accurate_pass": 27.1135,
                "duels_won": 3.3481,
                "total_long_balls": 1.9224,
                "accurate_long_balls": 0.6511,
                "total_own_half_passes": 15.1462,
                "accurate_own_half_passes": 13.0364,
                "total_opp_half_passes": 17.7708,
                "accurate_opp_half_passes": 14.0771,
                "crosses_total": 0.959,
                "crosses_accurate": 0.2351,
                "touches": 44.6619,
                "possession_lost": 8.1553,
                "dispossessed": 0.4135,
                "duels_lost": 3.8769,
                "aerial_won": 0.9,
                "aerial_lost": 0.7603,
                "interceptions": 0.7865,
                "tackles_won": 1.1377,
                "tackles": 1.8342,
                "clearances": 1.1732,
                "total_contest": 0.469,
                "won_contest": 0.2746,
                "challenges_lost": 1.0354,
                "fouls": 1.4892,
                "fouls_drawn": 0.8489,
                "blocks": 0.2446,
                "big_chances_created": 0.0678,
                "big_chances_missed": 0.0,
                "xgot": 0.2156,
                "ball_carries": 10.1449,
                "total_progression": 21.8416,
                "progressive_carries": 0.5954,
                "shots_off_target": 0.6551,
                "duel_xg_multiplier": 1.0149,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.46,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9029,
                "creation_factor": 0.9808,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3515,
                "fifa_rank": 2405.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.7114,
                "expected_assists": 0.078,
                "assist_rate": 0.0571,
                "assists": 0,
                "expected_goals": 0.1185,
                "goal_rate": 0.0764,
                "goals": 0,
                "shots_on_target": 0.3425,
                "total_shots": 1.0009,
                "rating": 6.7499,
                "minutes": 77.69,
                "total_pass": 32.9171,
                "accurate_pass": 27.1135,
                "duels_won": 3.3481,
                "total_long_balls": 1.9224,
                "accurate_long_balls": 0.6511,
                "total_own_half_passes": 15.1462,
                "accurate_own_half_passes": 13.0364,
                "total_opp_half_passes": 17.7708,
                "accurate_opp_half_passes": 14.0771,
                "crosses_total": 0.959,
                "crosses_accurate": 0.2351,
                "touches": 44.6619,
                "possession_lost": 8.1553,
                "dispossessed": 0.4135,
                "duels_lost": 3.8769,
                "aerial_won": 0.9,
                "aerial_lost": 0.7603,
                "interceptions": 0.7865,
                "tackles_won": 1.1377,
                "tackles": 1.8342,
                "clearances": 1.1732,
                "total_contest": 0.469,
                "won_contest": 0.2746,
                "challenges_lost": 1.0354,
                "fouls": 1.4892,
                "fouls_drawn": 0.8489,
                "blocks": 0.2446,
                "big_chances_created": 0.0678,
                "big_chances_missed": 0.0,
                "xgot": 0.2156,
                "ball_carries": 10.1449,
                "total_progression": 21.8416,
                "progressive_carries": 0.5954,
                "shots_off_target": 0.6551,
                "duel_xg_multiplier": 1.0149,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.46,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1117,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9029,
                "creation_factor": 0.9808,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1117,
                "goal_rate": 0.0764,
                "scorer_weight": 0.107,
                "squad_weight_total": 1.4744,
                "weight_share": 0.0726,
                "finishing_factor": 0.9029,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.6148,
                    "already": 0,
                    "effective_weight": 0.6148,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.1869
                  }
                ]
              }
            },
            {
              "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.7114,
                "expected_assists": 0.078,
                "assist_rate": 0.0571,
                "assists": 0,
                "expected_goals": 0.1185,
                "goal_rate": 0.0764,
                "goals": 0,
                "shots_on_target": 0.3425,
                "total_shots": 1.0009,
                "rating": 6.7499,
                "minutes": 77.69,
                "total_pass": 32.9171,
                "accurate_pass": 27.1135,
                "duels_won": 3.3481,
                "total_long_balls": 1.9224,
                "accurate_long_balls": 0.6511,
                "total_own_half_passes": 15.1462,
                "accurate_own_half_passes": 13.0364,
                "total_opp_half_passes": 17.7708,
                "accurate_opp_half_passes": 14.0771,
                "crosses_total": 0.959,
                "crosses_accurate": 0.2351,
                "touches": 44.6619,
                "possession_lost": 8.1553,
                "dispossessed": 0.4135,
                "duels_lost": 3.8769,
                "aerial_won": 0.9,
                "aerial_lost": 0.7603,
                "interceptions": 0.7865,
                "tackles_won": 1.1377,
                "tackles": 1.8342,
                "clearances": 1.1732,
                "total_contest": 0.469,
                "won_contest": 0.2746,
                "challenges_lost": 1.0354,
                "fouls": 1.4892,
                "fouls_drawn": 0.8489,
                "blocks": 0.2446,
                "big_chances_created": 0.0678,
                "big_chances_missed": 0.0,
                "xgot": 0.2156,
                "ball_carries": 10.1449,
                "total_progression": 21.8416,
                "progressive_carries": 0.5954,
                "shots_off_target": 0.6551,
                "duel_xg_multiplier": 1.0149,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.46,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iván Martín",
                "opponent_faced": "Iván Martín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1117,
                "projected_assists": 0,
                "assist_probability": 0.075,
                "finishing_factor": 0.9029,
                "creation_factor": 0.9808,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.075,
                "assist_rate": 0.0571,
                "provider_weight": 0.0765,
                "squad_weight_total": 0.8905,
                "weight_share": 0.0859,
                "creation_factor": 0.9808,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.2107,
                    "already": 0,
                    "effective_weight": 0.2107,
                    "runner_up": "Edu Expósito",
                    "runner_up_effective_weight": 0.158,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Bryan Zaragoza": {
          "player_id": 1084730,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 15,
          "height": 165,
          "market_value": 7500000,
          "stats": {
            "expected_goals": 0.1678,
            "goal_rate": 0.1382,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.1906,
            "key_pass": 1,
            "rating": 6.9614,
            "minutes": 77,
            "total_pass": 21,
            "accurate_pass": 17,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 15,
            "accurate_opp_half_passes": 12,
            "crosses_total": 4,
            "crosses_accurate": 1,
            "touches": 41,
            "possession_lost": 13.1652,
            "dispossessed": 0.591,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 5,
            "won_contest": 2,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.0442,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.2285,
            "offsides": 0,
            "ball_carries": 18,
            "total_progression": 97,
            "progressive_carries": 4,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.8937,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Jeanuël Belocian, Alvaro Mantilla",
            "opponent_faced": "Jeanuël Belocian, Alvaro Mantilla",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1545,
            "projected_assists": 0,
            "assist_probability": 0.1735,
            "finishing_factor": 1.0609,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421071,
              "match_date": "2026-10-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 82,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0275,
                "expected_assists": 0.2911,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 10,
                "key_pass": 2,
                "tackles": 1,
                "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": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 73,
                "rating": 8.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1478,
                "expected_assists": 0.0293,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 21,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "duels_won": 9,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 67,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0526,
                "expected_assists": 0.2013,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 29,
                "accurate_pass": 21,
                "key_pass": 1,
                "tackles": 1,
                "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": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0702,
                "expected_assists": 0.1012,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 13,
                "key_pass": 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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 10,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 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": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 15,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3444,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083136,
              "match_date": "2026-01-25",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Celta Vigo",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3202,
                "expected_assists": 0.3853,
                "total_shots": 4,
                "shots_on_target": 2,
                "total_pass": 38,
                "accurate_pass": 33,
                "key_pass": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083226,
              "match_date": "2026-01-18",
              "home_team": "Celta Vigo",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Celta Vigo",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8167,
                "expected_assists": 0.2286,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 26,
                "accurate_pass": 18,
                "key_pass": 1,
                "tackles": 2,
                "duels_won": 9,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083219,
              "match_date": "2026-01-12",
              "home_team": "Sevilla",
              "away_team": "Celta Vigo",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Celta Vigo",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 67,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1125,
                "expected_assists": 0.0294,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 11,
                "key_pass": 1,
                "duels_won": 7,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083196,
              "match_date": "2026-01-03",
              "home_team": "Celta Vigo",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Celta Vigo",
              "opponent": "Valencia",
              "stats": {
                "minutes": 67,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0545,
                "expected_assists": 0.3315,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 1,
                "duels_won": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3033,
            "combined_rank_score": 1005.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 497.0,
            "sofascore_rating": 6.8611,
            "sofascore_appearances": 19.0,
            "fifa_rank": 1513.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9614,
            "source_file": "data/player_rankings.csv",
            "player_name": "Bryan Zaragoza",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Dumitru Celeadnic",
                  "ranking": 3028
                },
                {
                  "player_name": "Leo Kapilevich",
                  "ranking": 3029
                },
                {
                  "player_name": "Jens Petter Hauge",
                  "ranking": 3030
                },
                {
                  "player_name": "James Justin",
                  "ranking": 3031
                },
                {
                  "player_name": "Jens Hofer",
                  "ranking": 3032
                }
              ],
              "lower": [
                {
                  "player_name": "Wout Weghorst",
                  "ranking": 3034
                },
                {
                  "player_name": "Jake Azzopardi",
                  "ranking": 3035
                },
                {
                  "player_name": "Ki Hyun Lee",
                  "ranking": 3036
                },
                {
                  "player_name": "Jaume Cuéllar",
                  "ranking": 3037
                },
                {
                  "player_name": "Daniel Cordero",
                  "ranking": 3038
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 25,
          "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": 25,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9994,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 25 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.1427,
                "goals": 0.1547,
                "goal_rate": 0.1547,
                "shots_on_target": 0.5461,
                "total_shots": 1.6644,
                "expected_assists": 0.1448,
                "key_pass": 1.4794,
                "rating": 6.9614,
                "minutes": 77.13,
                "total_pass": 21.3182,
                "accurate_pass": 17.0849,
                "duels_won": 4.8807,
                "total_long_balls": 1.9996,
                "accurate_long_balls": 1.2303,
                "total_opp_half_passes": 15.0146,
                "accurate_opp_half_passes": 11.5417,
                "crosses_total": 4.3935,
                "crosses_accurate": 1.2772,
                "touches": 40.5892,
                "possession_lost": 13.1731,
                "dispossessed": 0.5914,
                "duels_lost": 4.8989,
                "aerial_lost": 0.4941,
                "total_contest": 4.6616,
                "won_contest": 2.1781,
                "ball_recovery": 2.3932,
                "challenges_lost": 0.6684,
                "fouls": 0.6616,
                "fouls_drawn": 1.7235,
                "assists": 0.0442,
                "assist_rate": 0.0442,
                "interceptions": 0.0375,
                "tackles_won": 0.6179,
                "tackles": 0.9414,
                "clearances": 0.1632,
                "blocks": 0.0,
                "big_chances_created": 0.2025,
                "big_chances_missed": 0.0,
                "xgot": 0.1942,
                "offsides": 0.2459,
                "ball_carries": 18.4247,
                "total_progression": 97.2794,
                "progressive_carries": 4.412,
                "shots_off_target": 1.1183
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:07:14.441608+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 611,
                    "rows": 16533
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1526,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.1297,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1103,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0937,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0797,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0677,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-01-25",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0576,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-01-18",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0489,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-01-12",
                    "opponent": "Sevilla",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0416,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "Valencia",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0354,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.1073,
                  "totalOppositionHalfPasses": 12.9327,
                  "accurateOppositionHalfPasses": 9.5011,
                  "accuratePass": 14.1909,
                  "totalShots": 1.2828
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.14268334209918976,
                    "model_output": 0.1427,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2858
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0881
                      },
                      {
                        "name": "goals",
                        "importance": 0.0357
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0272
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0231
                      }
                    ],
                    "decomposition": {
                      "base": 0.1979,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0586
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0475
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0136
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0115
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0083
                        }
                      ],
                      "others": -0.0329,
                      "total": 0.1427,
                      "log_link": true,
                      "margin_base": -1.619934,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.25932
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.204853
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.067187
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.060889
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.046139
                        }
                      ],
                      "others_margin": -0.207445
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.15470680594444275,
                    "model_output": 0.1547,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1497
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0696
                      },
                      {
                        "name": "goals",
                        "importance": 0.0577
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0307
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0286
                      }
                    ],
                    "decomposition": {
                      "base": 0.2023,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0544
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0358
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0168
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0132
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0089
                        }
                      ],
                      "others": -0.0273,
                      "total": 0.1547,
                      "log_link": true,
                      "margin_base": -1.597983,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.238003
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.150044
                        },
                        {
                          "name": "goals",
                          "margin": -0.079101
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.066956
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.04786
                        }
                      ],
                      "others_margin": -0.162283
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5460528135299683,
                    "model_output": 0.5461,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2171
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0661
                      },
                      {
                        "name": "goals",
                        "importance": 0.0553
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0475
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0308
                      }
                    ],
                    "decomposition": {
                      "base": 0.5362,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1586
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0409
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0358
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0295
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0225
                        }
                      ],
                      "others": -0.02,
                      "total": 0.5461,
                      "log_link": true,
                      "margin_base": -0.623262,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.259066
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.060622
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.056227
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.04897
                        },
                        {
                          "name": "goals",
                          "margin": -0.038971
                        }
                      ],
                      "others_margin": -0.036054
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.6643853187561035,
                    "model_output": 1.6644,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2864
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.051
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.031
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 1.3807,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4174
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0909
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0638
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0488
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0414
                        }
                      ],
                      "others": 0.0136,
                      "total": 1.6644,
                      "log_link": false,
                      "margin_base": 1.380749,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.417434
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.090894
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.063803
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.048761
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.04144
                        }
                      ],
                      "others_margin": 0.013578
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.14483213424682617,
                    "model_output": 0.1448,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1157
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0645
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0607
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0558
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 0.0644,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0139
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0113
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0083
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0066
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0064
                        }
                      ],
                      "others": 0.0339,
                      "total": 0.1448,
                      "log_link": true,
                      "margin_base": -2.741965,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.19582
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.134929
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.088388
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.065634
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.059318
                        }
                      ],
                      "others_margin": 0.265696
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.479409098625183,
                    "model_output": 1.4794,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1481
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1244
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1112
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.052
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0395
                      }
                    ],
                    "decomposition": {
                      "base": 0.6805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2112
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0918
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.096
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0776
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0497
                        }
                      ],
                      "others": 0.2726,
                      "total": 1.4794,
                      "log_link": true,
                      "margin_base": -0.384987,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.270327
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.097941
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.093173
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.069412
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.042076
                        }
                      ],
                      "others_margin": 0.2037
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.961441516876221,
                    "model_output": 6.9614,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.059
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0483
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0421
                      },
                      {
                        "name": "rating",
                        "importance": 0.0418
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0415
                      }
                    ],
                    "decomposition": {
                      "base": 6.7683,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0635
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.049
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0292
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0247
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0195
                        }
                      ],
                      "others": 0.0462,
                      "total": 6.9614,
                      "log_link": false,
                      "margin_base": 6.768281,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.063474
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.049032
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.029195
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.024713
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.019515
                        }
                      ],
                      "others_margin": 0.046262
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 25,
                  "role_matches": 16,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9994, quality 0.493)",
              "stats": {
                "expected_goals": 0.1426,
                "goals": 0.1546,
                "goal_rate": 0.1546,
                "shots_on_target": 0.5457,
                "total_shots": 1.6634,
                "expected_assists": 0.1447,
                "key_pass": 1.4785,
                "rating": 6.9614,
                "minutes": 77.13,
                "total_pass": 21.3054,
                "accurate_pass": 17.0746,
                "duels_won": 4.8778,
                "total_long_balls": 1.9984,
                "accurate_long_balls": 1.2296,
                "total_opp_half_passes": 15.0056,
                "accurate_opp_half_passes": 11.5348,
                "crosses_total": 4.3909,
                "crosses_accurate": 1.2764,
                "touches": 40.5648,
                "possession_lost": 13.1652,
                "dispossessed": 0.591,
                "duels_lost": 4.896,
                "aerial_lost": 0.4938,
                "total_contest": 4.6588,
                "won_contest": 2.1768,
                "ball_recovery": 2.3918,
                "challenges_lost": 0.668,
                "fouls": 0.6612,
                "fouls_drawn": 1.7225,
                "assists": 0.0442,
                "assist_rate": 0.0442,
                "interceptions": 0.0375,
                "tackles_won": 0.6175,
                "tackles": 0.9408,
                "clearances": 0.1631,
                "blocks": 0.0,
                "big_chances_created": 0.2024,
                "big_chances_missed": 0.0,
                "xgot": 0.1941,
                "offsides": 0.2458,
                "ball_carries": 18.4136,
                "total_progression": 97.221,
                "progressive_carries": 4.4094,
                "shots_off_target": 1.1176
              },
              "params": {
                "market_value_eur": 7500000,
                "quality_factor": 0.4927,
                "boost_factor": 0.9994,
                "reference_quality": 0.505,
                "history_matches": 25,
                "history_shrink": 0.1667,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1426,
                "goals": 0.1546,
                "goal_rate": 0.1546,
                "shots_on_target": 0.5457,
                "total_shots": 1.6634,
                "expected_assists": 0.1447,
                "key_pass": 1.4785,
                "rating": 6.9614,
                "minutes": 77.13,
                "total_pass": 21.3054,
                "accurate_pass": 17.0746,
                "duels_won": 4.8778,
                "total_long_balls": 1.9984,
                "accurate_long_balls": 1.2296,
                "total_opp_half_passes": 15.0056,
                "accurate_opp_half_passes": 11.5348,
                "crosses_total": 4.3909,
                "crosses_accurate": 1.2764,
                "touches": 40.5648,
                "possession_lost": 13.1652,
                "dispossessed": 0.591,
                "duels_lost": 4.896,
                "aerial_lost": 0.4938,
                "total_contest": 4.6588,
                "won_contest": 2.1768,
                "ball_recovery": 2.3918,
                "challenges_lost": 0.668,
                "fouls": 0.6612,
                "fouls_drawn": 1.7225,
                "assists": 0.0442,
                "assist_rate": 0.0442,
                "interceptions": 0.0375,
                "tackles_won": 0.6175,
                "tackles": 0.9408,
                "clearances": 0.1631,
                "blocks": 0.0,
                "big_chances_created": 0.2024,
                "big_chances_missed": 0.0,
                "xgot": 0.1941,
                "offsides": 0.2458,
                "ball_carries": 18.4136,
                "total_progression": 97.221,
                "progressive_carries": 4.4094,
                "shots_off_target": 1.1176
              },
              "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.1274,
                "goals": 0.1382,
                "goal_rate": 0.1382,
                "shots_on_target": 0.4877,
                "total_shots": 1.4866,
                "expected_assists": 0.1447,
                "key_pass": 1.4785,
                "rating": 6.9614,
                "minutes": 77.13,
                "total_pass": 21.3054,
                "accurate_pass": 17.0746,
                "duels_won": 4.8778,
                "total_long_balls": 1.9984,
                "accurate_long_balls": 1.2296,
                "total_opp_half_passes": 15.0056,
                "accurate_opp_half_passes": 11.5348,
                "crosses_total": 4.3909,
                "crosses_accurate": 1.2764,
                "touches": 40.5648,
                "possession_lost": 13.1652,
                "dispossessed": 0.591,
                "duels_lost": 4.896,
                "aerial_lost": 0.4938,
                "total_contest": 4.6588,
                "won_contest": 2.1768,
                "ball_recovery": 2.3918,
                "challenges_lost": 0.668,
                "fouls": 0.6612,
                "fouls_drawn": 1.7225,
                "assists": 0.0442,
                "assist_rate": 0.0442,
                "interceptions": 0.0375,
                "tackles_won": 0.6175,
                "tackles": 0.9408,
                "clearances": 0.1631,
                "blocks": 0.0,
                "big_chances_created": 0.2024,
                "big_chances_missed": 0.0,
                "xgot": 0.1735,
                "offsides": 0.2458,
                "ball_carries": 18.4136,
                "total_progression": 97.221,
                "progressive_carries": 4.4094,
                "shots_off_target": 0.9988,
                "duel_xg_multiplier": 0.8937,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "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": "Jeanuël Belocian, Alvaro Mantilla",
                "opponent_faced": "Jeanuël Belocian, Alvaro Mantilla",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jeanuël Belocian, Alvaro Mantilla",
                  "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.8937,
                  "skill_edge": -0.0123,
                  "height_edge": -0.06,
                  "attacker_skill": 0.4927,
                  "defender_skill": 0.52,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Jeanuël Belocian",
                      "market_value": 12900000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.6027
                    },
                    {
                      "player": "Alvaro Mantilla",
                      "market_value": 1200000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.1274
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.6634,
                  "after": 1.4866
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.1176,
                  "after": 0.9988
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5457,
                  "after": 0.4877
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1941,
                  "after": 0.1735
                },
                {
                  "stat": "goals",
                  "before": 0.1546,
                  "after": 0.1382
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1426,
                  "after": 0.1274
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1274,
                "goal_rate": 0.1382,
                "goals": 0,
                "shots_on_target": 0.4877,
                "total_shots": 1.4866,
                "expected_assists": 0.1447,
                "key_pass": 1.4785,
                "rating": 6.9614,
                "minutes": 77.13,
                "total_pass": 21.3054,
                "accurate_pass": 17.0746,
                "duels_won": 4.8778,
                "total_long_balls": 1.9984,
                "accurate_long_balls": 1.2296,
                "total_opp_half_passes": 15.0056,
                "accurate_opp_half_passes": 11.5348,
                "crosses_total": 4.3909,
                "crosses_accurate": 1.2764,
                "touches": 40.5648,
                "possession_lost": 13.1652,
                "dispossessed": 0.591,
                "duels_lost": 4.896,
                "aerial_lost": 0.4938,
                "total_contest": 4.6588,
                "won_contest": 2.1768,
                "ball_recovery": 2.3918,
                "challenges_lost": 0.668,
                "fouls": 0.6612,
                "fouls_drawn": 1.7225,
                "assist_rate": 0.0442,
                "assists": 0,
                "interceptions": 0.0375,
                "tackles_won": 0.6175,
                "tackles": 0.9408,
                "clearances": 0.1631,
                "blocks": 0.0,
                "big_chances_created": 0.2024,
                "big_chances_missed": 0.0,
                "xgot": 0.1735,
                "offsides": 0.2458,
                "ball_carries": 18.4136,
                "total_progression": 97.221,
                "progressive_carries": 4.4094,
                "shots_off_target": 0.9988,
                "duel_xg_multiplier": 0.8937,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "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": "Jeanuël Belocian, Alvaro Mantilla",
                "opponent_faced": "Jeanuël Belocian, Alvaro Mantilla",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.46 (squad xG sum 1.1085, xG scale 1.3171, xA scale 1.3171, team xA 0.96 = 0.66 x lambda)",
              "stats": {
                "expected_goals": 0.1678,
                "goal_rate": 0.1382,
                "goals": 0,
                "shots_on_target": 0.4877,
                "total_shots": 1.4866,
                "expected_assists": 0.1906,
                "key_pass": 1.4785,
                "rating": 6.9614,
                "minutes": 77.13,
                "total_pass": 21.3054,
                "accurate_pass": 17.0746,
                "duels_won": 4.8778,
                "total_long_balls": 1.9984,
                "accurate_long_balls": 1.2296,
                "total_opp_half_passes": 15.0056,
                "accurate_opp_half_passes": 11.5348,
                "crosses_total": 4.3909,
                "crosses_accurate": 1.2764,
                "touches": 40.5648,
                "possession_lost": 13.1652,
                "dispossessed": 0.591,
                "duels_lost": 4.896,
                "aerial_lost": 0.4938,
                "total_contest": 4.6588,
                "won_contest": 2.1768,
                "ball_recovery": 2.3918,
                "challenges_lost": 0.668,
                "fouls": 0.6612,
                "fouls_drawn": 1.7225,
                "assist_rate": 0.0442,
                "assists": 0,
                "interceptions": 0.0375,
                "tackles_won": 0.6175,
                "tackles": 0.9408,
                "clearances": 0.1631,
                "blocks": 0.0,
                "big_chances_created": 0.2024,
                "big_chances_missed": 0.0,
                "xgot": 0.2285,
                "offsides": 0.2458,
                "ball_carries": 18.4136,
                "total_progression": 97.221,
                "progressive_carries": 4.4094,
                "shots_off_target": 0.9988,
                "duel_xg_multiplier": 0.8937,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "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": "Jeanuël Belocian, Alvaro Mantilla",
                "opponent_faced": "Jeanuël Belocian, Alvaro Mantilla",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0609,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.46,
                "squad_xg_sum": 1.1085,
                "squad_xa_sum": 0.7277,
                "team_expected_assists": 0.9585,
                "team_xa_to_xg_ratio": 0.6565,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3171,
                "xa_scale": 1.3171,
                "opponent_lambda": 1.312,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1274,
                  "after": 0.1678
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1447,
                  "after": 0.1906
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 3 by projected rating, fifa_overall 77.0)",
              "stats": {
                "expected_goals": 0.1678,
                "goal_rate": 0.1382,
                "goals": 0,
                "shots_on_target": 0.4877,
                "total_shots": 1.4866,
                "expected_assists": 0.1906,
                "key_pass": 1.4785,
                "rating": 6.9614,
                "minutes": 77.13,
                "total_pass": 21.3054,
                "accurate_pass": 17.0746,
                "duels_won": 4.8778,
                "total_long_balls": 1.9984,
                "accurate_long_balls": 1.2296,
                "total_opp_half_passes": 15.0056,
                "accurate_opp_half_passes": 11.5348,
                "crosses_total": 4.3909,
                "crosses_accurate": 1.2764,
                "touches": 40.5648,
                "possession_lost": 13.1652,
                "dispossessed": 0.591,
                "duels_lost": 4.896,
                "aerial_lost": 0.4938,
                "total_contest": 4.6588,
                "won_contest": 2.1768,
                "ball_recovery": 2.3918,
                "challenges_lost": 0.668,
                "fouls": 0.6612,
                "fouls_drawn": 1.7225,
                "assist_rate": 0.0442,
                "assists": 0,
                "interceptions": 0.0375,
                "tackles_won": 0.6175,
                "tackles": 0.9408,
                "clearances": 0.1631,
                "blocks": 0.0,
                "big_chances_created": 0.2024,
                "big_chances_missed": 0.0,
                "xgot": 0.2285,
                "offsides": 0.2458,
                "ball_carries": 18.4136,
                "total_progression": 97.221,
                "progressive_carries": 4.4094,
                "shots_off_target": 0.9988,
                "duel_xg_multiplier": 0.8937,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "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": "Jeanuël Belocian, Alvaro Mantilla",
                "opponent_faced": "Jeanuël Belocian, Alvaro Mantilla",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0609,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3033,
                "fifa_rank": 1513.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1678,
                "goal_rate": 0.1382,
                "goals": 0,
                "shots_on_target": 0.4877,
                "total_shots": 1.4866,
                "expected_assists": 0.1906,
                "key_pass": 1.4785,
                "rating": 6.9614,
                "minutes": 77.13,
                "total_pass": 21.3054,
                "accurate_pass": 17.0746,
                "duels_won": 4.8778,
                "total_long_balls": 1.9984,
                "accurate_long_balls": 1.2296,
                "total_opp_half_passes": 15.0056,
                "accurate_opp_half_passes": 11.5348,
                "crosses_total": 4.3909,
                "crosses_accurate": 1.2764,
                "touches": 40.5648,
                "possession_lost": 13.1652,
                "dispossessed": 0.591,
                "duels_lost": 4.896,
                "aerial_lost": 0.4938,
                "total_contest": 4.6588,
                "won_contest": 2.1768,
                "ball_recovery": 2.3918,
                "challenges_lost": 0.668,
                "fouls": 0.6612,
                "fouls_drawn": 1.7225,
                "assist_rate": 0.0442,
                "assists": 0,
                "interceptions": 0.0375,
                "tackles_won": 0.6175,
                "tackles": 0.9408,
                "clearances": 0.1631,
                "blocks": 0.0,
                "big_chances_created": 0.2024,
                "big_chances_missed": 0.0,
                "xgot": 0.2285,
                "offsides": 0.2458,
                "ball_carries": 18.4136,
                "total_progression": 97.221,
                "progressive_carries": 4.4094,
                "shots_off_target": 0.9988,
                "duel_xg_multiplier": 0.8937,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "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": "Jeanuël Belocian, Alvaro Mantilla",
                "opponent_faced": "Jeanuël Belocian, Alvaro Mantilla",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1545,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0609,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1545,
                "goal_rate": 0.1382,
                "scorer_weight": 0.178,
                "squad_weight_total": 1.4744,
                "weight_share": 0.1207,
                "finishing_factor": 1.0609,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.6148,
                    "already": 0,
                    "effective_weight": 0.6148,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.1869
                  }
                ]
              }
            },
            {
              "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.1678,
                "goal_rate": 0.1382,
                "goals": 0,
                "shots_on_target": 0.4877,
                "total_shots": 1.4866,
                "expected_assists": 0.1906,
                "key_pass": 1.4785,
                "rating": 6.9614,
                "minutes": 77.13,
                "total_pass": 21.3054,
                "accurate_pass": 17.0746,
                "duels_won": 4.8778,
                "total_long_balls": 1.9984,
                "accurate_long_balls": 1.2296,
                "total_opp_half_passes": 15.0056,
                "accurate_opp_half_passes": 11.5348,
                "crosses_total": 4.3909,
                "crosses_accurate": 1.2764,
                "touches": 40.5648,
                "possession_lost": 13.1652,
                "dispossessed": 0.591,
                "duels_lost": 4.896,
                "aerial_lost": 0.4938,
                "total_contest": 4.6588,
                "won_contest": 2.1768,
                "ball_recovery": 2.3918,
                "challenges_lost": 0.668,
                "fouls": 0.6612,
                "fouls_drawn": 1.7225,
                "assist_rate": 0.0442,
                "assists": 0,
                "interceptions": 0.0375,
                "tackles_won": 0.6175,
                "tackles": 0.9408,
                "clearances": 0.1631,
                "blocks": 0.0,
                "big_chances_created": 0.2024,
                "big_chances_missed": 0.0,
                "xgot": 0.2285,
                "offsides": 0.2458,
                "ball_carries": 18.4136,
                "total_progression": 97.221,
                "progressive_carries": 4.4094,
                "shots_off_target": 0.9988,
                "duel_xg_multiplier": 0.8937,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "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": "Jeanuël Belocian, Alvaro Mantilla",
                "opponent_faced": "Jeanuël Belocian, Alvaro Mantilla",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1545,
                "projected_assists": 0,
                "assist_probability": 0.1735,
                "finishing_factor": 1.0609,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1735,
                "assist_rate": 0.0442,
                "provider_weight": 0.1525,
                "squad_weight_total": 0.8905,
                "weight_share": 0.1712,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.2107,
                    "already": 0,
                    "effective_weight": 0.2107,
                    "runner_up": "Edu Expósito",
                    "runner_up_effective_weight": 0.158,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Roberto Fernández": {
          "player_id": 1392592,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 186,
          "market_value": 21000000,
          "stats": {
            "expected_goals": 0.5819,
            "goal_rate": 0.4696,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0512,
            "key_pass": 1,
            "rating": 6.8284,
            "minutes": 83,
            "total_pass": 11,
            "accurate_pass": 7,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 7.6522,
            "dispossessed": 0.4477,
            "duels_lost": 6,
            "aerial_lost": 3,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 2,
            "assist_rate": 0.0258,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.5887,
            "offsides": 1,
            "ball_carries": 5,
            "total_progression": 3,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0916,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.262,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Jeanuël Belocian, Alvaro Mantilla",
            "opponent_faced": "Jeanuël Belocian, Alvaro Mantilla",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.4412,
            "projected_assists": 0,
            "assist_probability": 0.0499,
            "finishing_factor": 1.0565,
            "creation_factor": 0.8526,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16421071,
              "match_date": "2026-10-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 82,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1577,
                "expected_assists": 0.0007,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 8,
                "accurate_pass": 4,
                "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": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 82,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5599,
                "expected_assists": 0.0074,
                "total_shots": 4,
                "shots_on_target": 3,
                "total_pass": 11,
                "accurate_pass": 9,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1692,
                "expected_assists": 0.0031,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 4,
                "accurate_pass": 4,
                "aerial_won": 3,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2843,
                "expected_assists": 0.0447,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 9,
                "key_pass": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 80,
                "rating": 7.2,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.3134,
                "expected_assists": 0.1532,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 12,
                "accurate_pass": 4,
                "clearances": 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": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.259,
                "expected_assists": 0.0027,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 7,
                "accurate_pass": 6,
                "tackles": 1,
                "tackles_won": 1,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 83,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2734,
                "expected_assists": 0.0482,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 14,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 3,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.62,
                "expected_assists": 0.0121,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 10,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 4,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 8.7,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4597,
                "expected_assists": 0.0976,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 12,
                "accurate_pass": 7,
                "key_pass": 2,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 67,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.1713,
                "expected_assists": 0.0008,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 11,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3459,
            "combined_rank_score": 1454.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 6.0,
            "sofascore_rating": 8.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2903.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8284,
            "source_file": "data/player_rankings.csv",
            "player_name": "Roberto Fernández",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Marco Sportiello",
                  "ranking": 3454
                },
                {
                  "player_name": "Arsène Kouassi",
                  "ranking": 3455
                },
                {
                  "player_name": "Leif Davis",
                  "ranking": 3456
                },
                {
                  "player_name": "Ismaëlo Ganiou",
                  "ranking": 3457
                },
                {
                  "player_name": "Olivier Giroud",
                  "ranking": 3458
                }
              ],
              "lower": [
                {
                  "player_name": "Eric Dier",
                  "ranking": 3460
                },
                {
                  "player_name": "Benjamin Nygren",
                  "ranking": 3461
                },
                {
                  "player_name": "Arnau Tenas",
                  "ranking": 3462
                },
                {
                  "player_name": "Yvon Mvogo",
                  "ranking": 3463
                },
                {
                  "player_name": "Duje Ćaleta-Car",
                  "ranking": 3464
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.779,
          "history_matches": 47,
          "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": 47,
            "data_confidence": 0.779,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0039,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 262.0,
              "goals_per90": 1.0344827586206895,
              "assists_per90": 0.0,
              "shots_per90": 2.06,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.1933
            },
            "rationale": "XGBoost regressor (F_service) evaluated 47 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.19, gls/90: 1.0344827586206895, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.4031,
                "goals": 0.4222,
                "goal_rate": 0.4222,
                "shots_on_target": 1.0476,
                "total_shots": 2.2739,
                "expected_assists": 0.0388,
                "key_pass": 0.5615,
                "rating": 6.8284,
                "minutes": 83.3,
                "total_pass": 10.5734,
                "accurate_pass": 7.1142,
                "duels_won": 4.4641,
                "total_long_balls": 0.3358,
                "accurate_long_balls": 0.1465,
                "total_opp_half_passes": 7.0721,
                "accurate_opp_half_passes": 4.2455,
                "crosses_total": 0.1351,
                "crosses_accurate": 0.0081,
                "touches": 22.4746,
                "possession_lost": 7.6225,
                "dispossessed": 0.446,
                "duels_lost": 5.8729,
                "aerial_lost": 3.1255,
                "total_contest": 0.5736,
                "won_contest": 0.2345,
                "ball_recovery": 1.0485,
                "challenges_lost": 0.5966,
                "fouls": 1.5299,
                "fouls_drawn": 1.532,
                "assists": 0.026,
                "assist_rate": 0.026,
                "interceptions": 0.1208,
                "tackles_won": 0.5866,
                "tackles": 0.6164,
                "clearances": 1.2766,
                "blocks": 0.1059,
                "big_chances_created": 0.0049,
                "big_chances_missed": 0.6101,
                "xgot": 0.4079,
                "offsides": 0.9894,
                "ball_carries": 5.026,
                "total_progression": 2.9793,
                "progressive_carries": 0.2943,
                "shots_off_target": 1.2262
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:07:14.441608+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 611,
                    "rows": 16533
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1084,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0783,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 8.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.3969,
                  "totalOppositionHalfPasses": 6.7005,
                  "accurateOppositionHalfPasses": 4.0036,
                  "accuratePass": 6.753,
                  "totalShots": 2.2768
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.40309852361679077,
                    "model_output": 0.4031,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2858
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0881
                      },
                      {
                        "name": "goals",
                        "importance": 0.0357
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0272
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0231
                      }
                    ],
                    "decomposition": {
                      "base": 0.1979,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.068
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0341
                        },
                        {
                          "name": "goals",
                          "contribution": 0.023
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0191
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0191
                        }
                      ],
                      "others": 0.0419,
                      "total": 0.4031,
                      "log_link": true,
                      "margin_base": -1.619934,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.295303
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.120674
                        },
                        {
                          "name": "goals",
                          "margin": 0.073918
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.057519
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.054456
                        }
                      ],
                      "others_margin": 0.10949
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.42215457558631897,
                    "model_output": 0.4222,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1497
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0696
                      },
                      {
                        "name": "goals",
                        "importance": 0.0577
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0307
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0286
                      }
                    ],
                    "decomposition": {
                      "base": 0.2023,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0559
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0347
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0273
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0244
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0206
                        }
                      ],
                      "others": 0.057,
                      "total": 0.4222,
                      "log_link": true,
                      "margin_base": -1.597983,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.244048
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.126211
                        },
                        {
                          "name": "goals",
                          "margin": 0.089245
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.073291
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.057973
                        }
                      ],
                      "others_margin": 0.144832
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 1.0476409196853638,
                    "model_output": 1.0476,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2171
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0661
                      },
                      {
                        "name": "goals",
                        "importance": 0.0553
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0475
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0308
                      }
                    ],
                    "decomposition": {
                      "base": 0.5362,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.167
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0754
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.071
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0588
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0386
                        }
                      ],
                      "others": 0.1006,
                      "total": 1.0476,
                      "log_link": true,
                      "margin_base": -0.623262,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.271121
                        },
                        {
                          "name": "goals",
                          "margin": 0.101797
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.087253
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.0669
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.041606
                        }
                      ],
                      "others_margin": 0.101125
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.2738606929779053,
                    "model_output": 2.2739,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2864
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.051
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.031
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 1.3807,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4936
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1593
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0838
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0791
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0658
                        }
                      ],
                      "others": 0.1698,
                      "total": 2.2739,
                      "log_link": false,
                      "margin_base": 1.380749,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.493602
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.159349
                        },
                        {
                          "name": "goals",
                          "margin": 0.083805
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.079109
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.065771
                        }
                      ],
                      "others_margin": 0.169692
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03879658505320549,
                    "model_output": 0.0388,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1157
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0645
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0607
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0558
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 0.0644,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0209
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0136
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0078
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0052
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0039
                        }
                      ],
                      "others": -0.016,
                      "total": 0.0388,
                      "log_link": true,
                      "margin_base": -2.741965,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.281238
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.173611
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.11468
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.085216
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.068024
                        }
                      ],
                      "others_margin": -0.347165
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5615322589874268,
                    "model_output": 0.5615,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1481
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1244
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1112
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.052
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0395
                      }
                    ],
                    "decomposition": {
                      "base": 0.6805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1866
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.057
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0461
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0357
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0286
                        }
                      ],
                      "others": -0.1382,
                      "total": 0.5615,
                      "log_link": true,
                      "margin_base": -0.384987,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.24238
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.06803
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.058589
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.047825
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.040071
                        }
                      ],
                      "others_margin": -0.219965
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.828402519226074,
                    "model_output": 6.8284,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.059
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0483
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0421
                      },
                      {
                        "name": "rating",
                        "importance": 0.0418
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0415
                      }
                    ],
                    "decomposition": {
                      "base": 6.7683,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.058
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0174
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0174
                        },
                        {
                          "name": "rating",
                          "contribution": 0.017
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0134
                        }
                      ],
                      "others": -0.0283,
                      "total": 6.8284,
                      "log_link": false,
                      "margin_base": 6.768281,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.05796
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.01743
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.017369
                        },
                        {
                          "name": "rating",
                          "margin": 0.017043
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.013394
                        }
                      ],
                      "others_margin": -0.028336
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 47,
                  "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 1.0039, quality 0.641)",
              "stats": {
                "expected_goals": 0.4047,
                "goals": 0.4238,
                "goal_rate": 0.4238,
                "shots_on_target": 1.0517,
                "total_shots": 2.2827,
                "expected_assists": 0.0389,
                "key_pass": 0.5637,
                "rating": 6.8284,
                "minutes": 83.3,
                "total_pass": 10.6146,
                "accurate_pass": 7.1419,
                "duels_won": 4.4815,
                "total_long_balls": 0.3371,
                "accurate_long_balls": 0.1471,
                "total_opp_half_passes": 7.0997,
                "accurate_opp_half_passes": 4.2621,
                "crosses_total": 0.1356,
                "crosses_accurate": 0.0081,
                "touches": 22.5623,
                "possession_lost": 7.6522,
                "dispossessed": 0.4477,
                "duels_lost": 5.8958,
                "aerial_lost": 3.1377,
                "total_contest": 0.5758,
                "won_contest": 0.2354,
                "ball_recovery": 1.0526,
                "challenges_lost": 0.5989,
                "fouls": 1.5359,
                "fouls_drawn": 1.538,
                "assists": 0.0261,
                "assist_rate": 0.0261,
                "interceptions": 0.1213,
                "tackles_won": 0.5889,
                "tackles": 0.6188,
                "clearances": 1.2816,
                "blocks": 0.1063,
                "big_chances_created": 0.0049,
                "big_chances_missed": 0.6125,
                "xgot": 0.4095,
                "offsides": 0.9933,
                "ball_carries": 5.0456,
                "total_progression": 2.9909,
                "progressive_carries": 0.2954,
                "shots_off_target": 1.231
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.0039,
                "reference_quality": 0.505,
                "history_matches": 47,
                "history_shrink": 0.0962,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0121)",
              "stats": {
                "expected_goals": 0.4047,
                "goals": 0.4302,
                "goal_rate": 0.4302,
                "shots_on_target": 1.0505,
                "total_shots": 2.2782,
                "expected_assists": 0.0389,
                "key_pass": 0.5637,
                "rating": 6.8284,
                "minutes": 83.3,
                "total_pass": 10.6146,
                "accurate_pass": 7.1419,
                "duels_won": 4.4815,
                "total_long_balls": 0.3371,
                "accurate_long_balls": 0.1471,
                "total_opp_half_passes": 7.0997,
                "accurate_opp_half_passes": 4.2621,
                "crosses_total": 0.1378,
                "crosses_accurate": 0.0081,
                "touches": 22.5623,
                "possession_lost": 7.6522,
                "dispossessed": 0.4477,
                "duels_lost": 5.8958,
                "aerial_lost": 3.1377,
                "total_contest": 0.5758,
                "won_contest": 0.2354,
                "ball_recovery": 1.0526,
                "challenges_lost": 0.5989,
                "fouls": 1.5289,
                "fouls_drawn": 1.5387,
                "assists": 0.0258,
                "assist_rate": 0.0258,
                "interceptions": 0.1237,
                "tackles_won": 0.5856,
                "tackles": 0.6188,
                "clearances": 1.2816,
                "blocks": 0.1063,
                "big_chances_created": 0.0049,
                "big_chances_missed": 0.6125,
                "xgot": 0.4095,
                "offsides": 0.9813,
                "ball_carries": 5.0456,
                "total_progression": 2.9909,
                "progressive_carries": 0.2954,
                "shots_off_target": 1.231
              },
              "params": {
                "blend_weight": 0.0121,
                "history_matches": 47,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9256,
                "prior_reliability": 0.1933,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "totalOffside",
                  "before": 0.9933,
                  "after": 0.9813
                },
                {
                  "stat": "fouls",
                  "before": 1.5359,
                  "after": 1.5289
                },
                {
                  "stat": "goals",
                  "before": 0.4238,
                  "after": 0.4302
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.4047,
                "goals": 0.4302,
                "goal_rate": 0.4302,
                "shots_on_target": 1.0505,
                "total_shots": 2.2815,
                "expected_assists": 0.0389,
                "key_pass": 0.5637,
                "rating": 6.8284,
                "minutes": 83.3,
                "total_pass": 10.6146,
                "accurate_pass": 7.1419,
                "duels_won": 4.4815,
                "total_long_balls": 0.3371,
                "accurate_long_balls": 0.1471,
                "total_opp_half_passes": 7.0997,
                "accurate_opp_half_passes": 4.2621,
                "crosses_total": 0.1378,
                "crosses_accurate": 0.0081,
                "touches": 22.5623,
                "possession_lost": 7.6522,
                "dispossessed": 0.4477,
                "duels_lost": 5.8958,
                "aerial_lost": 3.1377,
                "total_contest": 0.5758,
                "won_contest": 0.2354,
                "ball_recovery": 1.0526,
                "challenges_lost": 0.5989,
                "fouls": 1.5289,
                "fouls_drawn": 1.5387,
                "assists": 0.0258,
                "assist_rate": 0.0258,
                "interceptions": 0.1237,
                "tackles_won": 0.5856,
                "tackles": 0.6188,
                "clearances": 1.2816,
                "blocks": 0.1063,
                "big_chances_created": 0.0049,
                "big_chances_missed": 0.6125,
                "xgot": 0.4095,
                "offsides": 0.9813,
                "ball_carries": 5.0456,
                "total_progression": 2.9909,
                "progressive_carries": 0.2954,
                "shots_off_target": 1.231
              },
              "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.4418,
                "goals": 0.4696,
                "goal_rate": 0.4696,
                "shots_on_target": 1.1467,
                "total_shots": 2.4905,
                "expected_assists": 0.0389,
                "key_pass": 0.5637,
                "rating": 6.8284,
                "minutes": 83.3,
                "total_pass": 10.6146,
                "accurate_pass": 7.1419,
                "duels_won": 4.4815,
                "total_long_balls": 0.3371,
                "accurate_long_balls": 0.1471,
                "total_opp_half_passes": 7.0997,
                "accurate_opp_half_passes": 4.2621,
                "crosses_total": 0.1378,
                "crosses_accurate": 0.0081,
                "touches": 22.5623,
                "possession_lost": 7.6522,
                "dispossessed": 0.4477,
                "duels_lost": 5.8958,
                "aerial_lost": 3.1377,
                "total_contest": 0.5758,
                "won_contest": 0.2354,
                "ball_recovery": 1.0526,
                "challenges_lost": 0.5989,
                "fouls": 1.5289,
                "fouls_drawn": 1.5387,
                "assists": 0.0258,
                "assist_rate": 0.0258,
                "interceptions": 0.1237,
                "tackles_won": 0.5856,
                "tackles": 0.6188,
                "clearances": 1.2816,
                "blocks": 0.1063,
                "big_chances_created": 0.0049,
                "big_chances_missed": 0.6686,
                "xgot": 0.447,
                "offsides": 0.9813,
                "ball_carries": 5.0456,
                "total_progression": 2.9909,
                "progressive_carries": 0.2954,
                "shots_off_target": 1.3438,
                "duel_xg_multiplier": 1.0916,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.262,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jeanuël Belocian, Alvaro Mantilla",
                "opponent_faced": "Jeanuël Belocian, Alvaro Mantilla",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jeanuël Belocian, Alvaro Mantilla",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.262,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.0916,
                  "skill_edge": 0.0543,
                  "height_edge": 0.008,
                  "attacker_skill": 0.6408,
                  "defender_skill": 0.52,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Jeanuël Belocian",
                      "market_value": 12900000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.6027
                    },
                    {
                      "player": "Alvaro Mantilla",
                      "market_value": 1200000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.4418
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.2815,
                  "after": 2.4905
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.231,
                  "after": 1.3438
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.0505,
                  "after": 1.1467
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.6125,
                  "after": 0.6686
                },
                {
                  "stat": "goals",
                  "before": 0.4302,
                  "after": 0.4696
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.4095,
                  "after": 0.447
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.4047,
                  "after": 0.4418
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.4418,
                "goal_rate": 0.4696,
                "goals": 0,
                "shots_on_target": 1.1467,
                "total_shots": 2.4905,
                "expected_assists": 0.0389,
                "key_pass": 0.5637,
                "rating": 6.8284,
                "minutes": 83.3,
                "total_pass": 10.6146,
                "accurate_pass": 7.1419,
                "duels_won": 4.4815,
                "total_long_balls": 0.3371,
                "accurate_long_balls": 0.1471,
                "total_opp_half_passes": 7.0997,
                "accurate_opp_half_passes": 4.2621,
                "crosses_total": 0.1378,
                "crosses_accurate": 0.0081,
                "touches": 22.5623,
                "possession_lost": 7.6522,
                "dispossessed": 0.4477,
                "duels_lost": 5.8958,
                "aerial_lost": 3.1377,
                "total_contest": 0.5758,
                "won_contest": 0.2354,
                "ball_recovery": 1.0526,
                "challenges_lost": 0.5989,
                "fouls": 1.5289,
                "fouls_drawn": 1.5387,
                "assist_rate": 0.0258,
                "assists": 0,
                "interceptions": 0.1237,
                "tackles_won": 0.5856,
                "tackles": 0.6188,
                "clearances": 1.2816,
                "blocks": 0.1063,
                "big_chances_created": 0.0049,
                "big_chances_missed": 0.6686,
                "xgot": 0.447,
                "offsides": 0.9813,
                "ball_carries": 5.0456,
                "total_progression": 2.9909,
                "progressive_carries": 0.2954,
                "shots_off_target": 1.3438,
                "duel_xg_multiplier": 1.0916,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.262,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jeanuël Belocian, Alvaro Mantilla",
                "opponent_faced": "Jeanuël Belocian, Alvaro Mantilla",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.46 (squad xG sum 1.1085, xG scale 1.3171, xA scale 1.3171, team xA 0.96 = 0.66 x lambda)",
              "stats": {
                "expected_goals": 0.5819,
                "goal_rate": 0.4696,
                "goals": 0,
                "shots_on_target": 1.1467,
                "total_shots": 2.4905,
                "expected_assists": 0.0512,
                "key_pass": 0.5637,
                "rating": 6.8284,
                "minutes": 83.3,
                "total_pass": 10.6146,
                "accurate_pass": 7.1419,
                "duels_won": 4.4815,
                "total_long_balls": 0.3371,
                "accurate_long_balls": 0.1471,
                "total_opp_half_passes": 7.0997,
                "accurate_opp_half_passes": 4.2621,
                "crosses_total": 0.1378,
                "crosses_accurate": 0.0081,
                "touches": 22.5623,
                "possession_lost": 7.6522,
                "dispossessed": 0.4477,
                "duels_lost": 5.8958,
                "aerial_lost": 3.1377,
                "total_contest": 0.5758,
                "won_contest": 0.2354,
                "ball_recovery": 1.0526,
                "challenges_lost": 0.5989,
                "fouls": 1.5289,
                "fouls_drawn": 1.5387,
                "assist_rate": 0.0258,
                "assists": 0,
                "interceptions": 0.1237,
                "tackles_won": 0.5856,
                "tackles": 0.6188,
                "clearances": 1.2816,
                "blocks": 0.1063,
                "big_chances_created": 0.0049,
                "big_chances_missed": 0.6686,
                "xgot": 0.5887,
                "offsides": 0.9813,
                "ball_carries": 5.0456,
                "total_progression": 2.9909,
                "progressive_carries": 0.2954,
                "shots_off_target": 1.3438,
                "duel_xg_multiplier": 1.0916,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.262,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jeanuël Belocian, Alvaro Mantilla",
                "opponent_faced": "Jeanuël Belocian, Alvaro Mantilla",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0565,
                "creation_factor": 0.8526
              },
              "params": {
                "team_lambda": 1.46,
                "squad_xg_sum": 1.1085,
                "squad_xa_sum": 0.7277,
                "team_expected_assists": 0.9585,
                "team_xa_to_xg_ratio": 0.6565,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3171,
                "xa_scale": 1.3171,
                "opponent_lambda": 1.312,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.4418,
                  "after": 0.5819
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0389,
                  "after": 0.0512
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 74.0)",
              "stats": {
                "expected_goals": 0.5819,
                "goal_rate": 0.4696,
                "goals": 0,
                "shots_on_target": 1.1467,
                "total_shots": 2.4905,
                "expected_assists": 0.0512,
                "key_pass": 0.5637,
                "rating": 6.8284,
                "minutes": 83.3,
                "total_pass": 10.6146,
                "accurate_pass": 7.1419,
                "duels_won": 4.4815,
                "total_long_balls": 0.3371,
                "accurate_long_balls": 0.1471,
                "total_opp_half_passes": 7.0997,
                "accurate_opp_half_passes": 4.2621,
                "crosses_total": 0.1378,
                "crosses_accurate": 0.0081,
                "touches": 22.5623,
                "possession_lost": 7.6522,
                "dispossessed": 0.4477,
                "duels_lost": 5.8958,
                "aerial_lost": 3.1377,
                "total_contest": 0.5758,
                "won_contest": 0.2354,
                "ball_recovery": 1.0526,
                "challenges_lost": 0.5989,
                "fouls": 1.5289,
                "fouls_drawn": 1.5387,
                "assist_rate": 0.0258,
                "assists": 0,
                "interceptions": 0.1237,
                "tackles_won": 0.5856,
                "tackles": 0.6188,
                "clearances": 1.2816,
                "blocks": 0.1063,
                "big_chances_created": 0.0049,
                "big_chances_missed": 0.6686,
                "xgot": 0.5887,
                "offsides": 0.9813,
                "ball_carries": 5.0456,
                "total_progression": 2.9909,
                "progressive_carries": 0.2954,
                "shots_off_target": 1.3438,
                "duel_xg_multiplier": 1.0916,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.262,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jeanuël Belocian, Alvaro Mantilla",
                "opponent_faced": "Jeanuël Belocian, Alvaro Mantilla",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0565,
                "creation_factor": 0.8526,
                "fifa_overall": 74.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": 3459,
                "fifa_rank": 2903.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.5819,
                "goal_rate": 0.4696,
                "goals": 1,
                "shots_on_target": 1.1467,
                "total_shots": 2.4905,
                "expected_assists": 0.0512,
                "key_pass": 0.5637,
                "rating": 6.8284,
                "minutes": 83.3,
                "total_pass": 10.6146,
                "accurate_pass": 7.1419,
                "duels_won": 4.4815,
                "total_long_balls": 0.3371,
                "accurate_long_balls": 0.1471,
                "total_opp_half_passes": 7.0997,
                "accurate_opp_half_passes": 4.2621,
                "crosses_total": 0.1378,
                "crosses_accurate": 0.0081,
                "touches": 22.5623,
                "possession_lost": 7.6522,
                "dispossessed": 0.4477,
                "duels_lost": 5.8958,
                "aerial_lost": 3.1377,
                "total_contest": 0.5758,
                "won_contest": 0.2354,
                "ball_recovery": 1.0526,
                "challenges_lost": 0.5989,
                "fouls": 1.5289,
                "fouls_drawn": 1.5387,
                "assist_rate": 0.0258,
                "assists": 0,
                "interceptions": 0.1237,
                "tackles_won": 0.5856,
                "tackles": 0.6188,
                "clearances": 1.2816,
                "blocks": 0.1063,
                "big_chances_created": 0.0049,
                "big_chances_missed": 0.6686,
                "xgot": 0.5887,
                "offsides": 0.9813,
                "ball_carries": 5.0456,
                "total_progression": 2.9909,
                "progressive_carries": 0.2954,
                "shots_off_target": 1.3438,
                "duel_xg_multiplier": 1.0916,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.262,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jeanuël Belocian, Alvaro Mantilla",
                "opponent_faced": "Jeanuël Belocian, Alvaro Mantilla",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4412,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0565,
                "creation_factor": 0.8526,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.4412,
                "goal_rate": 0.4696,
                "scorer_weight": 0.6148,
                "squad_weight_total": 1.4744,
                "weight_share": 0.417,
                "finishing_factor": 1.0565,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.6148,
                    "already": 0,
                    "effective_weight": 0.6148,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.1869
                  }
                ]
              }
            },
            {
              "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.5819,
                "goal_rate": 0.4696,
                "goals": 1,
                "shots_on_target": 1.1467,
                "total_shots": 2.4905,
                "expected_assists": 0.0512,
                "key_pass": 0.5637,
                "rating": 6.8284,
                "minutes": 83.3,
                "total_pass": 10.6146,
                "accurate_pass": 7.1419,
                "duels_won": 4.4815,
                "total_long_balls": 0.3371,
                "accurate_long_balls": 0.1471,
                "total_opp_half_passes": 7.0997,
                "accurate_opp_half_passes": 4.2621,
                "crosses_total": 0.1378,
                "crosses_accurate": 0.0081,
                "touches": 22.5623,
                "possession_lost": 7.6522,
                "dispossessed": 0.4477,
                "duels_lost": 5.8958,
                "aerial_lost": 3.1377,
                "total_contest": 0.5758,
                "won_contest": 0.2354,
                "ball_recovery": 1.0526,
                "challenges_lost": 0.5989,
                "fouls": 1.5289,
                "fouls_drawn": 1.5387,
                "assist_rate": 0.0258,
                "assists": 0,
                "interceptions": 0.1237,
                "tackles_won": 0.5856,
                "tackles": 0.6188,
                "clearances": 1.2816,
                "blocks": 0.1063,
                "big_chances_created": 0.0049,
                "big_chances_missed": 0.6686,
                "xgot": 0.5887,
                "offsides": 0.9813,
                "ball_carries": 5.0456,
                "total_progression": 2.9909,
                "progressive_carries": 0.2954,
                "shots_off_target": 1.3438,
                "duel_xg_multiplier": 1.0916,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.262,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jeanuël Belocian, Alvaro Mantilla",
                "opponent_faced": "Jeanuël Belocian, Alvaro Mantilla",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4412,
                "projected_assists": 0,
                "assist_probability": 0.0499,
                "finishing_factor": 1.0565,
                "creation_factor": 0.8526,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0499,
                "assist_rate": 0.0258,
                "provider_weight": 0.0437,
                "squad_weight_total": 0.8905,
                "weight_share": 0.049,
                "creation_factor": 0.8526,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.2107,
                    "already": 0,
                    "effective_weight": 0.2107,
                    "runner_up": "Edu Expósito",
                    "runner_up_effective_weight": 0.158,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Marko Dmitrović": {
          "player_id": 94527,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 194,
          "market_value": 650000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.0059,
            "rating": 6.9847,
            "minutes": 4,
            "total_pass": 4,
            "accurate_pass": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "touches": 6,
            "clearances": 0,
            "ball_recovery": 2,
            "high_claims": 0,
            "punches": 0.095,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 1.4224,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 2,
            "bench_appearance_probability": 0.131,
            "bench_expected_minutes": 4.39,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.246,
            "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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 5.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 22,
                "clearances": 1,
                "ball_recovery": 10,
                "saves": 3,
                "goals_prevented": -0.9473
              },
              "has_player_stats": true,
              "league_name": "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": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0025,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 19,
                "clearances": 3,
                "ball_recovery": 8,
                "goals_prevented": -1.0696
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 16,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 15,
                "saves": 4,
                "goals_prevented": 0.5262
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 1,
                "ball_recovery": 18,
                "saves": 2,
                "goals_prevented": -0.0954
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 16,
                "interceptions": 1,
                "ball_recovery": 9,
                "saves": 7,
                "goals_prevented": 1.0653
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 9,
                "clearances": 1,
                "ball_recovery": 8,
                "saves": 6,
                "goals_prevented": -0.0185
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 14,
                "ball_recovery": 10
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0043,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 8,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 13,
                "saves": 6,
                "goals_prevented": -0.3181
              },
              "has_player_stats": true,
              "league_name": "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": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 8.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0031,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 21,
                "ball_recovery": 11,
                "saves": 4,
                "goals_prevented": 1.7533
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083587,
              "match_date": "2026-05-09",
              "home_team": "Sevilla",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 9,
                "clearances": 1,
                "ball_recovery": 14,
                "saves": 4,
                "goals_prevented": -0.7879
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1310,
            "combined_rank_score": 568.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 180.0,
            "sofascore_rating": 7.2333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 957.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9847,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marko Dmitrović",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mario Gila",
                  "ranking": 1305
                },
                {
                  "player_name": "Son Heung Min",
                  "ranking": 1306
                },
                {
                  "player_name": "Bazoumana Touré",
                  "ranking": 1307
                },
                {
                  "player_name": "Emil Audero",
                  "ranking": 1308
                },
                {
                  "player_name": "Lukáš Haraslín",
                  "ranking": 1309
                }
              ],
              "lower": [
                {
                  "player_name": "Tino Livramento",
                  "ranking": 1311
                },
                {
                  "player_name": "Yéremy Pino",
                  "ranking": 1312
                },
                {
                  "player_name": "Cecilio Waterman",
                  "ranking": 1313
                },
                {
                  "player_name": "Javier Guerra",
                  "ranking": 1314
                },
                {
                  "player_name": "Pedro Gonçalves",
                  "ranking": 1315
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 44,
          "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": 44,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.131,
            "market_value_adjustment": 0.9979,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "Bench projection scaled from XGBoost G_service (44 historical appearances) to 4.4 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.8825,
                "goals_prevented": 0.0384,
                "rating": 6.9847,
                "minutes": 28.5,
                "total_pass": 25.5859,
                "accurate_pass": 16.4781,
                "total_long_balls": 14.4926,
                "accurate_long_balls": 5.4232,
                "touches": 38.9317,
                "clearances": 1.0705,
                "ball_recovery": 10.9523,
                "high_claims": 1.8074,
                "punches": 0.6176,
                "aerial_won": 0.2246,
                "sweeper_actions": 1.6054,
                "sweeper_accurate": 1.4353,
                "saves_inside_box": 2.0161,
                "possession_lost": 9.2489,
                "duels_won": 0.3388,
                "duels_lost": 0.2334,
                "total_contest": 0.0922,
                "won_contest": 0.0922,
                "fouls": 0.0,
                "fouls_drawn": 0.1592,
                "total_own_half_passes": 14.6673,
                "accurate_own_half_passes": 13.3167
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-24T10:04:55.355626+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 200,
                    "rows": 7186
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 5.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 8.9
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 5.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "possessionLostCtrl": 9.2489,
                  "distribution_accuracy": 0.8664,
                  "saves": 3.4154,
                  "goalkeeperValueNormalized": 0.0773,
                  "save_contribution": 3.3589,
                  "accurateOwnHalfPasses": 13.3167
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.8824687004089355,
                    "model_output": 2.8825,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "saves",
                        "importance": 0.0396
                      },
                      {
                        "name": "save_contribution",
                        "importance": 0.0396
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0361
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0356
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 2.9357,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.136
                        },
                        {
                          "name": "saves",
                          "contribution": 0.0361
                        },
                        {
                          "name": "goodHighClaim",
                          "contribution": 0.0247
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.0179
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0169
                        }
                      ],
                      "others": 0.021,
                      "total": 2.8825,
                      "log_link": true,
                      "margin_base": 1.076962,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.047444
                        },
                        {
                          "name": "saves",
                          "margin": 0.012805
                        },
                        {
                          "name": "goodHighClaim",
                          "margin": 0.008671
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": 0.006225
                        },
                        {
                          "name": "rating",
                          "margin": -0.005883
                        }
                      ],
                      "others_margin": 0.007311
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.03836139664053917,
                    "model_output": 0.0384,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0403
                      },
                      {
                        "name": "punches",
                        "importance": 0.0402
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.039
                      },
                      {
                        "name": "goodHighClaim",
                        "importance": 0.0381
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0377
                      }
                    ],
                    "decomposition": {
                      "base": -0.0276,
                      "items": [
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0424
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0195
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0135
                        },
                        {
                          "name": "goodHighClaim",
                          "contribution": 0.0126
                        },
                        {
                          "name": "punches",
                          "contribution": 0.0121
                        }
                      ],
                      "others": 0.0049,
                      "total": 0.0384,
                      "log_link": false,
                      "margin_base": -0.027557,
                      "item_margins": [
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.042415
                        },
                        {
                          "name": "commanding_index",
                          "margin": -0.019496
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.013454
                        },
                        {
                          "name": "goodHighClaim",
                          "margin": 0.012611
                        },
                        {
                          "name": "punches",
                          "margin": 0.012098
                        }
                      ],
                      "others_margin": 0.004837
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.984735012054443,
                    "model_output": 6.9847,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "saves",
                        "importance": 0.0419
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0397
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0368
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0351
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0351
                      }
                    ],
                    "decomposition": {
                      "base": 6.9908,
                      "items": [
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0274
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0257
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0252
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0205
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": -0.0192
                        }
                      ],
                      "others": 0.0161,
                      "total": 6.9847,
                      "log_link": false,
                      "margin_base": 6.990849,
                      "item_margins": [
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.027383
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.025656
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.025185
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.020544
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "margin": -0.019197
                        }
                      ],
                      "others_margin": 0.015996
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 44,
                  "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.9979, quality 0.437)",
              "stats": {
                "saves": 2.8764,
                "goals_prevented": 0.0383,
                "rating": 6.9847,
                "minutes": 28.5,
                "total_pass": 25.5322,
                "accurate_pass": 16.4435,
                "total_long_balls": 14.4622,
                "accurate_long_balls": 5.4118,
                "touches": 38.8499,
                "clearances": 1.0683,
                "ball_recovery": 10.9293,
                "high_claims": 1.8036,
                "punches": 0.6163,
                "aerial_won": 0.2241,
                "sweeper_actions": 1.602,
                "sweeper_accurate": 1.4323,
                "saves_inside_box": 2.0119,
                "possession_lost": 9.2295,
                "duels_won": 0.3381,
                "duels_lost": 0.2329,
                "total_contest": 0.092,
                "won_contest": 0.092,
                "fouls": 0.0,
                "fouls_drawn": 0.1589,
                "total_own_half_passes": 14.6365,
                "accurate_own_half_passes": 13.2887
              },
              "params": {
                "market_value_eur": 650000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9979,
                "reference_quality": 0.505,
                "history_matches": 44,
                "history_shrink": 0.102,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0133)",
              "stats": {
                "saves": 2.8564,
                "goals_prevented": 0.0383,
                "rating": 6.9847,
                "minutes": 28.5,
                "total_pass": 25.5322,
                "accurate_pass": 16.4435,
                "total_long_balls": 14.4622,
                "accurate_long_balls": 5.4118,
                "touches": 38.8499,
                "clearances": 1.0683,
                "ball_recovery": 10.9293,
                "high_claims": 1.8036,
                "punches": 0.6163,
                "aerial_won": 0.2241,
                "sweeper_actions": 1.602,
                "sweeper_accurate": 1.4323,
                "saves_inside_box": 2.0119,
                "possession_lost": 9.2295,
                "duels_won": 0.3381,
                "duels_lost": 0.2329,
                "total_contest": 0.092,
                "won_contest": 0.092,
                "fouls": 0.0,
                "fouls_drawn": 0.1568,
                "total_own_half_passes": 14.6365,
                "accurate_own_half_passes": 13.2887
              },
              "params": {
                "blend_weight": 0.0133,
                "history_matches": 44,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3167,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.8764,
                  "after": 2.8564
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.5 to 4.4 expected minutes (appearance prob 0.13)",
              "stats": {
                "saves": 0.4402,
                "goals_prevented": 0.0059,
                "rating": 6.9847,
                "minutes": 4.39,
                "total_pass": 3.9348,
                "accurate_pass": 2.5342,
                "total_long_balls": 2.2288,
                "accurate_long_balls": 0.834,
                "touches": 5.9873,
                "clearances": 0.1646,
                "ball_recovery": 1.6843,
                "high_claims": 0.278,
                "punches": 0.095,
                "aerial_won": 0.0345,
                "sweeper_actions": 0.2469,
                "sweeper_accurate": 0.2207,
                "saves_inside_box": 0.3101,
                "possession_lost": 1.4224,
                "duels_won": 0.0521,
                "duels_lost": 0.0359,
                "total_contest": 0.0142,
                "won_contest": 0.0142,
                "fouls": 0.0,
                "fouls_drawn": 0.0242,
                "total_own_half_passes": 2.2557,
                "accurate_own_half_passes": 2.048,
                "bench_appearance_probability": 0.131,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "expected_minutes": 4.39,
                "projection_minutes": 28.5,
                "minutes_scale": 0.1541,
                "appearance_probability": 0.131
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.4402,
                "goals_prevented": 0.0059,
                "rating": 6.9847,
                "minutes": 4.39,
                "total_pass": 3.9348,
                "accurate_pass": 2.5342,
                "total_long_balls": 2.2288,
                "accurate_long_balls": 0.834,
                "touches": 5.9873,
                "clearances": 0.1646,
                "ball_recovery": 1.6843,
                "high_claims": 0.278,
                "punches": 0.095,
                "aerial_won": 0.0345,
                "sweeper_actions": 0.2469,
                "sweeper_accurate": 0.2207,
                "saves_inside_box": 0.3101,
                "possession_lost": 1.4224,
                "duels_won": 0.0521,
                "duels_lost": 0.0359,
                "total_contest": 0.0142,
                "won_contest": 0.0142,
                "fouls": 0.0,
                "fouls_drawn": 0.0242,
                "total_own_half_passes": 2.2557,
                "accurate_own_half_passes": 2.048,
                "bench_appearance_probability": 0.131,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "saves": 0.4402,
                "goals_prevented": 0.0059,
                "rating": 6.9847,
                "minutes": 4.39,
                "total_pass": 3.9348,
                "accurate_pass": 2.5342,
                "total_long_balls": 2.2288,
                "accurate_long_balls": 0.834,
                "touches": 5.9873,
                "clearances": 0.1646,
                "ball_recovery": 1.6843,
                "high_claims": 0.278,
                "punches": 0.095,
                "aerial_won": 0.0345,
                "sweeper_actions": 0.2469,
                "sweeper_accurate": 0.2207,
                "saves_inside_box": 0.3101,
                "possession_lost": 1.4224,
                "duels_won": 0.0521,
                "duels_lost": 0.0359,
                "total_contest": 0.0142,
                "won_contest": 0.0142,
                "fouls": 0.0,
                "fouls_drawn": 0.0242,
                "total_own_half_passes": 2.2557,
                "accurate_own_half_passes": 2.048,
                "bench_appearance_probability": 0.131,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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.131,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 2 by projected rating, fifa_overall 79.0)",
              "stats": {
                "saves": 0.4402,
                "goals_prevented": 0.0059,
                "rating": 6.9847,
                "minutes": 4.39,
                "total_pass": 3.9348,
                "accurate_pass": 2.5342,
                "total_long_balls": 2.2288,
                "accurate_long_balls": 0.834,
                "touches": 5.9873,
                "clearances": 0.1646,
                "ball_recovery": 1.6843,
                "high_claims": 0.278,
                "punches": 0.095,
                "aerial_won": 0.0345,
                "sweeper_actions": 0.2469,
                "sweeper_accurate": 0.2207,
                "saves_inside_box": 0.3101,
                "possession_lost": 1.4224,
                "duels_won": 0.0521,
                "duels_lost": 0.0359,
                "total_contest": 0.0142,
                "won_contest": 0.0142,
                "fouls": 0.0,
                "fouls_drawn": 0.0242,
                "total_own_half_passes": 2.2557,
                "accurate_own_half_passes": 2.048,
                "bench_appearance_probability": 0.131,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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": 2,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1310,
                "fifa_rank": 957.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Quilindschy Hartman": {
          "player_id": 1392044,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 3,
          "height": 183,
          "market_value": 15500000,
          "stats": {
            "interceptions": 0,
            "tackles": 1,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.6931,
            "minutes": 14,
            "total_pass": 21,
            "accurate_pass": 16,
            "duels_won": 2,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 10,
            "accurate_own_half_passes": 8,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 8,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 31,
            "possession_lost": 7.1985,
            "dispossessed": 0.1601,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0546,
            "assists": 0,
            "expected_goals": 0.0064,
            "expected_assists": 0.0491,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0018,
            "ball_carries": 5,
            "total_progression": 16,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.325,
            "bench_expected_minutes": 14.16,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.246,
            "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": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1146,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 36,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 45,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0124,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 25,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0916,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 41,
                "key_pass": 3,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "aerial_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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 16,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1839,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 9,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14023940,
              "match_date": "2026-05-01",
              "home_team": "Leeds United",
              "away_team": "Burnley",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Burnley",
              "opponent": "Leeds United",
              "stats": {
                "minutes": 65,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0024,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14024003,
              "match_date": "2026-04-22",
              "home_team": "Burnley",
              "away_team": "Manchester City",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Burnley",
              "opponent": "Manchester City",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1302,
                "expected_assists": 0.0021,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 31,
                "accurate_pass": 19,
                "tackles": 10,
                "tackles_won": 6,
                "interceptions": 2,
                "clearances": 4,
                "duels_won": 12,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14025041,
              "match_date": "2026-04-19",
              "home_team": "Nottingham Forest",
              "away_team": "Burnley",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Burnley",
              "opponent": "Nottingham Forest",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.2214,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 39,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 3,
                "clearances": 2,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14024002,
              "match_date": "2026-04-11",
              "home_team": "Burnley",
              "away_team": "Brighton & Hove Albion",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Burnley",
              "opponent": "Brighton & Hove Albion",
              "stats": {
                "minutes": 82,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0218,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 36,
                "clearances": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14024016,
              "match_date": "2026-03-21",
              "home_team": "Fulham",
              "away_team": "Burnley",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Burnley",
              "opponent": "Fulham",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.019,
                "expected_assists": 0.2158,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 51,
                "accurate_pass": 45,
                "key_pass": 3,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14023988,
              "match_date": "2026-03-14",
              "home_team": "Burnley",
              "away_team": "Bournemouth",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Burnley",
              "opponent": "Bournemouth",
              "stats": {
                "minutes": 74,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0093,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 11,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3658,
            "combined_rank_score": 1619.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 822.0,
            "sofascore_rating": 6.6,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2417.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6931,
            "source_file": "data/player_rankings.csv",
            "player_name": "Quilindschy Hartman",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Miguel Almirón",
                  "ranking": 3653
                },
                {
                  "player_name": "Marko Livaja",
                  "ranking": 3654
                },
                {
                  "player_name": "Víctor Chust",
                  "ranking": 3655
                },
                {
                  "player_name": "Kevin Lomónaco",
                  "ranking": 3656
                },
                {
                  "player_name": "Giorgi Kochorashvili",
                  "ranking": 3657
                }
              ],
              "lower": [
                {
                  "player_name": "Oscar Dorley",
                  "ranking": 3659
                },
                {
                  "player_name": "Mykola Matviienko",
                  "ranking": 3660
                },
                {
                  "player_name": "Hamed Junior Traorè",
                  "ranking": 3661
                },
                {
                  "player_name": "Andrés Cubas",
                  "ranking": 3662
                },
                {
                  "player_name": "Raúl Rangel",
                  "ranking": 3663
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 25,
          "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": 25,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 14.155021941280786,
            "bench_appearance_prob": 0.32522827005821753,
            "market_value_adjustment": 1.004,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection scaled from XGBoost D_service (25 historical appearances) to 14.2 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 D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.4,
                "tackles": 0.9502,
                "tackles_won": 0.5959,
                "clearances": 1.0076,
                "aerial_won": 0.3046,
                "total_shots": 0.1072,
                "rating": 6.6931,
                "minutes": 24.84,
                "total_pass": 36.3561,
                "accurate_pass": 28.6862,
                "duels_won": 3.3908,
                "total_long_balls": 5.2187,
                "accurate_long_balls": 1.7823,
                "total_own_half_passes": 17.0117,
                "accurate_own_half_passes": 14.2359,
                "total_opp_half_passes": 19.3444,
                "accurate_opp_half_passes": 14.4503,
                "crosses_total": 2.6507,
                "crosses_accurate": 0.2426,
                "touches": 55.0475,
                "possession_lost": 12.5821,
                "dispossessed": 0.1595,
                "duels_lost": 2.3463,
                "aerial_lost": 0.4119,
                "total_contest": 0.5991,
                "won_contest": 0.3616,
                "ball_recovery": 3.1842,
                "challenges_lost": 0.7278,
                "fouls": 0.8095,
                "fouls_drawn": 0.0691,
                "blocks": 0.1388,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0954,
                "assist_rate": 0.0954,
                "expected_goals": 0.0112,
                "expected_assists": 0.0858,
                "shots_on_target": 0.0545,
                "big_chances_created": 0.2465,
                "xgot": 0.0031,
                "ball_carries": 9.4759,
                "total_progression": 28.8044,
                "progressive_carries": 0.4152,
                "key_pass": 0.7943,
                "shots_off_target": 0.0527
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:05:47.447103+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 626,
                    "rows": 21426
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1526,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1297,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1103,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0937,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-01",
                    "opponent": "Leeds United",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0797,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Manchester City",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0677,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-04-19",
                    "opponent": "Nottingham Forest",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0576,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Brighton & Hove Albion",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0489,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-03-21",
                    "opponent": "Fulham",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0416,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Bournemouth",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0354,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.9359,
                  "aerialWon": 0.4894,
                  "totalClearance_p90": 2.0154,
                  "totalTackle": 2.4708,
                  "defensive_actions": 3.5905
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.40001702308654785,
                    "model_output": 0.4,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2909
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0422
                      },
                      {
                        "name": "touches",
                        "importance": 0.0304
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0294
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.8603,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.477
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0186
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.015
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0131
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0068
                        }
                      ],
                      "others": 0.0068,
                      "total": 0.4,
                      "log_link": true,
                      "margin_base": -0.150447,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.808408
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.047462
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.038084
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.03321
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.017052
                        }
                      ],
                      "others_margin": 0.01707
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.9502109885215759,
                    "model_output": 0.9502,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2494
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0709
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0459
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0405
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 1.3831,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7283
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0375
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0329
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0287
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.027
                        }
                      ],
                      "others": 0.1693,
                      "total": 0.9502,
                      "log_link": true,
                      "margin_base": 0.324299,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.747785
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.055755
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.046495
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.038793
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.03516
                        }
                      ],
                      "others_margin": 0.196211
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.5958942174911499,
                    "model_output": 0.5959,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2138
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0741
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0462
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0368
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0292
                      }
                    ],
                    "decomposition": {
                      "base": 0.845,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4318
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0347
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0291
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0257
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0222
                        }
                      ],
                      "others": 0.071,
                      "total": 0.5959,
                      "log_link": true,
                      "margin_base": -0.168402,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.715402
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.080564
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.062999
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.05238
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.043243
                        }
                      ],
                      "others_margin": 0.126924
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.007567048072815,
                    "model_output": 1.0076,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2886
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0929
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0369
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.02
                      }
                    ],
                    "decomposition": {
                      "base": 3.4251,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -1.9693
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2219
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0945
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0694
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0665
                        }
                      ],
                      "others": -0.1289,
                      "total": 1.0076,
                      "log_link": true,
                      "margin_base": 1.231123,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.855615
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.165407
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.079714
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.062891
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.060312
                        }
                      ],
                      "others_margin": -0.12027
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.30460336804389954,
                    "model_output": 0.3046,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1614
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1578
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0791
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 1.3852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7669
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1812
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0419
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0271
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0134
                        }
                      ],
                      "others": -0.0501,
                      "total": 0.3046,
                      "log_link": true,
                      "margin_base": 0.325816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.806676
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.346832
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.100737
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.070911
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.037095
                        }
                      ],
                      "others_margin": -0.152309
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.10723548382520676,
                    "model_output": 0.1072,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0997
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0736
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.034
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0332
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.4749,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2113
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0841
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0238
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0097
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.007
                        }
                      ],
                      "others": -0.0512,
                      "total": 0.1072,
                      "log_link": false,
                      "margin_base": 0.47494,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.211315
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.084142
                        },
                        {
                          "name": "rating",
                          "margin": -0.023773
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.009694
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.007032
                        }
                      ],
                      "others_margin": -0.051137
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.693054676055908,
                    "model_output": 6.6931,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0694
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0576
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.055
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.7904,
                      "items": [
                        {
                          "name": "touches",
                          "contribution": 0.0167
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0165
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0147
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0121
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0121
                        }
                      ],
                      "others": -0.0586,
                      "total": 6.6931,
                      "log_link": false,
                      "margin_base": 6.790384,
                      "item_margins": [
                        {
                          "name": "touches",
                          "margin": 0.016662
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.016524
                        },
                        {
                          "name": "rating",
                          "margin": -0.014725
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.012128
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012082
                        }
                      ],
                      "others_margin": -0.058533
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 25,
                  "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.0040, quality 0.585)",
              "stats": {
                "interceptions": 0.4016,
                "tackles": 0.954,
                "tackles_won": 0.5983,
                "clearances": 1.0116,
                "aerial_won": 0.3058,
                "total_shots": 0.1077,
                "rating": 6.6931,
                "minutes": 24.84,
                "total_pass": 36.5015,
                "accurate_pass": 28.8009,
                "duels_won": 3.4044,
                "total_long_balls": 5.2396,
                "accurate_long_balls": 1.7894,
                "total_own_half_passes": 17.0797,
                "accurate_own_half_passes": 14.2928,
                "total_opp_half_passes": 19.4218,
                "accurate_opp_half_passes": 14.5081,
                "crosses_total": 2.6613,
                "crosses_accurate": 0.2436,
                "touches": 55.2677,
                "possession_lost": 12.6324,
                "dispossessed": 0.1601,
                "duels_lost": 2.3557,
                "aerial_lost": 0.4135,
                "total_contest": 0.6015,
                "won_contest": 0.363,
                "ball_recovery": 3.1969,
                "challenges_lost": 0.7307,
                "fouls": 0.8127,
                "fouls_drawn": 0.0694,
                "blocks": 0.1394,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0958,
                "assist_rate": 0.0958,
                "expected_goals": 0.0112,
                "expected_assists": 0.0861,
                "shots_on_target": 0.0547,
                "big_chances_created": 0.2475,
                "xgot": 0.0031,
                "ball_carries": 9.5138,
                "total_progression": 28.9196,
                "progressive_carries": 0.4169,
                "key_pass": 0.7975,
                "shots_off_target": 0.0529
              },
              "params": {
                "market_value_eur": 15500000,
                "quality_factor": 0.5846,
                "boost_factor": 1.004,
                "reference_quality": 0.505,
                "history_matches": 25,
                "history_shrink": 0.1667,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.8 to 14.2 expected minutes (appearance prob 0.33)",
              "stats": {
                "interceptions": 0.2289,
                "tackles": 0.5436,
                "tackles_won": 0.3409,
                "clearances": 0.5765,
                "aerial_won": 0.1743,
                "total_shots": 0.0614,
                "rating": 6.6931,
                "minutes": 14.16,
                "total_pass": 20.8003,
                "accurate_pass": 16.4121,
                "duels_won": 1.94,
                "total_long_balls": 2.9858,
                "accurate_long_balls": 1.0197,
                "total_own_half_passes": 9.7328,
                "accurate_own_half_passes": 8.1447,
                "total_opp_half_passes": 11.0675,
                "accurate_opp_half_passes": 8.2674,
                "crosses_total": 1.5165,
                "crosses_accurate": 0.1388,
                "touches": 31.4942,
                "possession_lost": 7.1985,
                "dispossessed": 0.1601,
                "duels_lost": 1.3424,
                "aerial_lost": 0.4135,
                "total_contest": 0.3428,
                "won_contest": 0.2069,
                "ball_recovery": 1.8217,
                "challenges_lost": 0.7307,
                "fouls": 0.4631,
                "fouls_drawn": 0.0395,
                "blocks": 0.0794,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0546,
                "assist_rate": 0.0546,
                "expected_goals": 0.0064,
                "expected_assists": 0.0491,
                "shots_on_target": 0.0312,
                "big_chances_created": 0.141,
                "xgot": 0.0018,
                "ball_carries": 5.4214,
                "total_progression": 16.4798,
                "progressive_carries": 0.2376,
                "key_pass": 0.4545,
                "shots_off_target": 0.0301,
                "bench_appearance_probability": 0.325,
                "bench_expected_minutes": 14.16
              },
              "params": {
                "expected_minutes": 14.16,
                "projection_minutes": 24.84,
                "minutes_scale": 0.5698,
                "appearance_probability": 0.325
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2289,
                "tackles": 0.5436,
                "tackles_won": 0.3409,
                "clearances": 0.5765,
                "aerial_won": 0.1743,
                "total_shots": 0.0614,
                "rating": 6.6931,
                "minutes": 14.16,
                "total_pass": 20.8003,
                "accurate_pass": 16.4121,
                "duels_won": 1.94,
                "total_long_balls": 2.9858,
                "accurate_long_balls": 1.0197,
                "total_own_half_passes": 9.7328,
                "accurate_own_half_passes": 8.1447,
                "total_opp_half_passes": 11.0675,
                "accurate_opp_half_passes": 8.2674,
                "crosses_total": 1.5165,
                "crosses_accurate": 0.1388,
                "touches": 31.4942,
                "possession_lost": 7.1985,
                "dispossessed": 0.1601,
                "duels_lost": 1.3424,
                "aerial_lost": 0.4135,
                "total_contest": 0.3428,
                "won_contest": 0.2069,
                "ball_recovery": 1.8217,
                "challenges_lost": 0.7307,
                "fouls": 0.4631,
                "fouls_drawn": 0.0395,
                "blocks": 0.0794,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0546,
                "assist_rate": 0.0546,
                "expected_goals": 0.0064,
                "expected_assists": 0.0491,
                "shots_on_target": 0.0312,
                "big_chances_created": 0.141,
                "xgot": 0.0018,
                "ball_carries": 5.4214,
                "total_progression": 16.4798,
                "progressive_carries": 0.2376,
                "key_pass": 0.4545,
                "shots_off_target": 0.0301,
                "bench_appearance_probability": 0.325,
                "bench_expected_minutes": 14.16
              },
              "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.2289,
                "tackles": 0.5436,
                "tackles_won": 0.3409,
                "clearances": 0.5765,
                "aerial_won": 0.1743,
                "total_shots": 0.0614,
                "rating": 6.6931,
                "minutes": 14.16,
                "total_pass": 20.8003,
                "accurate_pass": 16.4121,
                "duels_won": 1.94,
                "total_long_balls": 2.9858,
                "accurate_long_balls": 1.0197,
                "total_own_half_passes": 9.7328,
                "accurate_own_half_passes": 8.1447,
                "total_opp_half_passes": 11.0675,
                "accurate_opp_half_passes": 8.2674,
                "crosses_total": 1.5165,
                "crosses_accurate": 0.1388,
                "touches": 31.4942,
                "possession_lost": 7.1985,
                "dispossessed": 0.1601,
                "duels_lost": 1.3424,
                "aerial_lost": 0.4135,
                "total_contest": 0.3428,
                "won_contest": 0.2069,
                "ball_recovery": 1.8217,
                "challenges_lost": 0.7307,
                "fouls": 0.4631,
                "fouls_drawn": 0.0395,
                "blocks": 0.0794,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0546,
                "assists": 0,
                "expected_goals": 0.0064,
                "expected_assists": 0.0491,
                "shots_on_target": 0.0312,
                "big_chances_created": 0.141,
                "xgot": 0.0018,
                "ball_carries": 5.4214,
                "total_progression": 16.4798,
                "progressive_carries": 0.2376,
                "key_pass": 0.4545,
                "shots_off_target": 0.0301,
                "bench_appearance_probability": 0.325,
                "bench_expected_minutes": 14.16,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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.325,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 12 by projected rating, fifa_overall 75.0)",
              "stats": {
                "interceptions": 0.2289,
                "tackles": 0.5436,
                "tackles_won": 0.3409,
                "clearances": 0.5765,
                "aerial_won": 0.1743,
                "total_shots": 0.0614,
                "rating": 6.6931,
                "minutes": 14.16,
                "total_pass": 20.8003,
                "accurate_pass": 16.4121,
                "duels_won": 1.94,
                "total_long_balls": 2.9858,
                "accurate_long_balls": 1.0197,
                "total_own_half_passes": 9.7328,
                "accurate_own_half_passes": 8.1447,
                "total_opp_half_passes": 11.0675,
                "accurate_opp_half_passes": 8.2674,
                "crosses_total": 1.5165,
                "crosses_accurate": 0.1388,
                "touches": 31.4942,
                "possession_lost": 7.1985,
                "dispossessed": 0.1601,
                "duels_lost": 1.3424,
                "aerial_lost": 0.4135,
                "total_contest": 0.3428,
                "won_contest": 0.2069,
                "ball_recovery": 1.8217,
                "challenges_lost": 0.7307,
                "fouls": 0.4631,
                "fouls_drawn": 0.0395,
                "blocks": 0.0794,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0546,
                "assists": 0,
                "expected_goals": 0.0064,
                "expected_assists": 0.0491,
                "shots_on_target": 0.0312,
                "big_chances_created": 0.141,
                "xgot": 0.0018,
                "ball_carries": 5.4214,
                "total_progression": 16.4798,
                "progressive_carries": 0.2376,
                "key_pass": 0.4545,
                "shots_off_target": 0.0301,
                "bench_appearance_probability": 0.325,
                "bench_expected_minutes": 14.16,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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": 12,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3658,
                "fifa_rank": 2417.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            }
          ]
        },
        "Unai Núñez": {
          "player_id": 892521,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 14,
          "height": 186,
          "market_value": 3300000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7548,
            "minutes": 14,
            "total_pass": 8,
            "accurate_pass": 6,
            "duels_won": 1,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 1.9949,
            "dispossessed": 0.2656,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0015,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 6,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.217,
            "bench_expected_minutes": 13.59,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.246,
            "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": 16421071,
              "match_date": "2026-10-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 26,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 2,
                "tackles": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 67,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0537,
                "expected_assists": 0.0331,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 65,
                "accurate_pass": 61,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 5,
                "clearances": 3,
                "aerial_won": 5,
                "duels_won": 9,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 86,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0238,
                "expected_assists": 0.0192,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 62,
                "accurate_pass": 45,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3866,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 42,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0027,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 37,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0042,
                "total_shots": 0,
                "total_pass": 70,
                "accurate_pass": 65,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2023,
                "expected_assists": 0.1132,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 4,
                "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": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 83,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0073,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 32,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "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": 14083639,
              "match_date": "2026-05-14",
              "home_team": "Valencia",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 58,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0107,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 39,
                "tackles": 3,
                "interceptions": 3,
                "clearances": 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": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 16,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "clearances": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3298,
            "combined_rank_score": 1247.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 91.0,
            "sofascore_rating": 7.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2403.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7548,
            "source_file": "data/player_rankings.csv",
            "player_name": "Unai Núñez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nobel Mendy",
                  "ranking": 3293
                },
                {
                  "player_name": "Michael Zetterer",
                  "ranking": 3294
                },
                {
                  "player_name": "Lukas Nmecha",
                  "ranking": 3295
                },
                {
                  "player_name": "Ruslan Malinovskyi",
                  "ranking": 3296
                },
                {
                  "player_name": "Ibrahim Mbaye",
                  "ranking": 3297
                }
              ],
              "lower": [
                {
                  "player_name": "Rodrigo Muniz",
                  "ranking": 3299
                },
                {
                  "player_name": "Raíllo",
                  "ranking": 3300
                },
                {
                  "player_name": "Gelson Martins",
                  "ranking": 3301
                },
                {
                  "player_name": "Abel Bretones",
                  "ranking": 3302
                },
                {
                  "player_name": "Chiquinho",
                  "ranking": 3303
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 19,
          "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": 19,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.586980405874904,
            "bench_appearance_prob": 0.217,
            "market_value_adjustment": 0.996,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "Bench projection scaled from XGBoost D_service (19 historical appearances) to 13.6 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.4708,
                "tackles": 0.5859,
                "tackles_won": 0.3457,
                "clearances": 1.5122,
                "aerial_won": 0.6512,
                "total_shots": 0.176,
                "rating": 6.7548,
                "minutes": 26.61,
                "total_pass": 15.2622,
                "accurate_pass": 12.1868,
                "duels_won": 1.8133,
                "total_long_balls": 3.1739,
                "accurate_long_balls": 1.7931,
                "total_own_half_passes": 8.0401,
                "accurate_own_half_passes": 7.4595,
                "total_opp_half_passes": 7.2221,
                "accurate_opp_half_passes": 4.7273,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.4889,
                "possession_lost": 3.9226,
                "dispossessed": 0.2667,
                "duels_lost": 1.6206,
                "aerial_lost": 0.4595,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.1611,
                "challenges_lost": 0.3138,
                "fouls": 0.5806,
                "fouls_drawn": 0.3854,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0029,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.7744,
                "total_progression": 11.1676,
                "progressive_carries": 0.2667,
                "key_pass": 0.0,
                "shots_off_target": 0.176
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:05:47.447103+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 626,
                    "rows": 21426
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.1572,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1336,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.1136,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0965,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.082,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0697,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0593,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.0504,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Rayo Vallecano",
                    "minutes": 58.0,
                    "is_starting": false,
                    "weight": 0.0428,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Athletic Club",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0364,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 19.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 3.5086,
                  "aerialWon": 1.5672,
                  "totalClearance_p90": 4.1716,
                  "totalTackle": 1.5821,
                  "defensive_actions": 2.7264
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.4707784354686737,
                    "model_output": 0.4708,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2909
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0422
                      },
                      {
                        "name": "touches",
                        "importance": 0.0304
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0294
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.8603,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4598
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0295
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0167
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0117
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0076
                        }
                      ],
                      "others": 0.0048,
                      "total": 0.4708,
                      "log_link": true,
                      "margin_base": -0.150447,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.764597
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.071064
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.037993
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.025834
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.016364
                        }
                      ],
                      "others_margin": 0.010422
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5859408974647522,
                    "model_output": 0.5859,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2494
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0709
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0459
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0405
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 1.3831,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7973
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0268
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0185
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0166
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.015
                        }
                      ],
                      "others": -0.0468,
                      "total": 0.5859,
                      "log_link": true,
                      "margin_base": 0.324299,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.859096
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.044814
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.029762
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.026014
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.023411
                        }
                      ],
                      "others_margin": -0.076919
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.3456612825393677,
                    "model_output": 0.3457,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2138
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0741
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0462
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0368
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0292
                      }
                    ],
                    "decomposition": {
                      "base": 0.845,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4863
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0203
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.013
                        },
                        {
                          "name": "errorLeadToAShot",
                          "contribution": 0.0119
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0101
                        }
                      ],
                      "others": -0.0423,
                      "total": 0.3457,
                      "log_link": true,
                      "margin_base": -0.168402,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.856734
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.055033
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.034913
                        },
                        {
                          "name": "errorLeadToAShot",
                          "margin": 0.032124
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.026284
                        }
                      ],
                      "others_margin": -0.115688
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.5122265815734863,
                    "model_output": 1.5122,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2886
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0929
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0369
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.02
                      }
                    ],
                    "decomposition": {
                      "base": 3.4251,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0665
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0916
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0812
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.053
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0333
                        }
                      ],
                      "others": -0.0389,
                      "total": 1.5122,
                      "log_link": true,
                      "margin_base": 1.231123,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.924702
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.06524
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.054487
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.03402
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.021239
                        }
                      ],
                      "others_margin": -0.025345
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6511718034744263,
                    "model_output": 0.6512,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1614
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1578
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0791
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 1.3852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7673
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0675
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0264
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0232
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0177
                        }
                      ],
                      "others": -0.0661,
                      "total": 0.6512,
                      "log_link": true,
                      "margin_base": 0.325816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.80733
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.103628
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.037821
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.032095
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.024434
                        }
                      ],
                      "others_margin": -0.096578
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.17604754865169525,
                    "model_output": 0.176,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0997
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0736
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.034
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0332
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0287
                      }
                    ],
                    "decomposition": {
                      "base": 0.4749,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2628
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0233
                        },
                        {
                          "name": "touches",
                          "contribution": -0.01
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0089
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0089
                        }
                      ],
                      "others": -0.0316,
                      "total": 0.176,
                      "log_link": false,
                      "margin_base": 0.47494,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.262807
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.023312
                        },
                        {
                          "name": "touches",
                          "margin": -0.010013
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.008925
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.008905
                        }
                      ],
                      "others_margin": -0.031555
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7547712326049805,
                    "model_output": 6.7548,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0694
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0576
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.055
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.7904,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0155
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0136
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.011
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0104
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0083
                        }
                      ],
                      "others": 0.0024,
                      "total": 6.7548,
                      "log_link": false,
                      "margin_base": 6.790384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.015522
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013613
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.011024
                        },
                        {
                          "name": "touches",
                          "margin": 0.010432
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.008322
                        }
                      ],
                      "others_margin": 0.002436
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 19,
                  "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.9960, quality 0.441)",
              "stats": {
                "interceptions": 0.4689,
                "tackles": 0.5836,
                "tackles_won": 0.3443,
                "clearances": 1.5062,
                "aerial_won": 0.6486,
                "total_shots": 0.1753,
                "rating": 6.7548,
                "minutes": 26.61,
                "total_pass": 15.2012,
                "accurate_pass": 12.1381,
                "duels_won": 1.806,
                "total_long_balls": 3.1612,
                "accurate_long_balls": 1.7859,
                "total_own_half_passes": 8.0079,
                "accurate_own_half_passes": 7.4297,
                "total_opp_half_passes": 7.1932,
                "accurate_opp_half_passes": 4.7084,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.3949,
                "possession_lost": 3.9069,
                "dispossessed": 0.2656,
                "duels_lost": 1.6141,
                "aerial_lost": 0.4577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.1565,
                "challenges_lost": 0.3125,
                "fouls": 0.5783,
                "fouls_drawn": 0.3839,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0029,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.7553,
                "total_progression": 11.1229,
                "progressive_carries": 0.2656,
                "key_pass": 0.0,
                "shots_off_target": 0.1753
              },
              "params": {
                "market_value_eur": 3300000,
                "quality_factor": 0.4412,
                "boost_factor": 0.996,
                "reference_quality": 0.505,
                "history_matches": 19,
                "history_shrink": 0.2083,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0271)",
              "stats": {
                "interceptions": 0.4615,
                "tackles": 0.5836,
                "tackles_won": 0.3403,
                "clearances": 1.5062,
                "aerial_won": 0.6486,
                "total_shots": 0.1706,
                "rating": 6.7548,
                "minutes": 26.61,
                "total_pass": 15.2012,
                "accurate_pass": 12.1381,
                "duels_won": 1.806,
                "total_long_balls": 3.1612,
                "accurate_long_balls": 1.7859,
                "total_own_half_passes": 8.0079,
                "accurate_own_half_passes": 7.4297,
                "total_opp_half_passes": 7.1932,
                "accurate_opp_half_passes": 4.7084,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.3949,
                "possession_lost": 3.9069,
                "dispossessed": 0.2656,
                "duels_lost": 1.6141,
                "aerial_lost": 0.4577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.1565,
                "challenges_lost": 0.3125,
                "fouls": 0.5626,
                "fouls_drawn": 0.3815,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0029,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.7553,
                "total_progression": 11.1229,
                "progressive_carries": 0.2656,
                "key_pass": 0.0,
                "shots_off_target": 0.1753
              },
              "params": {
                "blend_weight": 0.0271,
                "history_matches": 19,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2957,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.5783,
                  "after": 0.5626
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.4689,
                  "after": 0.4615
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 26.6 to 13.6 expected minutes (appearance prob 0.22)",
              "stats": {
                "interceptions": 0.2356,
                "tackles": 0.298,
                "tackles_won": 0.1738,
                "clearances": 0.7691,
                "aerial_won": 0.3312,
                "total_shots": 0.0895,
                "rating": 6.7548,
                "minutes": 13.59,
                "total_pass": 7.7617,
                "accurate_pass": 6.1977,
                "duels_won": 0.9221,
                "total_long_balls": 1.6141,
                "accurate_long_balls": 0.9119,
                "total_own_half_passes": 4.0888,
                "accurate_own_half_passes": 3.7936,
                "total_opp_half_passes": 3.6728,
                "accurate_opp_half_passes": 2.4041,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.9454,
                "possession_lost": 1.9949,
                "dispossessed": 0.2656,
                "duels_lost": 0.8242,
                "aerial_lost": 0.4577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.5905,
                "challenges_lost": 0.3125,
                "fouls": 0.2873,
                "fouls_drawn": 0.1948,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0015,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.428,
                "total_progression": 5.6793,
                "progressive_carries": 0.1356,
                "key_pass": 0.0,
                "shots_off_target": 0.0895,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.59
              },
              "params": {
                "expected_minutes": 13.59,
                "projection_minutes": 26.61,
                "minutes_scale": 0.5106,
                "appearance_probability": 0.217
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2356,
                "tackles": 0.298,
                "tackles_won": 0.1738,
                "clearances": 0.7691,
                "aerial_won": 0.3312,
                "total_shots": 0.0895,
                "rating": 6.7548,
                "minutes": 13.59,
                "total_pass": 7.7617,
                "accurate_pass": 6.1977,
                "duels_won": 0.9221,
                "total_long_balls": 1.6141,
                "accurate_long_balls": 0.9119,
                "total_own_half_passes": 4.0888,
                "accurate_own_half_passes": 3.7936,
                "total_opp_half_passes": 3.6728,
                "accurate_opp_half_passes": 2.4041,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.9454,
                "possession_lost": 1.9949,
                "dispossessed": 0.2656,
                "duels_lost": 0.8242,
                "aerial_lost": 0.4577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.5905,
                "challenges_lost": 0.3125,
                "fouls": 0.2873,
                "fouls_drawn": 0.1948,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0015,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.428,
                "total_progression": 5.6793,
                "progressive_carries": 0.1356,
                "key_pass": 0.0,
                "shots_off_target": 0.0895,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.59
              },
              "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.2356,
                "tackles": 0.298,
                "tackles_won": 0.1738,
                "clearances": 0.7691,
                "aerial_won": 0.3312,
                "total_shots": 0.0895,
                "rating": 6.7548,
                "minutes": 13.59,
                "total_pass": 7.7617,
                "accurate_pass": 6.1977,
                "duels_won": 0.9221,
                "total_long_balls": 1.6141,
                "accurate_long_balls": 0.9119,
                "total_own_half_passes": 4.0888,
                "accurate_own_half_passes": 3.7936,
                "total_opp_half_passes": 3.6728,
                "accurate_opp_half_passes": 2.4041,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.9454,
                "possession_lost": 1.9949,
                "dispossessed": 0.2656,
                "duels_lost": 0.8242,
                "aerial_lost": 0.4577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.5905,
                "challenges_lost": 0.3125,
                "fouls": 0.2873,
                "fouls_drawn": 0.1948,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0015,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.428,
                "total_progression": 5.6793,
                "progressive_carries": 0.1356,
                "key_pass": 0.0,
                "shots_off_target": 0.0895,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.59,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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.217,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 9 by projected rating, fifa_overall 75.0)",
              "stats": {
                "interceptions": 0.2356,
                "tackles": 0.298,
                "tackles_won": 0.1738,
                "clearances": 0.7691,
                "aerial_won": 0.3312,
                "total_shots": 0.0895,
                "rating": 6.7548,
                "minutes": 13.59,
                "total_pass": 7.7617,
                "accurate_pass": 6.1977,
                "duels_won": 0.9221,
                "total_long_balls": 1.6141,
                "accurate_long_balls": 0.9119,
                "total_own_half_passes": 4.0888,
                "accurate_own_half_passes": 3.7936,
                "total_opp_half_passes": 3.6728,
                "accurate_opp_half_passes": 2.4041,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.9454,
                "possession_lost": 1.9949,
                "dispossessed": 0.2656,
                "duels_lost": 0.8242,
                "aerial_lost": 0.4577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.5905,
                "challenges_lost": 0.3125,
                "fouls": 0.2873,
                "fouls_drawn": 0.1948,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0015,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.428,
                "total_progression": 5.6793,
                "progressive_carries": 0.1356,
                "key_pass": 0.0,
                "shots_off_target": 0.0895,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.59,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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": 9,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3298,
                "fifa_rank": 2403.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            }
          ]
        },
        "Urko González": {
          "player_id": 1064009,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 4,
          "height": 189,
          "market_value": 11600000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.017,
            "assist_rate": 0.0372,
            "assists": 0,
            "expected_goals": 0.0163,
            "goal_rate": 0.025,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6914,
            "minutes": 22,
            "total_pass": 10,
            "accurate_pass": 8,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 3.3812,
            "dispossessed": 0.4373,
            "duels_lost": 2,
            "aerial_won": 0,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 5,
            "total_progression": 29,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.315,
            "bench_expected_minutes": 22.38,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.246,
            "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": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 33,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0024,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 5,
                "interceptions": 1,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0127,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 21
              },
              "has_player_stats": true,
              "league_name": "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": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 84,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0092,
                "expected_assists": 0.0489,
                "total_shots": 1,
                "total_pass": 30,
                "accurate_pass": 26,
                "interceptions": 2,
                "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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0036,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 24,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 31,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0109,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 16,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 19,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 75,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0151,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 28,
                "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": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 72,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0196,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 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": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0136,
                "expected_assists": 0.1222,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 42,
                "accurate_pass": 36,
                "tackles": 2,
                "tackles_won": 1,
                "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": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 14,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 4,
                "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": 3267,
            "combined_rank_score": 1211.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1978.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6914,
            "source_file": "data/player_rankings.csv",
            "player_name": "Urko González",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Félix Correia",
                  "ranking": 3262
                },
                {
                  "player_name": "Kenneth Taylor",
                  "ranking": 3263
                },
                {
                  "player_name": "Johan Vásquez",
                  "ranking": 3264
                },
                {
                  "player_name": "Mamadou Sarr",
                  "ranking": 3265
                },
                {
                  "player_name": "Yoan Bonny",
                  "ranking": 3266
                }
              ],
              "lower": [
                {
                  "player_name": "Tasos Douvikas",
                  "ranking": 3268
                },
                {
                  "player_name": "Sam Beukema",
                  "ranking": 3269
                },
                {
                  "player_name": "Máximo Perrone",
                  "ranking": 3270
                },
                {
                  "player_name": "Federico Viñas",
                  "ranking": 3271
                },
                {
                  "player_name": "Marco Reus",
                  "ranking": 3272
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.771,
          "history_matches": 44,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 44,
            "data_confidence": 0.771,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.382626929085877,
            "bench_appearance_prob": 0.315,
            "market_value_adjustment": 1.0011,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "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.14
            },
            "rationale": "Bench projection scaled from XGBoost M_service (44 historical appearances) to 22.4 expected mins (appearance prob 0.32); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2887,
                "expected_assists": 0.0176,
                "assists": 0.039,
                "assist_rate": 0.039,
                "expected_goals": 0.0169,
                "goals": 0.026,
                "goal_rate": 0.026,
                "shots_on_target": 0.0684,
                "total_shots": 0.2875,
                "rating": 6.6914,
                "minutes": 23.23,
                "total_pass": 10.5117,
                "accurate_pass": 8.1171,
                "duels_won": 1.8614,
                "total_long_balls": 0.391,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.8479,
                "accurate_own_half_passes": 2.169,
                "total_opp_half_passes": 7.6638,
                "accurate_opp_half_passes": 5.9481,
                "crosses_total": 0.1349,
                "crosses_accurate": 0.0,
                "touches": 15.751,
                "possession_lost": 3.5053,
                "dispossessed": 0.4368,
                "duels_lost": 2.2954,
                "aerial_won": 0.4242,
                "aerial_lost": 0.8108,
                "interceptions": 0.3818,
                "tackles_won": 0.8632,
                "tackles": 0.8632,
                "clearances": 0.7963,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5914,
                "fouls": 0.4564,
                "fouls_drawn": 0.574,
                "blocks": 0.23,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.1059,
                "total_progression": 29.9633,
                "progressive_carries": 1.3217,
                "shots_off_target": 0.2191
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-24T10:06:41.574598+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 903,
                    "rows": 24475
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.1501,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "creative_index": 0.0513,
                  "totalShots": 0.2608,
                  "expectedGoals": 0.0051,
                  "expectedAssists": 0.0194,
                  "onTargetScoringAttempt": 0.0026
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.2887357473373413,
                    "model_output": 0.2887,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1647
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1377
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0663
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0524
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0316
                      }
                    ],
                    "decomposition": {
                      "base": 0.8945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3788
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0689
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0411
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0363
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0178
                        }
                      ],
                      "others": -0.0629,
                      "total": 0.2887,
                      "log_link": true,
                      "margin_base": -0.111507,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.550679
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.143436
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.096451
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.093726
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.049474
                        }
                      ],
                      "others_margin": -0.196971
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.017593320459127426,
                    "model_output": 0.0176,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1545
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1048
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1021
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0472
                      }
                    ],
                    "decomposition": {
                      "base": 0.0859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0368
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0099
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0069
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0034
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0093,
                      "total": 0.0176,
                      "log_link": true,
                      "margin_base": -2.454719,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.559793
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.22507
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.193362
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.112016
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.070915
                        }
                      ],
                      "others_margin": -0.424362
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.03899843990802765,
                    "model_output": 0.039,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0619
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0395
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0343
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 0.0874,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0231
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0102
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0066
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0039
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0011,
                      "total": 0.039,
                      "log_link": true,
                      "margin_base": -2.437263,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.306314
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.17211
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.129507
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.085405
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.083197
                        }
                      ],
                      "others_margin": -0.030438
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.01690134033560753,
                    "model_output": 0.0169,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.134
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.074
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0705
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.039
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0273
                      }
                    ],
                    "decomposition": {
                      "base": 0.094,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0396
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0184
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0079
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0041
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0053,
                      "total": 0.0169,
                      "log_link": true,
                      "margin_base": -2.364919,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.546621
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.412087
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.247285
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.159375
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.07717
                        }
                      ],
                      "others_margin": -0.272906
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.026023345068097115,
                    "model_output": 0.026,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0974
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0527
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0513
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0365
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0993,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0334
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0133
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0093
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0056
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0037
                        }
                      ],
                      "others": -0.008,
                      "total": 0.026,
                      "log_link": true,
                      "margin_base": -2.309444,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.409965
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.225591
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.193717
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.137839
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.103833
                        }
                      ],
                      "others_margin": -0.268372
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.06836678087711334,
                    "model_output": 0.0684,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1106
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0885
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0762
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0292
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.326,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1492
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0463
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0257
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0163
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0041
                        }
                      ],
                      "others": -0.016,
                      "total": 0.0684,
                      "log_link": true,
                      "margin_base": -1.120773,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.611967
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.303662
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.219316
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.169263
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.047553
                        }
                      ],
                      "others_margin": -0.210335
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.28745004534721375,
                    "model_output": 0.2875,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1261
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1167
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0633
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0419
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.9969,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3359
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1936
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0437
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0362
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0281
                        }
                      ],
                      "others": -0.0719,
                      "total": 0.2875,
                      "log_link": false,
                      "margin_base": 0.996896,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.335873
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.19358
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.043744
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.036232
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.028099
                        }
                      ],
                      "others_margin": -0.071917
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.691384315490723,
                    "model_output": 6.6914,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0947
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0836
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0491
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0438
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.036
                      }
                    ],
                    "decomposition": {
                      "base": 6.8561,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0634
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0377
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0161
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0127
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0078
                        }
                      ],
                      "others": -0.027,
                      "total": 6.6914,
                      "log_link": false,
                      "margin_base": 6.856052,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.063374
                        },
                        {
                          "name": "rating",
                          "margin": -0.037652
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.016133
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.012674
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.007846
                        }
                      ],
                      "others_margin": -0.026987
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 44,
                  "role_matches": 10,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0011, quality 0.541)",
              "stats": {
                "key_pass": 0.2891,
                "expected_assists": 0.0176,
                "assists": 0.039,
                "assist_rate": 0.039,
                "expected_goals": 0.0169,
                "goals": 0.0261,
                "goal_rate": 0.0261,
                "shots_on_target": 0.0684,
                "total_shots": 0.2878,
                "rating": 6.6914,
                "minutes": 23.23,
                "total_pass": 10.5233,
                "accurate_pass": 8.126,
                "duels_won": 1.8634,
                "total_long_balls": 0.3914,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.851,
                "accurate_own_half_passes": 2.1714,
                "total_opp_half_passes": 7.6722,
                "accurate_opp_half_passes": 5.9546,
                "crosses_total": 0.135,
                "crosses_accurate": 0.0,
                "touches": 15.7683,
                "possession_lost": 3.5092,
                "dispossessed": 0.4373,
                "duels_lost": 2.2979,
                "aerial_won": 0.4247,
                "aerial_lost": 0.8117,
                "interceptions": 0.3822,
                "tackles_won": 0.8641,
                "tackles": 0.8641,
                "clearances": 0.7972,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5921,
                "fouls": 0.4569,
                "fouls_drawn": 0.5746,
                "blocks": 0.2303,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.1115,
                "total_progression": 29.9963,
                "progressive_carries": 1.3232,
                "shots_off_target": 0.2193
              },
              "params": {
                "market_value_eur": 11600000,
                "quality_factor": 0.5411,
                "boost_factor": 1.0011,
                "reference_quality": 0.505,
                "history_matches": 44,
                "history_shrink": 0.102,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0093)",
              "stats": {
                "key_pass": 0.2891,
                "expected_assists": 0.0176,
                "assists": 0.0386,
                "assist_rate": 0.0386,
                "expected_goals": 0.0169,
                "goals": 0.0259,
                "goal_rate": 0.0259,
                "shots_on_target": 0.0678,
                "total_shots": 0.2851,
                "rating": 6.6914,
                "minutes": 23.23,
                "total_pass": 10.5233,
                "accurate_pass": 8.126,
                "duels_won": 1.8634,
                "total_long_balls": 0.3914,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.851,
                "accurate_own_half_passes": 2.1714,
                "total_opp_half_passes": 7.6722,
                "accurate_opp_half_passes": 5.9546,
                "crosses_total": 0.1337,
                "crosses_accurate": 0.0,
                "touches": 15.7683,
                "possession_lost": 3.5092,
                "dispossessed": 0.4373,
                "duels_lost": 2.2979,
                "aerial_won": 0.4247,
                "aerial_lost": 0.8117,
                "interceptions": 0.3809,
                "tackles_won": 0.8572,
                "tackles": 0.8641,
                "clearances": 0.7972,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5921,
                "fouls": 0.4549,
                "fouls_drawn": 0.5715,
                "blocks": 0.2303,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.1115,
                "total_progression": 29.9963,
                "progressive_carries": 1.3232,
                "shots_off_target": 0.2193
              },
              "params": {
                "blend_weight": 0.0093,
                "history_matches": 44,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2581,
                "prior_reliability": 0.14,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.8641,
                  "after": 0.8572
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 23.2 to 22.4 expected minutes (appearance prob 0.32)",
              "stats": {
                "key_pass": 0.2786,
                "expected_assists": 0.017,
                "assists": 0.0372,
                "assist_rate": 0.0372,
                "expected_goals": 0.0163,
                "goals": 0.025,
                "goal_rate": 0.025,
                "shots_on_target": 0.0653,
                "total_shots": 0.2766,
                "rating": 6.6914,
                "minutes": 22.38,
                "total_pass": 10.1394,
                "accurate_pass": 7.8296,
                "duels_won": 1.7954,
                "total_long_balls": 0.3771,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.747,
                "accurate_own_half_passes": 2.0922,
                "total_opp_half_passes": 7.3923,
                "accurate_opp_half_passes": 5.7374,
                "crosses_total": 0.1288,
                "crosses_accurate": 0.0,
                "touches": 15.1931,
                "possession_lost": 3.3812,
                "dispossessed": 0.4373,
                "duels_lost": 2.2141,
                "aerial_won": 0.4092,
                "aerial_lost": 0.8117,
                "interceptions": 0.367,
                "tackles_won": 0.8259,
                "tackles": 0.8326,
                "clearances": 0.7681,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5921,
                "fouls": 0.4383,
                "fouls_drawn": 0.5507,
                "blocks": 0.2219,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.925,
                "total_progression": 28.9021,
                "progressive_carries": 1.2749,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.315,
                "bench_expected_minutes": 22.38
              },
              "params": {
                "expected_minutes": 22.38,
                "projection_minutes": 23.23,
                "minutes_scale": 0.9635,
                "appearance_probability": 0.315
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.2786,
                "expected_assists": 0.017,
                "assists": 0.0372,
                "assist_rate": 0.0372,
                "expected_goals": 0.0163,
                "goals": 0.025,
                "goal_rate": 0.025,
                "shots_on_target": 0.0653,
                "total_shots": 0.2766,
                "rating": 6.6914,
                "minutes": 22.38,
                "total_pass": 10.1394,
                "accurate_pass": 7.8296,
                "duels_won": 1.7954,
                "total_long_balls": 0.3771,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.747,
                "accurate_own_half_passes": 2.0922,
                "total_opp_half_passes": 7.3923,
                "accurate_opp_half_passes": 5.7374,
                "crosses_total": 0.1288,
                "crosses_accurate": 0.0,
                "touches": 15.1931,
                "possession_lost": 3.3812,
                "dispossessed": 0.4373,
                "duels_lost": 2.2141,
                "aerial_won": 0.4092,
                "aerial_lost": 0.8117,
                "interceptions": 0.367,
                "tackles_won": 0.8259,
                "tackles": 0.8326,
                "clearances": 0.7681,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5921,
                "fouls": 0.4383,
                "fouls_drawn": 0.5507,
                "blocks": 0.2219,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.925,
                "total_progression": 28.9021,
                "progressive_carries": 1.2749,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.315,
                "bench_expected_minutes": 22.38
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "key_pass": 0.2786,
                "expected_assists": 0.017,
                "assist_rate": 0.0372,
                "assists": 0,
                "expected_goals": 0.0163,
                "goal_rate": 0.025,
                "goals": 0,
                "shots_on_target": 0.0653,
                "total_shots": 0.2766,
                "rating": 6.6914,
                "minutes": 22.38,
                "total_pass": 10.1394,
                "accurate_pass": 7.8296,
                "duels_won": 1.7954,
                "total_long_balls": 0.3771,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.747,
                "accurate_own_half_passes": 2.0922,
                "total_opp_half_passes": 7.3923,
                "accurate_opp_half_passes": 5.7374,
                "crosses_total": 0.1288,
                "crosses_accurate": 0.0,
                "touches": 15.1931,
                "possession_lost": 3.3812,
                "dispossessed": 0.4373,
                "duels_lost": 2.2141,
                "aerial_won": 0.4092,
                "aerial_lost": 0.8117,
                "interceptions": 0.367,
                "tackles_won": 0.8259,
                "tackles": 0.8326,
                "clearances": 0.7681,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5921,
                "fouls": 0.4383,
                "fouls_drawn": 0.5507,
                "blocks": 0.2219,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.925,
                "total_progression": 28.9021,
                "progressive_carries": 1.2749,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.315,
                "bench_expected_minutes": 22.38,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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.315,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 76.0)",
              "stats": {
                "key_pass": 0.2786,
                "expected_assists": 0.017,
                "assist_rate": 0.0372,
                "assists": 0,
                "expected_goals": 0.0163,
                "goal_rate": 0.025,
                "goals": 0,
                "shots_on_target": 0.0653,
                "total_shots": 0.2766,
                "rating": 6.6914,
                "minutes": 22.38,
                "total_pass": 10.1394,
                "accurate_pass": 7.8296,
                "duels_won": 1.7954,
                "total_long_balls": 0.3771,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.747,
                "accurate_own_half_passes": 2.0922,
                "total_opp_half_passes": 7.3923,
                "accurate_opp_half_passes": 5.7374,
                "crosses_total": 0.1288,
                "crosses_accurate": 0.0,
                "touches": 15.1931,
                "possession_lost": 3.3812,
                "dispossessed": 0.4373,
                "duels_lost": 2.2141,
                "aerial_won": 0.4092,
                "aerial_lost": 0.8117,
                "interceptions": 0.367,
                "tackles_won": 0.8259,
                "tackles": 0.8326,
                "clearances": 0.7681,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5921,
                "fouls": 0.4383,
                "fouls_drawn": 0.5507,
                "blocks": 0.2219,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.925,
                "total_progression": 28.9021,
                "progressive_carries": 1.2749,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.315,
                "bench_expected_minutes": 22.38,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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": 76.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3267,
                "fifa_rank": 1978.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Gabriel Moscardo": {
          "player_id": 1485309,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 20,
          "height": 185,
          "market_value": 7500000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0152,
            "assist_rate": 0.0493,
            "assists": 0,
            "expected_goals": 0.0456,
            "goal_rate": 0.0613,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6577,
            "minutes": 35,
            "total_pass": 14,
            "accurate_pass": 13,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 9,
            "accurate_own_half_passes": 8,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 2.9948,
            "dispossessed": 0.9399,
            "duels_lost": 3,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 3,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0147,
            "ball_carries": 7,
            "total_progression": 16,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.696,
            "bench_expected_minutes": 34.74,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.246,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0441,
            "projected_assists": 0,
            "assist_probability": 0.015,
            "finishing_factor": 1.1163,
            "creation_factor": 1.25,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16421071,
              "match_date": "2026-10-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 17,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0586,
                "expected_assists": 0.0009,
                "total_shots": 1,
                "total_pass": 5,
                "accurate_pass": 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": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0811,
                "expected_assists": 0.004,
                "total_shots": 1,
                "total_pass": 8,
                "accurate_pass": 5,
                "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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 24,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 6,
                "tackles": 2,
                "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": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 59,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0136,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 17,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 5,
                "duels_won": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0453,
                "expected_assists": 0.006,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 21,
                "accurate_pass": 18,
                "tackles": 4,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4340,
            "combined_rank_score": 2356.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 4267.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6577,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gabriel Moscardo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Fabiano Parisi",
                  "ranking": 4335
                },
                {
                  "player_name": "Mandela Keita",
                  "ranking": 4336
                },
                {
                  "player_name": "Jay Idzes",
                  "ranking": 4337
                },
                {
                  "player_name": "Obed Vargas",
                  "ranking": 4338
                },
                {
                  "player_name": "Mateo Joseph",
                  "ranking": 4339
                }
              ],
              "lower": [
                {
                  "player_name": "Akor Jerome Adams",
                  "ranking": 4341
                },
                {
                  "player_name": "Ezequiel Ponce",
                  "ranking": 4342
                },
                {
                  "player_name": "Anass Salah-Eddine",
                  "ranking": 4343
                },
                {
                  "player_name": "Fabio Miretti",
                  "ranking": 4344
                },
                {
                  "player_name": "Tommaso Baldanzi",
                  "ranking": 4345
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.567,
          "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.567,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 34.74,
            "bench_appearance_prob": 0.696,
            "market_value_adjustment": 0.9981,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 45.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0333
            },
            "rationale": "Bench projection scaled from XGBoost M_service (5 historical appearances) to 34.7 expected mins (appearance prob 0.70); FBref playing time empirical prior: 1.0 sub appearances, 45.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2392,
                "expected_assists": 0.0114,
                "assists": 0.0343,
                "assist_rate": 0.0343,
                "expected_goals": 0.0342,
                "goals": 0.0428,
                "goal_rate": 0.0428,
                "shots_on_target": 0.1158,
                "total_shots": 0.4879,
                "rating": 6.6577,
                "minutes": 23.91,
                "total_pass": 9.8241,
                "accurate_pass": 8.9815,
                "duels_won": 2.3955,
                "total_long_balls": 1.0,
                "accurate_long_balls": 0.7191,
                "total_own_half_passes": 6.4198,
                "accurate_own_half_passes": 5.8581,
                "total_opp_half_passes": 3.4043,
                "accurate_opp_half_passes": 3.1234,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.0622,
                "possession_lost": 2.0651,
                "dispossessed": 0.9417,
                "duels_lost": 2.2225,
                "aerial_won": 0.2809,
                "aerial_lost": 0.2809,
                "interceptions": 0.0,
                "tackles_won": 0.6113,
                "tackles": 1.7843,
                "clearances": 0.8921,
                "total_contest": 0.6113,
                "won_contest": 0.3304,
                "challenges_lost": 0.3887,
                "fouls": 0.3304,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.011,
                "ball_carries": 4.6268,
                "total_progression": 11.3613,
                "progressive_carries": 0.3887,
                "shots_off_target": 0.3721
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-24T10:06:41.574598+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 903,
                    "rows": 24475
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.2696,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.1948,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 0.0,
                  "creative_index": 0.0027,
                  "totalShots": 0.6396,
                  "expectedGoals": 0.0408,
                  "expectedAssists": 0.0045,
                  "onTargetScoringAttempt": 0.1408
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.2392156422138214,
                    "model_output": 0.2392,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1647
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1377
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0663
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0524
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0316
                      }
                    ],
                    "decomposition": {
                      "base": 0.8945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4026
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0672
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0418
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.037
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0199
                        }
                      ],
                      "others": -0.0868,
                      "total": 0.2392,
                      "log_link": true,
                      "margin_base": -0.111507,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.597978
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.146834
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.103492
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.101509
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.059154
                        }
                      ],
                      "others_margin": -0.309915
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.011395302601158619,
                    "model_output": 0.0114,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1545
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1048
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1021
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0472
                      }
                    ],
                    "decomposition": {
                      "base": 0.0859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0386
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0124
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0032
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0096,
                      "total": 0.0114,
                      "log_link": true,
                      "margin_base": -2.454719,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.596754
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.30394
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.280496
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.128975
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.100578
                        }
                      ],
                      "others_margin": -0.609091
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.03434713929891586,
                    "model_output": 0.0343,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0619
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0395
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0343
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 0.0874,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0186
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0132
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0086
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0044
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0043
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.0343,
                      "log_link": true,
                      "margin_base": -2.437263,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.238612
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.213256
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.167953
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.097871
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.096554
                        }
                      ],
                      "others_margin": -0.312835
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03424302488565445,
                    "model_output": 0.0342,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.134
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.074
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0705
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.039
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0273
                      }
                    ],
                    "decomposition": {
                      "base": 0.094,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0411
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0068
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0039
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0031
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0025,
                      "total": 0.0342,
                      "log_link": true,
                      "margin_base": -2.364919,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.575627
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.137223
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.089326
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.075173
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.063
                        }
                      ],
                      "others_margin": -0.069004
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04275580495595932,
                    "model_output": 0.0428,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0974
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0527
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0513
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0365
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0993,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0381
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0062
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0053
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0031
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.003
                        }
                      ],
                      "others": -0.0068,
                      "total": 0.0428,
                      "log_link": true,
                      "margin_base": -2.309444,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.484623
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.107557
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.10197
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.065477
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.062914
                        }
                      ],
                      "others_margin": -0.146092
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.11582537740468979,
                    "model_output": 0.1158,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1106
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0885
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0762
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0292
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.326,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1511
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.034
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.026
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0098
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0064
                        }
                      ],
                      "others": -0.0153,
                      "total": 0.1158,
                      "log_link": true,
                      "margin_base": -1.120773,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.622413
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.215754
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.203444
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.081769
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.050203
                        }
                      ],
                      "others_margin": -0.12526
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4878864288330078,
                    "model_output": 0.4879,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1261
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1167
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0633
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0419
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.9969,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.348
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1453
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0524
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0429
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0261
                        }
                      ],
                      "others": -0.0323,
                      "total": 0.4879,
                      "log_link": false,
                      "margin_base": 0.996896,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.347992
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.145324
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.052411
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.042912
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.026125
                        }
                      ],
                      "others_margin": -0.03232
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.657656192779541,
                    "model_output": 6.6577,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0947
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0836
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0491
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0438
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.036
                      }
                    ],
                    "decomposition": {
                      "base": 6.8561,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0539
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0493
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0365
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0133
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0118
                        }
                      ],
                      "others": -0.0336,
                      "total": 6.6577,
                      "log_link": false,
                      "margin_base": 6.856052,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.053939
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.04926
                        },
                        {
                          "name": "rating",
                          "margin": -0.036532
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.013335
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.01185
                        }
                      ],
                      "others_margin": -0.033479
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 5,
                  "role_matches": 3,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9981, quality 0.493)",
              "stats": {
                "key_pass": 0.2388,
                "expected_assists": 0.0114,
                "assists": 0.0343,
                "assist_rate": 0.0343,
                "expected_goals": 0.0342,
                "goals": 0.0427,
                "goal_rate": 0.0427,
                "shots_on_target": 0.1156,
                "total_shots": 0.487,
                "rating": 6.6577,
                "minutes": 23.91,
                "total_pass": 9.8054,
                "accurate_pass": 8.9644,
                "duels_won": 2.3909,
                "total_long_balls": 0.9981,
                "accurate_long_balls": 0.7177,
                "total_own_half_passes": 6.4076,
                "accurate_own_half_passes": 5.847,
                "total_opp_half_passes": 3.3978,
                "accurate_opp_half_passes": 3.1175,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.0317,
                "possession_lost": 2.0612,
                "dispossessed": 0.9399,
                "duels_lost": 2.2183,
                "aerial_won": 0.2804,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.6101,
                "tackles": 1.7809,
                "clearances": 0.8904,
                "total_contest": 0.6101,
                "won_contest": 0.3298,
                "challenges_lost": 0.388,
                "fouls": 0.3298,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.011,
                "ball_carries": 4.618,
                "total_progression": 11.3397,
                "progressive_carries": 0.388,
                "shots_off_target": 0.3714
              },
              "params": {
                "market_value_eur": 7500000,
                "quality_factor": 0.4927,
                "boost_factor": 0.9981,
                "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.0108)",
              "stats": {
                "key_pass": 0.2388,
                "expected_assists": 0.0114,
                "assists": 0.0339,
                "assist_rate": 0.0339,
                "expected_goals": 0.0342,
                "goals": 0.0422,
                "goal_rate": 0.0422,
                "shots_on_target": 0.1201,
                "total_shots": 0.4875,
                "rating": 6.6577,
                "minutes": 23.91,
                "total_pass": 9.8054,
                "accurate_pass": 8.9644,
                "duels_won": 2.3909,
                "total_long_balls": 0.9981,
                "accurate_long_balls": 0.7177,
                "total_own_half_passes": 6.4076,
                "accurate_own_half_passes": 5.847,
                "total_opp_half_passes": 3.3978,
                "accurate_opp_half_passes": 3.1175,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.0317,
                "possession_lost": 2.0612,
                "dispossessed": 0.9399,
                "duels_lost": 2.2183,
                "aerial_won": 0.2804,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.6092,
                "tackles": 1.7809,
                "clearances": 0.8904,
                "total_contest": 0.6101,
                "won_contest": 0.3298,
                "challenges_lost": 0.388,
                "fouls": 0.3262,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.011,
                "ball_carries": 4.618,
                "total_progression": 11.3397,
                "progressive_carries": 0.388,
                "shots_off_target": 0.3714
              },
              "params": {
                "blend_weight": 0.0108,
                "history_matches": 5,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2657,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Espanyol"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 23.9 to 34.7 expected minutes (appearance prob 0.70)",
              "stats": {
                "key_pass": 0.347,
                "expected_assists": 0.0166,
                "assists": 0.0493,
                "assist_rate": 0.0493,
                "expected_goals": 0.0497,
                "goals": 0.0613,
                "goal_rate": 0.0613,
                "shots_on_target": 0.1745,
                "total_shots": 0.7141,
                "rating": 6.6577,
                "minutes": 34.74,
                "total_pass": 14.2467,
                "accurate_pass": 13.0248,
                "duels_won": 3.4739,
                "total_long_balls": 1.4502,
                "accurate_long_balls": 1.0428,
                "total_own_half_passes": 9.3099,
                "accurate_own_half_passes": 8.4954,
                "total_opp_half_passes": 4.9368,
                "accurate_opp_half_passes": 4.5296,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.2932,
                "possession_lost": 2.9948,
                "dispossessed": 0.9399,
                "duels_lost": 3.2231,
                "aerial_won": 0.4074,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.8851,
                "tackles": 2.5876,
                "clearances": 1.2937,
                "total_contest": 0.8864,
                "won_contest": 0.4792,
                "challenges_lost": 0.388,
                "fouls": 0.474,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.016,
                "ball_carries": 6.7097,
                "total_progression": 16.476,
                "progressive_carries": 0.5637,
                "shots_off_target": 0.5396,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74
              },
              "params": {
                "expected_minutes": 34.74,
                "projection_minutes": 23.91,
                "minutes_scale": 1.4529,
                "appearance_probability": 0.696
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.347,
                "expected_assists": 0.0166,
                "assists": 0.0493,
                "assist_rate": 0.0493,
                "expected_goals": 0.0497,
                "goals": 0.0613,
                "goal_rate": 0.0613,
                "shots_on_target": 0.1745,
                "total_shots": 0.7141,
                "rating": 6.6577,
                "minutes": 34.74,
                "total_pass": 14.2467,
                "accurate_pass": 13.0248,
                "duels_won": 3.4739,
                "total_long_balls": 1.4502,
                "accurate_long_balls": 1.0428,
                "total_own_half_passes": 9.3099,
                "accurate_own_half_passes": 8.4954,
                "total_opp_half_passes": 4.9368,
                "accurate_opp_half_passes": 4.5296,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.2932,
                "possession_lost": 2.9948,
                "dispossessed": 0.9399,
                "duels_lost": 3.2231,
                "aerial_won": 0.4074,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.8851,
                "tackles": 2.5876,
                "clearances": 1.2937,
                "total_contest": 0.8864,
                "won_contest": 0.4792,
                "challenges_lost": 0.388,
                "fouls": 0.474,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.016,
                "ball_carries": 6.7097,
                "total_progression": 16.476,
                "progressive_carries": 0.5637,
                "shots_off_target": 0.5396,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.347,
                "expected_assists": 0.0166,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.0497,
                "goal_rate": 0.0613,
                "goals": 0,
                "shots_on_target": 0.1745,
                "total_shots": 0.7141,
                "rating": 6.6577,
                "minutes": 34.74,
                "total_pass": 14.2467,
                "accurate_pass": 13.0248,
                "duels_won": 3.4739,
                "total_long_balls": 1.4502,
                "accurate_long_balls": 1.0428,
                "total_own_half_passes": 9.3099,
                "accurate_own_half_passes": 8.4954,
                "total_opp_half_passes": 4.9368,
                "accurate_opp_half_passes": 4.5296,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.2932,
                "possession_lost": 2.9948,
                "dispossessed": 0.9399,
                "duels_lost": 3.2231,
                "aerial_won": 0.4074,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.8851,
                "tackles": 2.5876,
                "clearances": 1.2937,
                "total_contest": 0.8864,
                "won_contest": 0.4792,
                "challenges_lost": 0.388,
                "fouls": 0.474,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.016,
                "ball_carries": 6.7097,
                "total_progression": 16.476,
                "progressive_carries": 0.5637,
                "shots_off_target": 0.5396,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.46 (squad xG sum 1.1085, xG scale 1.3171, xA scale 1.3171, team xA 0.96 = 0.66 x lambda)",
              "stats": {
                "key_pass": 0.347,
                "expected_assists": 0.0152,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.0456,
                "goal_rate": 0.0613,
                "goals": 0,
                "shots_on_target": 0.1745,
                "total_shots": 0.7141,
                "rating": 6.6577,
                "minutes": 34.74,
                "total_pass": 14.2467,
                "accurate_pass": 13.0248,
                "duels_won": 3.4739,
                "total_long_balls": 1.4502,
                "accurate_long_balls": 1.0428,
                "total_own_half_passes": 9.3099,
                "accurate_own_half_passes": 8.4954,
                "total_opp_half_passes": 4.9368,
                "accurate_opp_half_passes": 4.5296,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.2932,
                "possession_lost": 2.9948,
                "dispossessed": 0.9399,
                "duels_lost": 3.2231,
                "aerial_won": 0.4074,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.8851,
                "tackles": 2.5876,
                "clearances": 1.2937,
                "total_contest": 0.8864,
                "won_contest": 0.4792,
                "challenges_lost": 0.388,
                "fouls": 0.474,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0147,
                "ball_carries": 6.7097,
                "total_progression": 16.476,
                "progressive_carries": 0.5637,
                "shots_off_target": 0.5396,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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.1163,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.46,
                "squad_xg_sum": 1.1085,
                "squad_xa_sum": 0.7277,
                "team_expected_assists": 0.9585,
                "team_xa_to_xg_ratio": 0.6565,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3171,
                "xa_scale": 1.3171,
                "opponent_lambda": 1.312,
                "scoreline_reset": true,
                "appearance_weight": 0.696
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 72.0)",
              "stats": {
                "key_pass": 0.347,
                "expected_assists": 0.0152,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.0456,
                "goal_rate": 0.0613,
                "goals": 0,
                "shots_on_target": 0.1745,
                "total_shots": 0.7141,
                "rating": 6.6577,
                "minutes": 34.74,
                "total_pass": 14.2467,
                "accurate_pass": 13.0248,
                "duels_won": 3.4739,
                "total_long_balls": 1.4502,
                "accurate_long_balls": 1.0428,
                "total_own_half_passes": 9.3099,
                "accurate_own_half_passes": 8.4954,
                "total_opp_half_passes": 4.9368,
                "accurate_opp_half_passes": 4.5296,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.2932,
                "possession_lost": 2.9948,
                "dispossessed": 0.9399,
                "duels_lost": 3.2231,
                "aerial_won": 0.4074,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.8851,
                "tackles": 2.5876,
                "clearances": 1.2937,
                "total_contest": 0.8864,
                "won_contest": 0.4792,
                "challenges_lost": 0.388,
                "fouls": 0.474,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0147,
                "ball_carries": 6.7097,
                "total_progression": 16.476,
                "progressive_carries": 0.5637,
                "shots_off_target": 0.5396,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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.1163,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4340,
                "fifa_rank": 4267.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.347,
                "expected_assists": 0.0152,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.0456,
                "goal_rate": 0.0613,
                "goals": 0,
                "shots_on_target": 0.1745,
                "total_shots": 0.7141,
                "rating": 6.6577,
                "minutes": 34.74,
                "total_pass": 14.2467,
                "accurate_pass": 13.0248,
                "duels_won": 3.4739,
                "total_long_balls": 1.4502,
                "accurate_long_balls": 1.0428,
                "total_own_half_passes": 9.3099,
                "accurate_own_half_passes": 8.4954,
                "total_opp_half_passes": 4.9368,
                "accurate_opp_half_passes": 4.5296,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.2932,
                "possession_lost": 2.9948,
                "dispossessed": 0.9399,
                "duels_lost": 3.2231,
                "aerial_won": 0.4074,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.8851,
                "tackles": 2.5876,
                "clearances": 1.2937,
                "total_contest": 0.8864,
                "won_contest": 0.4792,
                "challenges_lost": 0.388,
                "fouls": 0.474,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0147,
                "ball_carries": 6.7097,
                "total_progression": 16.476,
                "progressive_carries": 0.5637,
                "shots_off_target": 0.5396,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0441,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1163,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0441,
                "goal_rate": 0.0613,
                "scorer_weight": 0.0509,
                "squad_weight_total": 1.4744,
                "weight_share": 0.0345,
                "finishing_factor": 1.1163,
                "appearance_weight": 0.696,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.6148,
                    "already": 0,
                    "effective_weight": 0.6148,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.1869
                  }
                ]
              }
            },
            {
              "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.347,
                "expected_assists": 0.0152,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.0456,
                "goal_rate": 0.0613,
                "goals": 0,
                "shots_on_target": 0.1745,
                "total_shots": 0.7141,
                "rating": 6.6577,
                "minutes": 34.74,
                "total_pass": 14.2467,
                "accurate_pass": 13.0248,
                "duels_won": 3.4739,
                "total_long_balls": 1.4502,
                "accurate_long_balls": 1.0428,
                "total_own_half_passes": 9.3099,
                "accurate_own_half_passes": 8.4954,
                "total_opp_half_passes": 4.9368,
                "accurate_opp_half_passes": 4.5296,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.2932,
                "possession_lost": 2.9948,
                "dispossessed": 0.9399,
                "duels_lost": 3.2231,
                "aerial_won": 0.4074,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.8851,
                "tackles": 2.5876,
                "clearances": 1.2937,
                "total_contest": 0.8864,
                "won_contest": 0.4792,
                "challenges_lost": 0.388,
                "fouls": 0.474,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0147,
                "ball_carries": 6.7097,
                "total_progression": 16.476,
                "progressive_carries": 0.5637,
                "shots_off_target": 0.5396,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0441,
                "projected_assists": 0,
                "assist_probability": 0.015,
                "finishing_factor": 1.1163,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.015,
                "assist_rate": 0.0493,
                "provider_weight": 0.019,
                "squad_weight_total": 0.8905,
                "weight_share": 0.0213,
                "creation_factor": 1.25,
                "appearance_weight": 0.696,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.2107,
                    "already": 0,
                    "effective_weight": 0.2107,
                    "runner_up": "Edu Expósito",
                    "runner_up_effective_weight": 0.158,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Tyrhys Dolan": {
          "player_id": 1063015,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 170,
          "market_value": 10800000,
          "stats": {
            "expected_goals": 0.0434,
            "goal_rate": 0.06,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0422,
            "key_pass": 0,
            "rating": 6.6769,
            "minutes": 26,
            "total_pass": 8,
            "accurate_pass": 7,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 17,
            "possession_lost": 5.7266,
            "dispossessed": 0.1363,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0418,
            "offsides": 0,
            "ball_carries": 6,
            "total_progression": 21,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.342,
            "bench_expected_minutes": 25.67,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.246,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 82,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0879,
                "expected_assists": 0.0216,
                "total_shots": 1,
                "total_pass": 19,
                "accurate_pass": 17,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 23,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1388,
                "expected_assists": 0.0858,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 13,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 66,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1573,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0118,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 19,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 83,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1341,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 15,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1023,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 18,
                "tackles": 1,
                "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": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 81,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2108,
                "expected_assists": 0.0398,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 24,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "duels_won": 2,
                "ball_recovery": 11
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1364,
                "expected_assists": 0.0032,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 76,
                "rating": 7.1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.5799,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 2,
                "tackles": 3,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083587,
              "match_date": "2026-05-09",
              "home_team": "Sevilla",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2114,
                "expected_assists": 0.0036,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 8,
                "accurate_pass": 5,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 9
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3488,
            "combined_rank_score": 1474.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 52.0,
            "sofascore_rating": 7.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2897.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6769,
            "source_file": "data/player_rankings.csv",
            "player_name": "Tyrhys Dolan",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Leandro González Pírez",
                  "ranking": 3483
                },
                {
                  "player_name": "Mahdi Camara",
                  "ranking": 3484
                },
                {
                  "player_name": "Saud Abdulhamid",
                  "ranking": 3485
                },
                {
                  "player_name": "Orel Mangala",
                  "ranking": 3486
                },
                {
                  "player_name": "Lassine Sinayoko",
                  "ranking": 3487
                }
              ],
              "lower": [
                {
                  "player_name": "Yann Gboho",
                  "ranking": 3489
                },
                {
                  "player_name": "Ansu Fati",
                  "ranking": 3490
                },
                {
                  "player_name": "Marcus Edwards",
                  "ranking": 3491
                },
                {
                  "player_name": "Ismaël Doukouré",
                  "ranking": 3492
                },
                {
                  "player_name": "Unai Marrero",
                  "ranking": 3493
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.778,
          "history_matches": 43,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 43,
            "data_confidence": 0.778,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.665977174234964,
            "bench_appearance_prob": 0.342,
            "market_value_adjustment": 1.0008,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.3571428571428571,
              "assists_per90": 0.0,
              "prior_reliability": 0.1867
            },
            "rationale": "Bench projection scaled from XGBoost F_service (43 historical appearances) to 25.7 expected mins (appearance prob 0.34); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0517,
                "goals": 0.0709,
                "goal_rate": 0.0709,
                "shots_on_target": 0.1853,
                "total_shots": 0.5459,
                "expected_assists": 0.0502,
                "key_pass": 0.4583,
                "rating": 6.6769,
                "minutes": 30.57,
                "total_pass": 9.8686,
                "accurate_pass": 7.8339,
                "duels_won": 2.5444,
                "total_long_balls": 0.2036,
                "accurate_long_balls": 0.0626,
                "total_opp_half_passes": 7.5364,
                "accurate_opp_half_passes": 5.8684,
                "crosses_total": 2.3072,
                "crosses_accurate": 0.3016,
                "touches": 20.8009,
                "possession_lost": 6.8153,
                "dispossessed": 0.1362,
                "duels_lost": 2.0678,
                "aerial_lost": 0.6091,
                "total_contest": 1.2819,
                "won_contest": 0.5162,
                "ball_recovery": 1.7568,
                "challenges_lost": 0.275,
                "fouls": 0.3555,
                "fouls_drawn": 0.661,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.5069,
                "tackles_won": 0.6633,
                "tackles": 1.0227,
                "clearances": 0.1659,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0626,
                "xgot": 0.0498,
                "offsides": 0.2325,
                "ball_carries": 7.1159,
                "total_progression": 25.0623,
                "progressive_carries": 0.8931,
                "shots_off_target": 0.3606
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:07:14.441608+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 611,
                    "rows": 16533
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1276,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0481,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.064,
                  "totalOppositionHalfPasses": 10.6121,
                  "accurateOppositionHalfPasses": 8.9544,
                  "accuratePass": 13.6543,
                  "totalShots": 0.9285
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.051684364676475525,
                    "model_output": 0.0517,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2858
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0881
                      },
                      {
                        "name": "goals",
                        "importance": 0.0357
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0272
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0231
                      }
                    ],
                    "decomposition": {
                      "base": 0.1979,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0838
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0206
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0061
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0055
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0044
                        }
                      ],
                      "others": -0.0258,
                      "total": 0.0517,
                      "log_link": true,
                      "margin_base": -1.619934,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.550425
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.198693
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.067321
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.065299
                        },
                        {
                          "name": "goals",
                          "margin": -0.054618
                        }
                      ],
                      "others_margin": -0.406311
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07087505608797073,
                    "model_output": 0.0709,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1497
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0696
                      },
                      {
                        "name": "goals",
                        "importance": 0.0577
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0307
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0286
                      }
                    ],
                    "decomposition": {
                      "base": 0.2023,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0811
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.011
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0091
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0048
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0041
                        }
                      ],
                      "others": -0.0213,
                      "total": 0.0709,
                      "log_link": true,
                      "margin_base": -1.597983,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.512389
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.095173
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.085923
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.049034
                        },
                        {
                          "name": "goals",
                          "margin": -0.043676
                        }
                      ],
                      "others_margin": -0.262659
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.18525345623493195,
                    "model_output": 0.1853,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2171
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0661
                      },
                      {
                        "name": "goals",
                        "importance": 0.0553
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0475
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0308
                      }
                    ],
                    "decomposition": {
                      "base": 0.5362,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2199
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0286
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0233
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0166
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0123
                        }
                      ],
                      "others": -0.0502,
                      "total": 0.1853,
                      "log_link": true,
                      "margin_base": -0.623262,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.527815
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.094764
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.084434
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.064884
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.05095
                        }
                      ],
                      "others_margin": -0.239921
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5458202362060547,
                    "model_output": 0.5458,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2864
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.051
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.031
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 1.3807,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4649
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1379
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.038
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.035
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.028
                        }
                      ],
                      "others": -0.1311,
                      "total": 0.5458,
                      "log_link": false,
                      "margin_base": 1.380749,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.464941
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.13786
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.037981
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.034981
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.02797
                        }
                      ],
                      "others_margin": -0.131197
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05021510645747185,
                    "model_output": 0.0502,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1157
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0645
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0607
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0558
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 0.0644,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0199
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0055
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0035
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0025
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0023
                        }
                      ],
                      "others": -0.0031,
                      "total": 0.0502,
                      "log_link": true,
                      "margin_base": -2.741965,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.368384
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.115907
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.068363
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.047674
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.044346
                        }
                      ],
                      "others_margin": -0.062032
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.45834288001060486,
                    "model_output": 0.4583,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1481
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1244
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1112
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.052
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0395
                      }
                    ],
                    "decomposition": {
                      "base": 0.6805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2488
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0185
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0174
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.018
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0149
                        }
                      ],
                      "others": -0.0052,
                      "total": 0.4583,
                      "log_link": true,
                      "margin_base": -0.384987,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.455243
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.04389
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.041186
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.040881
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.032586
                        }
                      ],
                      "others_margin": -0.010671
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.676875591278076,
                    "model_output": 6.6769,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.059
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0483
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0421
                      },
                      {
                        "name": "rating",
                        "importance": 0.0418
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0415
                      }
                    ],
                    "decomposition": {
                      "base": 6.7683,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.053
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0112
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0082
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0081
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0081
                        }
                      ],
                      "others": -0.0354,
                      "total": 6.6769,
                      "log_link": false,
                      "margin_base": 6.768281,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.053048
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.011174
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.008209
                        },
                        {
                          "name": "touches",
                          "margin": 0.008116
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.008059
                        }
                      ],
                      "others_margin": -0.035449
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 43,
                  "role_matches": 9,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0008, quality 0.532)",
              "stats": {
                "expected_goals": 0.0517,
                "goals": 0.0709,
                "goal_rate": 0.0709,
                "shots_on_target": 0.1854,
                "total_shots": 0.5463,
                "expected_assists": 0.0503,
                "key_pass": 0.4587,
                "rating": 6.6769,
                "minutes": 30.57,
                "total_pass": 9.8765,
                "accurate_pass": 7.8402,
                "duels_won": 2.5464,
                "total_long_balls": 0.2038,
                "accurate_long_balls": 0.0627,
                "total_opp_half_passes": 7.5424,
                "accurate_opp_half_passes": 5.8731,
                "crosses_total": 2.309,
                "crosses_accurate": 0.3018,
                "touches": 20.8175,
                "possession_lost": 6.8208,
                "dispossessed": 0.1363,
                "duels_lost": 2.0695,
                "aerial_lost": 0.6096,
                "total_contest": 1.2829,
                "won_contest": 0.5166,
                "ball_recovery": 1.7582,
                "challenges_lost": 0.2752,
                "fouls": 0.3558,
                "fouls_drawn": 0.6615,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.5073,
                "tackles_won": 0.6638,
                "tackles": 1.0235,
                "clearances": 0.166,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0627,
                "xgot": 0.0498,
                "offsides": 0.2327,
                "ball_carries": 7.1216,
                "total_progression": 25.0823,
                "progressive_carries": 0.8938,
                "shots_off_target": 0.3609
              },
              "params": {
                "market_value_eur": 10800000,
                "quality_factor": 0.5318,
                "boost_factor": 1.0008,
                "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.0126)",
              "stats": {
                "expected_goals": 0.0517,
                "goals": 0.0715,
                "goal_rate": 0.0715,
                "shots_on_target": 0.1846,
                "total_shots": 0.5455,
                "expected_assists": 0.0503,
                "key_pass": 0.4587,
                "rating": 6.6769,
                "minutes": 30.57,
                "total_pass": 9.8765,
                "accurate_pass": 7.8402,
                "duels_won": 2.5464,
                "total_long_balls": 0.2038,
                "accurate_long_balls": 0.0627,
                "total_opp_half_passes": 7.5424,
                "accurate_opp_half_passes": 5.8731,
                "crosses_total": 2.2921,
                "crosses_accurate": 0.3018,
                "touches": 20.8175,
                "possession_lost": 6.8208,
                "dispossessed": 0.1363,
                "duels_lost": 2.0695,
                "aerial_lost": 0.6096,
                "total_contest": 1.2829,
                "won_contest": 0.5166,
                "ball_recovery": 1.7582,
                "challenges_lost": 0.2752,
                "fouls": 0.359,
                "fouls_drawn": 0.6593,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.5086,
                "tackles_won": 0.6585,
                "tackles": 1.0235,
                "clearances": 0.166,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0627,
                "xgot": 0.0498,
                "offsides": 0.2313,
                "ball_carries": 7.1216,
                "total_progression": 25.0823,
                "progressive_carries": 0.8938,
                "shots_off_target": 0.3609
              },
              "params": {
                "blend_weight": 0.0126,
                "history_matches": 43,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3397,
                "prior_reliability": 0.1867,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.309,
                  "after": 2.2921
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6638,
                  "after": 0.6585
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 30.6 to 25.7 expected minutes (appearance prob 0.34)",
              "stats": {
                "expected_goals": 0.0434,
                "goals": 0.06,
                "goal_rate": 0.06,
                "shots_on_target": 0.155,
                "total_shots": 0.458,
                "expected_assists": 0.0422,
                "key_pass": 0.3851,
                "rating": 6.6769,
                "minutes": 25.67,
                "total_pass": 8.2921,
                "accurate_pass": 6.5825,
                "duels_won": 2.1379,
                "total_long_balls": 0.1711,
                "accurate_long_balls": 0.0526,
                "total_opp_half_passes": 6.3325,
                "accurate_opp_half_passes": 4.9309,
                "crosses_total": 1.9244,
                "crosses_accurate": 0.2534,
                "touches": 17.478,
                "possession_lost": 5.7266,
                "dispossessed": 0.1363,
                "duels_lost": 1.7375,
                "aerial_lost": 0.6096,
                "total_contest": 1.0771,
                "won_contest": 0.4337,
                "ball_recovery": 1.4762,
                "challenges_lost": 0.2752,
                "fouls": 0.3014,
                "fouls_drawn": 0.5535,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.427,
                "tackles_won": 0.5529,
                "tackles": 0.8593,
                "clearances": 0.1394,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0526,
                "xgot": 0.0418,
                "offsides": 0.2313,
                "ball_carries": 5.9792,
                "total_progression": 21.0586,
                "progressive_carries": 0.7504,
                "shots_off_target": 0.303,
                "bench_appearance_probability": 0.342,
                "bench_expected_minutes": 25.67
              },
              "params": {
                "expected_minutes": 25.67,
                "projection_minutes": 30.57,
                "minutes_scale": 0.8396,
                "appearance_probability": 0.342
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0434,
                "goals": 0.06,
                "goal_rate": 0.06,
                "shots_on_target": 0.155,
                "total_shots": 0.458,
                "expected_assists": 0.0422,
                "key_pass": 0.3851,
                "rating": 6.6769,
                "minutes": 25.67,
                "total_pass": 8.2921,
                "accurate_pass": 6.5825,
                "duels_won": 2.1379,
                "total_long_balls": 0.1711,
                "accurate_long_balls": 0.0526,
                "total_opp_half_passes": 6.3325,
                "accurate_opp_half_passes": 4.9309,
                "crosses_total": 1.9244,
                "crosses_accurate": 0.2534,
                "touches": 17.478,
                "possession_lost": 5.7266,
                "dispossessed": 0.1363,
                "duels_lost": 1.7375,
                "aerial_lost": 0.6096,
                "total_contest": 1.0771,
                "won_contest": 0.4337,
                "ball_recovery": 1.4762,
                "challenges_lost": 0.2752,
                "fouls": 0.3014,
                "fouls_drawn": 0.5535,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.427,
                "tackles_won": 0.5529,
                "tackles": 0.8593,
                "clearances": 0.1394,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0526,
                "xgot": 0.0418,
                "offsides": 0.2313,
                "ball_carries": 5.9792,
                "total_progression": 21.0586,
                "progressive_carries": 0.7504,
                "shots_off_target": 0.303,
                "bench_appearance_probability": 0.342,
                "bench_expected_minutes": 25.67
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "expected_goals": 0.0434,
                "goal_rate": 0.06,
                "goals": 0,
                "shots_on_target": 0.155,
                "total_shots": 0.458,
                "expected_assists": 0.0422,
                "key_pass": 0.3851,
                "rating": 6.6769,
                "minutes": 25.67,
                "total_pass": 8.2921,
                "accurate_pass": 6.5825,
                "duels_won": 2.1379,
                "total_long_balls": 0.1711,
                "accurate_long_balls": 0.0526,
                "total_opp_half_passes": 6.3325,
                "accurate_opp_half_passes": 4.9309,
                "crosses_total": 1.9244,
                "crosses_accurate": 0.2534,
                "touches": 17.478,
                "possession_lost": 5.7266,
                "dispossessed": 0.1363,
                "duels_lost": 1.7375,
                "aerial_lost": 0.6096,
                "total_contest": 1.0771,
                "won_contest": 0.4337,
                "ball_recovery": 1.4762,
                "challenges_lost": 0.2752,
                "fouls": 0.3014,
                "fouls_drawn": 0.5535,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.427,
                "tackles_won": 0.5529,
                "tackles": 0.8593,
                "clearances": 0.1394,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0526,
                "xgot": 0.0418,
                "offsides": 0.2313,
                "ball_carries": 5.9792,
                "total_progression": 21.0586,
                "progressive_carries": 0.7504,
                "shots_off_target": 0.303,
                "bench_appearance_probability": 0.342,
                "bench_expected_minutes": 25.67,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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.342,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 74.0)",
              "stats": {
                "expected_goals": 0.0434,
                "goal_rate": 0.06,
                "goals": 0,
                "shots_on_target": 0.155,
                "total_shots": 0.458,
                "expected_assists": 0.0422,
                "key_pass": 0.3851,
                "rating": 6.6769,
                "minutes": 25.67,
                "total_pass": 8.2921,
                "accurate_pass": 6.5825,
                "duels_won": 2.1379,
                "total_long_balls": 0.1711,
                "accurate_long_balls": 0.0526,
                "total_opp_half_passes": 6.3325,
                "accurate_opp_half_passes": 4.9309,
                "crosses_total": 1.9244,
                "crosses_accurate": 0.2534,
                "touches": 17.478,
                "possession_lost": 5.7266,
                "dispossessed": 0.1363,
                "duels_lost": 1.7375,
                "aerial_lost": 0.6096,
                "total_contest": 1.0771,
                "won_contest": 0.4337,
                "ball_recovery": 1.4762,
                "challenges_lost": 0.2752,
                "fouls": 0.3014,
                "fouls_drawn": 0.5535,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.427,
                "tackles_won": 0.5529,
                "tackles": 0.8593,
                "clearances": 0.1394,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0526,
                "xgot": 0.0418,
                "offsides": 0.2313,
                "ball_carries": 5.9792,
                "total_progression": 21.0586,
                "progressive_carries": 0.7504,
                "shots_off_target": 0.303,
                "bench_appearance_probability": 0.342,
                "bench_expected_minutes": 25.67,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3488,
                "fifa_rank": 2897.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Javi Puado": {
          "player_id": 891511,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 7,
          "height": 178,
          "market_value": 7000000,
          "stats": {
            "expected_goals": 0.1158,
            "goal_rate": 0.1494,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0359,
            "key_pass": 1,
            "rating": 6.6156,
            "minutes": 25,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 1.3359,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 3,
            "total_progression": 1,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.568,
            "bench_expected_minutes": 25.49,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.246,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.1048,
            "projected_assists": 0,
            "assist_probability": 0.0348,
            "finishing_factor": 0.9736,
            "creation_factor": 0.8,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16421071,
              "match_date": "2026-10-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 8,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0079,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 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": 14083222,
              "match_date": "2026-01-11",
              "home_team": "Levante UD",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083203,
              "match_date": "2026-01-03",
              "home_team": "Espanyol",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 8,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083635,
              "match_date": "2025-10-05",
              "home_team": "Espanyol",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.168,
                "expected_assists": 0.1238,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 47,
                "accurate_pass": 40,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 7
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083595,
              "match_date": "2025-09-26",
              "home_team": "Girona FC",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 75,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0325,
                "expected_assists": 0.1577,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 17,
                "key_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083407,
              "match_date": "2025-09-23",
              "home_team": "Espanyol",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2083,
                "expected_assists": 0.2352,
                "total_shots": 5,
                "shots_on_target": 3,
                "shots_off_target": 2,
                "total_pass": 20,
                "accurate_pass": 15,
                "key_pass": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 7
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083333,
              "match_date": "2025-09-20",
              "home_team": "Real Madrid",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 77,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1166,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083234,
              "match_date": "2025-09-15",
              "home_team": "Espanyol",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 72,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0834,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083138,
              "match_date": "2025-08-31",
              "home_team": "Espanyol",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 84,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.161,
                "expected_assists": 0.0426,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 18,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14082867,
              "match_date": "2025-08-24",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8859,
                "expected_assists": 0.0246,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 21,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2281,
            "combined_rank_score": 901.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 834.0,
            "sofascore_rating": 6.5889,
            "sofascore_appearances": 10.0,
            "fifa_rank": 968.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6156,
            "source_file": "data/player_rankings.csv",
            "player_name": "Javi Puado",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Yves Bissouma",
                  "ranking": 2276
                },
                {
                  "player_name": "Nuriddin  Nuriddinov",
                  "ranking": 2277
                },
                {
                  "player_name": "Kim Min-Ho",
                  "ranking": 2278
                },
                {
                  "player_name": "Manuel Ugarte",
                  "ranking": 2279
                },
                {
                  "player_name": "Endrick",
                  "ranking": 2280
                }
              ],
              "lower": [
                {
                  "player_name": "Bekhruz Jumatov",
                  "ranking": 2282
                },
                {
                  "player_name": "Odilon Kossounou",
                  "ranking": 2283
                },
                {
                  "player_name": "Lennart Karl",
                  "ranking": 2284
                },
                {
                  "player_name": "André",
                  "ranking": 2285
                },
                {
                  "player_name": "Tim Payne",
                  "ranking": 2286
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 11,
          "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": 11,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.48700561251263,
            "bench_appearance_prob": 0.5675911642051195,
            "market_value_adjustment": 0.9983,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (11 historical appearances) to 25.5 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1033,
                "goals": 0.0998,
                "goal_rate": 0.0998,
                "shots_on_target": 0.2376,
                "total_shots": 0.6843,
                "expected_assists": 0.0321,
                "key_pass": 0.349,
                "rating": 6.6156,
                "minutes": 12.01,
                "total_pass": 3.0671,
                "accurate_pass": 2.7862,
                "duels_won": 0.2809,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 1.447,
                "accurate_opp_half_passes": 1.1662,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 3.9592,
                "possession_lost": 0.8921,
                "dispossessed": 0.0,
                "duels_lost": 2.0,
                "aerial_lost": 1.0583,
                "total_contest": 0.6113,
                "won_contest": 0.2809,
                "ball_recovery": 0.3887,
                "challenges_lost": 0.0,
                "fouls": 0.6113,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.2313,
                "total_progression": 0.6814,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4467
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:07:14.441608+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 611,
                    "rows": 16533
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1801,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-01-11",
                    "opponent": "Levante UD",
                    "minutes": 4.0,
                    "is_starting": false,
                    "weight": 0.1531,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "FC Barcelona",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1302,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-10-05",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1106,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2025-09-26",
                    "opponent": "Girona FC",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.094,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-09-23",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0799,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2025-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0679,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-09-15",
                    "opponent": "Mallorca",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0578,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2025-08-31",
                    "opponent": "Osasuna",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0491,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2025-08-24",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0417,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 11.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.2743,
                  "totalOppositionHalfPasses": 9.9208,
                  "accurateOppositionHalfPasses": 8.0288,
                  "accuratePass": 12.8999,
                  "totalShots": 1.146
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10333295166492462,
                    "model_output": 0.1033,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2858
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0881
                      },
                      {
                        "name": "goals",
                        "importance": 0.0357
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0272
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0231
                      }
                    ],
                    "decomposition": {
                      "base": 0.1979,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0894
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0215
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0097
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0062
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0052
                        }
                      ],
                      "others": -0.016,
                      "total": 0.1033,
                      "log_link": true,
                      "margin_base": -1.619934,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.601253
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.181117
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.077385
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.053329
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.044646
                        }
                      ],
                      "others_margin": -0.143661
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.09976766258478165,
                    "model_output": 0.0998,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1497
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0696
                      },
                      {
                        "name": "goals",
                        "importance": 0.0577
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0307
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0286
                      }
                    ],
                    "decomposition": {
                      "base": 0.2023,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0878
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0174
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0153
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.007
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0067
                        }
                      ],
                      "others": -0.0171,
                      "total": 0.0998,
                      "log_link": true,
                      "margin_base": -1.597983,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.569578
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.141351
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.123335
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.058678
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.055757
                        }
                      ],
                      "others_margin": -0.158288
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2376091182231903,
                    "model_output": 0.2376,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2171
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0661
                      },
                      {
                        "name": "goals",
                        "importance": 0.0553
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0475
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0308
                      }
                    ],
                    "decomposition": {
                      "base": 0.5362,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2321
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0261
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0206
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0183
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0111
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.2376,
                      "log_link": true,
                      "margin_base": -0.623262,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.567039
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.089763
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.076932
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.073906
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.045324
                        }
                      ],
                      "others_margin": -0.051552
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6842798590660095,
                    "model_output": 0.6843,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2864
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.051
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.031
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 1.3807,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5129
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1053
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0406
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0399
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0354
                        }
                      ],
                      "others": -0.0421,
                      "total": 0.6843,
                      "log_link": false,
                      "margin_base": 1.380749,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.512862
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.105289
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.040579
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.039865
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.035441
                        }
                      ],
                      "others_margin": -0.042164
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03205539658665657,
                    "model_output": 0.0321,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1157
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0645
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0607
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0558
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 0.0644,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0182
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0044
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0031
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0025
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0025
                        }
                      ],
                      "others": -0.0066,
                      "total": 0.0321,
                      "log_link": true,
                      "margin_base": -2.741965,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.332844
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.099889
                        },
                        {
                          "name": "rating",
                          "margin": -0.076452
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.068102
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.065607
                        }
                      ],
                      "others_margin": -0.186645
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.34896063804626465,
                    "model_output": 0.349,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1481
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1244
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1112
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.052
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0395
                      }
                    ],
                    "decomposition": {
                      "base": 0.6805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.248
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0191
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0177
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0137
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0125
                        }
                      ],
                      "others": -0.0205,
                      "total": 0.349,
                      "log_link": true,
                      "margin_base": -0.384987,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.453164
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.04514
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.043745
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.035186
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.033365
                        }
                      ],
                      "others_margin": -0.057208
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.615561008453369,
                    "model_output": 6.6156,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.059
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0483
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0421
                      },
                      {
                        "name": "rating",
                        "importance": 0.0418
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0415
                      }
                    ],
                    "decomposition": {
                      "base": 6.7683,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0618
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0284
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0138
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0121
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.008
                        }
                      ],
                      "others": -0.0528,
                      "total": 6.6156,
                      "log_link": false,
                      "margin_base": 6.768281,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.061803
                        },
                        {
                          "name": "rating",
                          "margin": -0.02841
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.01382
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.012098
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.008041
                        }
                      ],
                      "others_margin": -0.052744
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 11,
                  "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.9983, quality 0.487)",
              "stats": {
                "expected_goals": 0.1032,
                "goals": 0.0996,
                "goal_rate": 0.0996,
                "shots_on_target": 0.2372,
                "total_shots": 0.6831,
                "expected_assists": 0.032,
                "key_pass": 0.3484,
                "rating": 6.6156,
                "minutes": 12.01,
                "total_pass": 3.0619,
                "accurate_pass": 2.7815,
                "duels_won": 0.2804,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 1.4445,
                "accurate_opp_half_passes": 1.1642,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 3.9525,
                "possession_lost": 0.8906,
                "dispossessed": 0.0,
                "duels_lost": 1.9966,
                "aerial_lost": 1.0565,
                "total_contest": 0.6103,
                "won_contest": 0.2804,
                "ball_recovery": 0.388,
                "challenges_lost": 0.0,
                "fouls": 0.6103,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.2275,
                "total_progression": 0.6802,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4459
              },
              "params": {
                "market_value_eur": 7000000,
                "quality_factor": 0.4866,
                "boost_factor": 0.9983,
                "reference_quality": 0.505,
                "history_matches": 11,
                "history_shrink": 0.3125,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 12.0 to 25.5 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.1548,
                "goals": 0.1494,
                "goal_rate": 0.1494,
                "shots_on_target": 0.3558,
                "total_shots": 1.0247,
                "expected_assists": 0.048,
                "key_pass": 0.5226,
                "rating": 6.6156,
                "minutes": 25.49,
                "total_pass": 4.5929,
                "accurate_pass": 4.1723,
                "duels_won": 0.4206,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.1667,
                "accurate_opp_half_passes": 1.7463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.9287,
                "possession_lost": 1.3359,
                "dispossessed": 0.0,
                "duels_lost": 2.9949,
                "aerial_lost": 1.0565,
                "total_contest": 0.9154,
                "won_contest": 0.4206,
                "ball_recovery": 0.582,
                "challenges_lost": 0.0,
                "fouls": 0.9154,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 3.3413,
                "total_progression": 1.0203,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6689,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49
              },
              "params": {
                "expected_minutes": 25.49,
                "projection_minutes": 12.01,
                "minutes_scale": 1.5,
                "appearance_probability": 0.568
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1548,
                "goals": 0.1494,
                "goal_rate": 0.1494,
                "shots_on_target": 0.3558,
                "total_shots": 1.0247,
                "expected_assists": 0.048,
                "key_pass": 0.5226,
                "rating": 6.6156,
                "minutes": 25.49,
                "total_pass": 4.5929,
                "accurate_pass": 4.1723,
                "duels_won": 0.4206,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.1667,
                "accurate_opp_half_passes": 1.7463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.9287,
                "possession_lost": 1.3359,
                "dispossessed": 0.0,
                "duels_lost": 2.9949,
                "aerial_lost": 1.0565,
                "total_contest": 0.9154,
                "won_contest": 0.4206,
                "ball_recovery": 0.582,
                "challenges_lost": 0.0,
                "fouls": 0.9154,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 3.3413,
                "total_progression": 1.0203,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6689,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1548,
                "goal_rate": 0.1494,
                "goals": 0,
                "shots_on_target": 0.3558,
                "total_shots": 1.0247,
                "expected_assists": 0.048,
                "key_pass": 0.5226,
                "rating": 6.6156,
                "minutes": 25.49,
                "total_pass": 4.5929,
                "accurate_pass": 4.1723,
                "duels_won": 0.4206,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.1667,
                "accurate_opp_half_passes": 1.7463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.9287,
                "possession_lost": 1.3359,
                "dispossessed": 0.0,
                "duels_lost": 2.9949,
                "aerial_lost": 1.0565,
                "total_contest": 0.9154,
                "won_contest": 0.4206,
                "ball_recovery": 0.582,
                "challenges_lost": 0.0,
                "fouls": 0.9154,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 3.3413,
                "total_progression": 1.0203,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6689,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.46 (squad xG sum 1.1085, xG scale 1.3171, xA scale 1.3171, team xA 0.96 = 0.66 x lambda)",
              "stats": {
                "expected_goals": 0.1158,
                "goal_rate": 0.1494,
                "goals": 0,
                "shots_on_target": 0.3558,
                "total_shots": 1.0247,
                "expected_assists": 0.0359,
                "key_pass": 0.5226,
                "rating": 6.6156,
                "minutes": 25.49,
                "total_pass": 4.5929,
                "accurate_pass": 4.1723,
                "duels_won": 0.4206,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.1667,
                "accurate_opp_half_passes": 1.7463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.9287,
                "possession_lost": 1.3359,
                "dispossessed": 0.0,
                "duels_lost": 2.9949,
                "aerial_lost": 1.0565,
                "total_contest": 0.9154,
                "won_contest": 0.4206,
                "ball_recovery": 0.582,
                "challenges_lost": 0.0,
                "fouls": 0.9154,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 3.3413,
                "total_progression": 1.0203,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6689,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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.9736,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.46,
                "squad_xg_sum": 1.1085,
                "squad_xa_sum": 0.7277,
                "team_expected_assists": 0.9585,
                "team_xa_to_xg_ratio": 0.6565,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3171,
                "xa_scale": 1.3171,
                "opponent_lambda": 1.312,
                "scoreline_reset": true,
                "appearance_weight": 0.568
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1548,
                  "after": 0.1158
                },
                {
                  "stat": "expected_assists",
                  "before": 0.048,
                  "after": 0.0359
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.1158,
                "goal_rate": 0.1494,
                "goals": 0,
                "shots_on_target": 0.3558,
                "total_shots": 1.0247,
                "expected_assists": 0.0359,
                "key_pass": 0.5226,
                "rating": 6.6156,
                "minutes": 25.49,
                "total_pass": 4.5929,
                "accurate_pass": 4.1723,
                "duels_won": 0.4206,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.1667,
                "accurate_opp_half_passes": 1.7463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.9287,
                "possession_lost": 1.3359,
                "dispossessed": 0.0,
                "duels_lost": 2.9949,
                "aerial_lost": 1.0565,
                "total_contest": 0.9154,
                "won_contest": 0.4206,
                "ball_recovery": 0.582,
                "challenges_lost": 0.0,
                "fouls": 0.9154,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 3.3413,
                "total_progression": 1.0203,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6689,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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.9736,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2281,
                "fifa_rank": 968.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": {
                "expected_goals": 0.1158,
                "goal_rate": 0.1494,
                "goals": 0,
                "shots_on_target": 0.3558,
                "total_shots": 1.0247,
                "expected_assists": 0.0359,
                "key_pass": 0.5226,
                "rating": 6.6156,
                "minutes": 25.49,
                "total_pass": 4.5929,
                "accurate_pass": 4.1723,
                "duels_won": 0.4206,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.1667,
                "accurate_opp_half_passes": 1.7463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.9287,
                "possession_lost": 1.3359,
                "dispossessed": 0.0,
                "duels_lost": 2.9949,
                "aerial_lost": 1.0565,
                "total_contest": 0.9154,
                "won_contest": 0.4206,
                "ball_recovery": 0.582,
                "challenges_lost": 0.0,
                "fouls": 0.9154,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 3.3413,
                "total_progression": 1.0203,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6689,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1048,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9736,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1048,
                "goal_rate": 0.1494,
                "scorer_weight": 0.1127,
                "squad_weight_total": 1.4744,
                "weight_share": 0.0765,
                "finishing_factor": 0.9736,
                "appearance_weight": 0.568,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.6148,
                    "already": 0,
                    "effective_weight": 0.6148,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.1869
                  }
                ]
              }
            },
            {
              "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.1158,
                "goal_rate": 0.1494,
                "goals": 0,
                "shots_on_target": 0.3558,
                "total_shots": 1.0247,
                "expected_assists": 0.0359,
                "key_pass": 0.5226,
                "rating": 6.6156,
                "minutes": 25.49,
                "total_pass": 4.5929,
                "accurate_pass": 4.1723,
                "duels_won": 0.4206,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.1667,
                "accurate_opp_half_passes": 1.7463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.9287,
                "possession_lost": 1.3359,
                "dispossessed": 0.0,
                "duels_lost": 2.9949,
                "aerial_lost": 1.0565,
                "total_contest": 0.9154,
                "won_contest": 0.4206,
                "ball_recovery": 0.582,
                "challenges_lost": 0.0,
                "fouls": 0.9154,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 3.3413,
                "total_progression": 1.0203,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6689,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1048,
                "projected_assists": 0,
                "assist_probability": 0.0348,
                "finishing_factor": 0.9736,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0348,
                "assist_rate": 0.0,
                "provider_weight": 0.0287,
                "squad_weight_total": 0.8905,
                "weight_share": 0.0323,
                "creation_factor": 0.8,
                "appearance_weight": 0.568,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.2107,
                    "already": 0,
                    "effective_weight": 0.2107,
                    "runner_up": "Edu Expósito",
                    "runner_up_effective_weight": 0.158,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Gabriel Moscardo": {
          "player_id": 1485309,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 20,
          "height": 185,
          "market_value": 7500000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0152,
            "assist_rate": 0.0493,
            "assists": 0,
            "expected_goals": 0.0456,
            "goal_rate": 0.0613,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6577,
            "minutes": 35,
            "total_pass": 14,
            "accurate_pass": 13,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 9,
            "accurate_own_half_passes": 8,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 2.9948,
            "dispossessed": 0.9399,
            "duels_lost": 3,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 3,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0147,
            "ball_carries": 7,
            "total_progression": 16,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.696,
            "bench_expected_minutes": 34.74,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.246,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0441,
            "projected_assists": 0,
            "assist_probability": 0.015,
            "finishing_factor": 1.1163,
            "creation_factor": 1.25,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16421071,
              "match_date": "2026-10-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 17,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0586,
                "expected_assists": 0.0009,
                "total_shots": 1,
                "total_pass": 5,
                "accurate_pass": 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": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0811,
                "expected_assists": 0.004,
                "total_shots": 1,
                "total_pass": 8,
                "accurate_pass": 5,
                "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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 24,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 6,
                "tackles": 2,
                "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": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 59,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0136,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 17,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 5,
                "duels_won": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0453,
                "expected_assists": 0.006,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 21,
                "accurate_pass": 18,
                "tackles": 4,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4340,
            "combined_rank_score": 2356.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 4267.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6577,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gabriel Moscardo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Fabiano Parisi",
                  "ranking": 4335
                },
                {
                  "player_name": "Mandela Keita",
                  "ranking": 4336
                },
                {
                  "player_name": "Jay Idzes",
                  "ranking": 4337
                },
                {
                  "player_name": "Obed Vargas",
                  "ranking": 4338
                },
                {
                  "player_name": "Mateo Joseph",
                  "ranking": 4339
                }
              ],
              "lower": [
                {
                  "player_name": "Akor Jerome Adams",
                  "ranking": 4341
                },
                {
                  "player_name": "Ezequiel Ponce",
                  "ranking": 4342
                },
                {
                  "player_name": "Anass Salah-Eddine",
                  "ranking": 4343
                },
                {
                  "player_name": "Fabio Miretti",
                  "ranking": 4344
                },
                {
                  "player_name": "Tommaso Baldanzi",
                  "ranking": 4345
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.567,
          "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.567,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 34.74,
            "bench_appearance_prob": 0.696,
            "market_value_adjustment": 0.9981,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 45.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0333
            },
            "rationale": "Bench projection scaled from XGBoost M_service (5 historical appearances) to 34.7 expected mins (appearance prob 0.70); FBref playing time empirical prior: 1.0 sub appearances, 45.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2392,
                "expected_assists": 0.0114,
                "assists": 0.0343,
                "assist_rate": 0.0343,
                "expected_goals": 0.0342,
                "goals": 0.0428,
                "goal_rate": 0.0428,
                "shots_on_target": 0.1158,
                "total_shots": 0.4879,
                "rating": 6.6577,
                "minutes": 23.91,
                "total_pass": 9.8241,
                "accurate_pass": 8.9815,
                "duels_won": 2.3955,
                "total_long_balls": 1.0,
                "accurate_long_balls": 0.7191,
                "total_own_half_passes": 6.4198,
                "accurate_own_half_passes": 5.8581,
                "total_opp_half_passes": 3.4043,
                "accurate_opp_half_passes": 3.1234,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.0622,
                "possession_lost": 2.0651,
                "dispossessed": 0.9417,
                "duels_lost": 2.2225,
                "aerial_won": 0.2809,
                "aerial_lost": 0.2809,
                "interceptions": 0.0,
                "tackles_won": 0.6113,
                "tackles": 1.7843,
                "clearances": 0.8921,
                "total_contest": 0.6113,
                "won_contest": 0.3304,
                "challenges_lost": 0.3887,
                "fouls": 0.3304,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.011,
                "ball_carries": 4.6268,
                "total_progression": 11.3613,
                "progressive_carries": 0.3887,
                "shots_off_target": 0.3721
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-24T10:06:41.574598+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 903,
                    "rows": 24475
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.2696,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.1948,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 0.0,
                  "creative_index": 0.0027,
                  "totalShots": 0.6396,
                  "expectedGoals": 0.0408,
                  "expectedAssists": 0.0045,
                  "onTargetScoringAttempt": 0.1408
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.2392156422138214,
                    "model_output": 0.2392,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1647
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1377
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0663
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0524
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0316
                      }
                    ],
                    "decomposition": {
                      "base": 0.8945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4026
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0672
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0418
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.037
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0199
                        }
                      ],
                      "others": -0.0868,
                      "total": 0.2392,
                      "log_link": true,
                      "margin_base": -0.111507,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.597978
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.146834
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.103492
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.101509
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.059154
                        }
                      ],
                      "others_margin": -0.309915
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.011395302601158619,
                    "model_output": 0.0114,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1545
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1048
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1021
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0472
                      }
                    ],
                    "decomposition": {
                      "base": 0.0859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0386
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0124
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0032
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0096,
                      "total": 0.0114,
                      "log_link": true,
                      "margin_base": -2.454719,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.596754
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.30394
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.280496
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.128975
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.100578
                        }
                      ],
                      "others_margin": -0.609091
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.03434713929891586,
                    "model_output": 0.0343,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0619
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0395
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0343
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0335
                      }
                    ],
                    "decomposition": {
                      "base": 0.0874,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0186
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0132
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0086
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0044
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0043
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.0343,
                      "log_link": true,
                      "margin_base": -2.437263,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.238612
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.213256
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.167953
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.097871
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.096554
                        }
                      ],
                      "others_margin": -0.312835
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03424302488565445,
                    "model_output": 0.0342,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.134
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.074
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0705
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.039
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0273
                      }
                    ],
                    "decomposition": {
                      "base": 0.094,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0411
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0068
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0039
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0031
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0025,
                      "total": 0.0342,
                      "log_link": true,
                      "margin_base": -2.364919,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.575627
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.137223
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.089326
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.075173
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.063
                        }
                      ],
                      "others_margin": -0.069004
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04275580495595932,
                    "model_output": 0.0428,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0974
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0527
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0513
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0365
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0993,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0381
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0062
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0053
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0031
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.003
                        }
                      ],
                      "others": -0.0068,
                      "total": 0.0428,
                      "log_link": true,
                      "margin_base": -2.309444,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.484623
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.107557
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.10197
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.065477
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.062914
                        }
                      ],
                      "others_margin": -0.146092
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.11582537740468979,
                    "model_output": 0.1158,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1106
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0885
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0762
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0292
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.326,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1511
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.034
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.026
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0098
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0064
                        }
                      ],
                      "others": -0.0153,
                      "total": 0.1158,
                      "log_link": true,
                      "margin_base": -1.120773,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.622413
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.215754
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.203444
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.081769
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.050203
                        }
                      ],
                      "others_margin": -0.12526
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4878864288330078,
                    "model_output": 0.4879,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1261
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1167
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0633
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0419
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.9969,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.348
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1453
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0524
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0429
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0261
                        }
                      ],
                      "others": -0.0323,
                      "total": 0.4879,
                      "log_link": false,
                      "margin_base": 0.996896,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.347992
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.145324
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.052411
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.042912
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.026125
                        }
                      ],
                      "others_margin": -0.03232
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.657656192779541,
                    "model_output": 6.6577,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0947
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0836
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0491
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0438
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.036
                      }
                    ],
                    "decomposition": {
                      "base": 6.8561,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0539
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0493
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0365
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0133
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0118
                        }
                      ],
                      "others": -0.0336,
                      "total": 6.6577,
                      "log_link": false,
                      "margin_base": 6.856052,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.053939
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.04926
                        },
                        {
                          "name": "rating",
                          "margin": -0.036532
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.013335
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.01185
                        }
                      ],
                      "others_margin": -0.033479
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 5,
                  "role_matches": 3,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9981, quality 0.493)",
              "stats": {
                "key_pass": 0.2388,
                "expected_assists": 0.0114,
                "assists": 0.0343,
                "assist_rate": 0.0343,
                "expected_goals": 0.0342,
                "goals": 0.0427,
                "goal_rate": 0.0427,
                "shots_on_target": 0.1156,
                "total_shots": 0.487,
                "rating": 6.6577,
                "minutes": 23.91,
                "total_pass": 9.8054,
                "accurate_pass": 8.9644,
                "duels_won": 2.3909,
                "total_long_balls": 0.9981,
                "accurate_long_balls": 0.7177,
                "total_own_half_passes": 6.4076,
                "accurate_own_half_passes": 5.847,
                "total_opp_half_passes": 3.3978,
                "accurate_opp_half_passes": 3.1175,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.0317,
                "possession_lost": 2.0612,
                "dispossessed": 0.9399,
                "duels_lost": 2.2183,
                "aerial_won": 0.2804,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.6101,
                "tackles": 1.7809,
                "clearances": 0.8904,
                "total_contest": 0.6101,
                "won_contest": 0.3298,
                "challenges_lost": 0.388,
                "fouls": 0.3298,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.011,
                "ball_carries": 4.618,
                "total_progression": 11.3397,
                "progressive_carries": 0.388,
                "shots_off_target": 0.3714
              },
              "params": {
                "market_value_eur": 7500000,
                "quality_factor": 0.4927,
                "boost_factor": 0.9981,
                "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.0108)",
              "stats": {
                "key_pass": 0.2388,
                "expected_assists": 0.0114,
                "assists": 0.0339,
                "assist_rate": 0.0339,
                "expected_goals": 0.0342,
                "goals": 0.0422,
                "goal_rate": 0.0422,
                "shots_on_target": 0.1201,
                "total_shots": 0.4875,
                "rating": 6.6577,
                "minutes": 23.91,
                "total_pass": 9.8054,
                "accurate_pass": 8.9644,
                "duels_won": 2.3909,
                "total_long_balls": 0.9981,
                "accurate_long_balls": 0.7177,
                "total_own_half_passes": 6.4076,
                "accurate_own_half_passes": 5.847,
                "total_opp_half_passes": 3.3978,
                "accurate_opp_half_passes": 3.1175,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.0317,
                "possession_lost": 2.0612,
                "dispossessed": 0.9399,
                "duels_lost": 2.2183,
                "aerial_won": 0.2804,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.6092,
                "tackles": 1.7809,
                "clearances": 0.8904,
                "total_contest": 0.6101,
                "won_contest": 0.3298,
                "challenges_lost": 0.388,
                "fouls": 0.3262,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.011,
                "ball_carries": 4.618,
                "total_progression": 11.3397,
                "progressive_carries": 0.388,
                "shots_off_target": 0.3714
              },
              "params": {
                "blend_weight": 0.0108,
                "history_matches": 5,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2657,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Espanyol"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 23.9 to 34.7 expected minutes (appearance prob 0.70)",
              "stats": {
                "key_pass": 0.347,
                "expected_assists": 0.0166,
                "assists": 0.0493,
                "assist_rate": 0.0493,
                "expected_goals": 0.0497,
                "goals": 0.0613,
                "goal_rate": 0.0613,
                "shots_on_target": 0.1745,
                "total_shots": 0.7141,
                "rating": 6.6577,
                "minutes": 34.74,
                "total_pass": 14.2467,
                "accurate_pass": 13.0248,
                "duels_won": 3.4739,
                "total_long_balls": 1.4502,
                "accurate_long_balls": 1.0428,
                "total_own_half_passes": 9.3099,
                "accurate_own_half_passes": 8.4954,
                "total_opp_half_passes": 4.9368,
                "accurate_opp_half_passes": 4.5296,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.2932,
                "possession_lost": 2.9948,
                "dispossessed": 0.9399,
                "duels_lost": 3.2231,
                "aerial_won": 0.4074,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.8851,
                "tackles": 2.5876,
                "clearances": 1.2937,
                "total_contest": 0.8864,
                "won_contest": 0.4792,
                "challenges_lost": 0.388,
                "fouls": 0.474,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.016,
                "ball_carries": 6.7097,
                "total_progression": 16.476,
                "progressive_carries": 0.5637,
                "shots_off_target": 0.5396,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74
              },
              "params": {
                "expected_minutes": 34.74,
                "projection_minutes": 23.91,
                "minutes_scale": 1.4529,
                "appearance_probability": 0.696
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.347,
                "expected_assists": 0.0166,
                "assists": 0.0493,
                "assist_rate": 0.0493,
                "expected_goals": 0.0497,
                "goals": 0.0613,
                "goal_rate": 0.0613,
                "shots_on_target": 0.1745,
                "total_shots": 0.7141,
                "rating": 6.6577,
                "minutes": 34.74,
                "total_pass": 14.2467,
                "accurate_pass": 13.0248,
                "duels_won": 3.4739,
                "total_long_balls": 1.4502,
                "accurate_long_balls": 1.0428,
                "total_own_half_passes": 9.3099,
                "accurate_own_half_passes": 8.4954,
                "total_opp_half_passes": 4.9368,
                "accurate_opp_half_passes": 4.5296,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.2932,
                "possession_lost": 2.9948,
                "dispossessed": 0.9399,
                "duels_lost": 3.2231,
                "aerial_won": 0.4074,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.8851,
                "tackles": 2.5876,
                "clearances": 1.2937,
                "total_contest": 0.8864,
                "won_contest": 0.4792,
                "challenges_lost": 0.388,
                "fouls": 0.474,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.016,
                "ball_carries": 6.7097,
                "total_progression": 16.476,
                "progressive_carries": 0.5637,
                "shots_off_target": 0.5396,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.347,
                "expected_assists": 0.0166,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.0497,
                "goal_rate": 0.0613,
                "goals": 0,
                "shots_on_target": 0.1745,
                "total_shots": 0.7141,
                "rating": 6.6577,
                "minutes": 34.74,
                "total_pass": 14.2467,
                "accurate_pass": 13.0248,
                "duels_won": 3.4739,
                "total_long_balls": 1.4502,
                "accurate_long_balls": 1.0428,
                "total_own_half_passes": 9.3099,
                "accurate_own_half_passes": 8.4954,
                "total_opp_half_passes": 4.9368,
                "accurate_opp_half_passes": 4.5296,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.2932,
                "possession_lost": 2.9948,
                "dispossessed": 0.9399,
                "duels_lost": 3.2231,
                "aerial_won": 0.4074,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.8851,
                "tackles": 2.5876,
                "clearances": 1.2937,
                "total_contest": 0.8864,
                "won_contest": 0.4792,
                "challenges_lost": 0.388,
                "fouls": 0.474,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.016,
                "ball_carries": 6.7097,
                "total_progression": 16.476,
                "progressive_carries": 0.5637,
                "shots_off_target": 0.5396,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.46 (squad xG sum 1.1085, xG scale 1.3171, xA scale 1.3171, team xA 0.96 = 0.66 x lambda)",
              "stats": {
                "key_pass": 0.347,
                "expected_assists": 0.0152,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.0456,
                "goal_rate": 0.0613,
                "goals": 0,
                "shots_on_target": 0.1745,
                "total_shots": 0.7141,
                "rating": 6.6577,
                "minutes": 34.74,
                "total_pass": 14.2467,
                "accurate_pass": 13.0248,
                "duels_won": 3.4739,
                "total_long_balls": 1.4502,
                "accurate_long_balls": 1.0428,
                "total_own_half_passes": 9.3099,
                "accurate_own_half_passes": 8.4954,
                "total_opp_half_passes": 4.9368,
                "accurate_opp_half_passes": 4.5296,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.2932,
                "possession_lost": 2.9948,
                "dispossessed": 0.9399,
                "duels_lost": 3.2231,
                "aerial_won": 0.4074,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.8851,
                "tackles": 2.5876,
                "clearances": 1.2937,
                "total_contest": 0.8864,
                "won_contest": 0.4792,
                "challenges_lost": 0.388,
                "fouls": 0.474,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0147,
                "ball_carries": 6.7097,
                "total_progression": 16.476,
                "progressive_carries": 0.5637,
                "shots_off_target": 0.5396,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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.1163,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.46,
                "squad_xg_sum": 1.1085,
                "squad_xa_sum": 0.7277,
                "team_expected_assists": 0.9585,
                "team_xa_to_xg_ratio": 0.6565,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3171,
                "xa_scale": 1.3171,
                "opponent_lambda": 1.312,
                "scoreline_reset": true,
                "appearance_weight": 0.696
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 72.0)",
              "stats": {
                "key_pass": 0.347,
                "expected_assists": 0.0152,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.0456,
                "goal_rate": 0.0613,
                "goals": 0,
                "shots_on_target": 0.1745,
                "total_shots": 0.7141,
                "rating": 6.6577,
                "minutes": 34.74,
                "total_pass": 14.2467,
                "accurate_pass": 13.0248,
                "duels_won": 3.4739,
                "total_long_balls": 1.4502,
                "accurate_long_balls": 1.0428,
                "total_own_half_passes": 9.3099,
                "accurate_own_half_passes": 8.4954,
                "total_opp_half_passes": 4.9368,
                "accurate_opp_half_passes": 4.5296,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.2932,
                "possession_lost": 2.9948,
                "dispossessed": 0.9399,
                "duels_lost": 3.2231,
                "aerial_won": 0.4074,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.8851,
                "tackles": 2.5876,
                "clearances": 1.2937,
                "total_contest": 0.8864,
                "won_contest": 0.4792,
                "challenges_lost": 0.388,
                "fouls": 0.474,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0147,
                "ball_carries": 6.7097,
                "total_progression": 16.476,
                "progressive_carries": 0.5637,
                "shots_off_target": 0.5396,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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.1163,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4340,
                "fifa_rank": 4267.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.347,
                "expected_assists": 0.0152,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.0456,
                "goal_rate": 0.0613,
                "goals": 0,
                "shots_on_target": 0.1745,
                "total_shots": 0.7141,
                "rating": 6.6577,
                "minutes": 34.74,
                "total_pass": 14.2467,
                "accurate_pass": 13.0248,
                "duels_won": 3.4739,
                "total_long_balls": 1.4502,
                "accurate_long_balls": 1.0428,
                "total_own_half_passes": 9.3099,
                "accurate_own_half_passes": 8.4954,
                "total_opp_half_passes": 4.9368,
                "accurate_opp_half_passes": 4.5296,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.2932,
                "possession_lost": 2.9948,
                "dispossessed": 0.9399,
                "duels_lost": 3.2231,
                "aerial_won": 0.4074,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.8851,
                "tackles": 2.5876,
                "clearances": 1.2937,
                "total_contest": 0.8864,
                "won_contest": 0.4792,
                "challenges_lost": 0.388,
                "fouls": 0.474,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0147,
                "ball_carries": 6.7097,
                "total_progression": 16.476,
                "progressive_carries": 0.5637,
                "shots_off_target": 0.5396,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0441,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1163,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0441,
                "goal_rate": 0.0613,
                "scorer_weight": 0.0509,
                "squad_weight_total": 1.4744,
                "weight_share": 0.0345,
                "finishing_factor": 1.1163,
                "appearance_weight": 0.696,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.6148,
                    "already": 0,
                    "effective_weight": 0.6148,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.1869
                  }
                ]
              }
            },
            {
              "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.347,
                "expected_assists": 0.0152,
                "assist_rate": 0.0493,
                "assists": 0,
                "expected_goals": 0.0456,
                "goal_rate": 0.0613,
                "goals": 0,
                "shots_on_target": 0.1745,
                "total_shots": 0.7141,
                "rating": 6.6577,
                "minutes": 34.74,
                "total_pass": 14.2467,
                "accurate_pass": 13.0248,
                "duels_won": 3.4739,
                "total_long_balls": 1.4502,
                "accurate_long_balls": 1.0428,
                "total_own_half_passes": 9.3099,
                "accurate_own_half_passes": 8.4954,
                "total_opp_half_passes": 4.9368,
                "accurate_opp_half_passes": 4.5296,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 23.2932,
                "possession_lost": 2.9948,
                "dispossessed": 0.9399,
                "duels_lost": 3.2231,
                "aerial_won": 0.4074,
                "aerial_lost": 0.2804,
                "interceptions": 0.0,
                "tackles_won": 0.8851,
                "tackles": 2.5876,
                "clearances": 1.2937,
                "total_contest": 0.8864,
                "won_contest": 0.4792,
                "challenges_lost": 0.388,
                "fouls": 0.474,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0147,
                "ball_carries": 6.7097,
                "total_progression": 16.476,
                "progressive_carries": 0.5637,
                "shots_off_target": 0.5396,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0441,
                "projected_assists": 0,
                "assist_probability": 0.015,
                "finishing_factor": 1.1163,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.015,
                "assist_rate": 0.0493,
                "provider_weight": 0.019,
                "squad_weight_total": 0.8905,
                "weight_share": 0.0213,
                "creation_factor": 1.25,
                "appearance_weight": 0.696,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.2107,
                    "already": 0,
                    "effective_weight": 0.2107,
                    "runner_up": "Edu Expósito",
                    "runner_up_effective_weight": 0.158,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Javi Puado": {
          "player_id": 891511,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 7,
          "height": 178,
          "market_value": 7000000,
          "stats": {
            "expected_goals": 0.1158,
            "goal_rate": 0.1494,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0359,
            "key_pass": 1,
            "rating": 6.6156,
            "minutes": 25,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 1.3359,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 3,
            "total_progression": 1,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.568,
            "bench_expected_minutes": 25.49,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.246,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.1048,
            "projected_assists": 0,
            "assist_probability": 0.0348,
            "finishing_factor": 0.9736,
            "creation_factor": 0.8,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16421071,
              "match_date": "2026-10-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 8,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0079,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 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": 14083222,
              "match_date": "2026-01-11",
              "home_team": "Levante UD",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083203,
              "match_date": "2026-01-03",
              "home_team": "Espanyol",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 8,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083635,
              "match_date": "2025-10-05",
              "home_team": "Espanyol",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.168,
                "expected_assists": 0.1238,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 47,
                "accurate_pass": 40,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 7
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083595,
              "match_date": "2025-09-26",
              "home_team": "Girona FC",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 75,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0325,
                "expected_assists": 0.1577,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 17,
                "key_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083407,
              "match_date": "2025-09-23",
              "home_team": "Espanyol",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2083,
                "expected_assists": 0.2352,
                "total_shots": 5,
                "shots_on_target": 3,
                "shots_off_target": 2,
                "total_pass": 20,
                "accurate_pass": 15,
                "key_pass": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 7
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083333,
              "match_date": "2025-09-20",
              "home_team": "Real Madrid",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 77,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1166,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083234,
              "match_date": "2025-09-15",
              "home_team": "Espanyol",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 72,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0834,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083138,
              "match_date": "2025-08-31",
              "home_team": "Espanyol",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 84,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.161,
                "expected_assists": 0.0426,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 18,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14082867,
              "match_date": "2025-08-24",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8859,
                "expected_assists": 0.0246,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 21,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2281,
            "combined_rank_score": 901.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 834.0,
            "sofascore_rating": 6.5889,
            "sofascore_appearances": 10.0,
            "fifa_rank": 968.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6156,
            "source_file": "data/player_rankings.csv",
            "player_name": "Javi Puado",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Yves Bissouma",
                  "ranking": 2276
                },
                {
                  "player_name": "Nuriddin  Nuriddinov",
                  "ranking": 2277
                },
                {
                  "player_name": "Kim Min-Ho",
                  "ranking": 2278
                },
                {
                  "player_name": "Manuel Ugarte",
                  "ranking": 2279
                },
                {
                  "player_name": "Endrick",
                  "ranking": 2280
                }
              ],
              "lower": [
                {
                  "player_name": "Bekhruz Jumatov",
                  "ranking": 2282
                },
                {
                  "player_name": "Odilon Kossounou",
                  "ranking": 2283
                },
                {
                  "player_name": "Lennart Karl",
                  "ranking": 2284
                },
                {
                  "player_name": "André",
                  "ranking": 2285
                },
                {
                  "player_name": "Tim Payne",
                  "ranking": 2286
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 11,
          "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": 11,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.48700561251263,
            "bench_appearance_prob": 0.5675911642051195,
            "market_value_adjustment": 0.9983,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (11 historical appearances) to 25.5 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1033,
                "goals": 0.0998,
                "goal_rate": 0.0998,
                "shots_on_target": 0.2376,
                "total_shots": 0.6843,
                "expected_assists": 0.0321,
                "key_pass": 0.349,
                "rating": 6.6156,
                "minutes": 12.01,
                "total_pass": 3.0671,
                "accurate_pass": 2.7862,
                "duels_won": 0.2809,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 1.447,
                "accurate_opp_half_passes": 1.1662,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 3.9592,
                "possession_lost": 0.8921,
                "dispossessed": 0.0,
                "duels_lost": 2.0,
                "aerial_lost": 1.0583,
                "total_contest": 0.6113,
                "won_contest": 0.2809,
                "ball_recovery": 0.3887,
                "challenges_lost": 0.0,
                "fouls": 0.6113,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.2313,
                "total_progression": 0.6814,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4467
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-24T10:07:14.441608+00:00",
                  "trained_on": {
                    "matches": 1391,
                    "players": 611,
                    "rows": 16533
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1801,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-01-11",
                    "opponent": "Levante UD",
                    "minutes": 4.0,
                    "is_starting": false,
                    "weight": 0.1531,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "FC Barcelona",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1302,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-10-05",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1106,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2025-09-26",
                    "opponent": "Girona FC",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.094,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-09-23",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0799,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2025-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0679,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-09-15",
                    "opponent": "Mallorca",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0578,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2025-08-31",
                    "opponent": "Osasuna",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0491,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2025-08-24",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0417,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 11.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.2743,
                  "totalOppositionHalfPasses": 9.9208,
                  "accurateOppositionHalfPasses": 8.0288,
                  "accuratePass": 12.8999,
                  "totalShots": 1.146
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10333295166492462,
                    "model_output": 0.1033,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2858
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0881
                      },
                      {
                        "name": "goals",
                        "importance": 0.0357
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0272
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0231
                      }
                    ],
                    "decomposition": {
                      "base": 0.1979,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0894
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0215
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0097
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0062
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0052
                        }
                      ],
                      "others": -0.016,
                      "total": 0.1033,
                      "log_link": true,
                      "margin_base": -1.619934,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.601253
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.181117
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.077385
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.053329
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.044646
                        }
                      ],
                      "others_margin": -0.143661
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.09976766258478165,
                    "model_output": 0.0998,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1497
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0696
                      },
                      {
                        "name": "goals",
                        "importance": 0.0577
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0307
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0286
                      }
                    ],
                    "decomposition": {
                      "base": 0.2023,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0878
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0174
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0153
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.007
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0067
                        }
                      ],
                      "others": -0.0171,
                      "total": 0.0998,
                      "log_link": true,
                      "margin_base": -1.597983,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.569578
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.141351
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.123335
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.058678
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.055757
                        }
                      ],
                      "others_margin": -0.158288
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2376091182231903,
                    "model_output": 0.2376,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2171
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0661
                      },
                      {
                        "name": "goals",
                        "importance": 0.0553
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0475
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0308
                      }
                    ],
                    "decomposition": {
                      "base": 0.5362,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2321
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0261
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0206
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0183
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0111
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.2376,
                      "log_link": true,
                      "margin_base": -0.623262,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.567039
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.089763
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.076932
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.073906
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.045324
                        }
                      ],
                      "others_margin": -0.051552
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6842798590660095,
                    "model_output": 0.6843,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2864
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.051
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.031
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 1.3807,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5129
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1053
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0406
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0399
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0354
                        }
                      ],
                      "others": -0.0421,
                      "total": 0.6843,
                      "log_link": false,
                      "margin_base": 1.380749,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.512862
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.105289
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.040579
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.039865
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.035441
                        }
                      ],
                      "others_margin": -0.042164
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03205539658665657,
                    "model_output": 0.0321,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1157
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0645
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0607
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0558
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 0.0644,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0182
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0044
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0031
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0025
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0025
                        }
                      ],
                      "others": -0.0066,
                      "total": 0.0321,
                      "log_link": true,
                      "margin_base": -2.741965,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.332844
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.099889
                        },
                        {
                          "name": "rating",
                          "margin": -0.076452
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.068102
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.065607
                        }
                      ],
                      "others_margin": -0.186645
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.34896063804626465,
                    "model_output": 0.349,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1481
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1244
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1112
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.052
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0395
                      }
                    ],
                    "decomposition": {
                      "base": 0.6805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.248
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0191
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0177
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0137
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0125
                        }
                      ],
                      "others": -0.0205,
                      "total": 0.349,
                      "log_link": true,
                      "margin_base": -0.384987,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.453164
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.04514
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.043745
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.035186
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.033365
                        }
                      ],
                      "others_margin": -0.057208
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.615561008453369,
                    "model_output": 6.6156,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.059
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0483
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0421
                      },
                      {
                        "name": "rating",
                        "importance": 0.0418
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0415
                      }
                    ],
                    "decomposition": {
                      "base": 6.7683,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0618
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0284
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0138
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0121
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.008
                        }
                      ],
                      "others": -0.0528,
                      "total": 6.6156,
                      "log_link": false,
                      "margin_base": 6.768281,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.061803
                        },
                        {
                          "name": "rating",
                          "margin": -0.02841
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.01382
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.012098
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.008041
                        }
                      ],
                      "others_margin": -0.052744
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 11,
                  "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.9983, quality 0.487)",
              "stats": {
                "expected_goals": 0.1032,
                "goals": 0.0996,
                "goal_rate": 0.0996,
                "shots_on_target": 0.2372,
                "total_shots": 0.6831,
                "expected_assists": 0.032,
                "key_pass": 0.3484,
                "rating": 6.6156,
                "minutes": 12.01,
                "total_pass": 3.0619,
                "accurate_pass": 2.7815,
                "duels_won": 0.2804,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 1.4445,
                "accurate_opp_half_passes": 1.1642,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 3.9525,
                "possession_lost": 0.8906,
                "dispossessed": 0.0,
                "duels_lost": 1.9966,
                "aerial_lost": 1.0565,
                "total_contest": 0.6103,
                "won_contest": 0.2804,
                "ball_recovery": 0.388,
                "challenges_lost": 0.0,
                "fouls": 0.6103,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.2275,
                "total_progression": 0.6802,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4459
              },
              "params": {
                "market_value_eur": 7000000,
                "quality_factor": 0.4866,
                "boost_factor": 0.9983,
                "reference_quality": 0.505,
                "history_matches": 11,
                "history_shrink": 0.3125,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 12.0 to 25.5 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.1548,
                "goals": 0.1494,
                "goal_rate": 0.1494,
                "shots_on_target": 0.3558,
                "total_shots": 1.0247,
                "expected_assists": 0.048,
                "key_pass": 0.5226,
                "rating": 6.6156,
                "minutes": 25.49,
                "total_pass": 4.5929,
                "accurate_pass": 4.1723,
                "duels_won": 0.4206,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.1667,
                "accurate_opp_half_passes": 1.7463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.9287,
                "possession_lost": 1.3359,
                "dispossessed": 0.0,
                "duels_lost": 2.9949,
                "aerial_lost": 1.0565,
                "total_contest": 0.9154,
                "won_contest": 0.4206,
                "ball_recovery": 0.582,
                "challenges_lost": 0.0,
                "fouls": 0.9154,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 3.3413,
                "total_progression": 1.0203,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6689,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49
              },
              "params": {
                "expected_minutes": 25.49,
                "projection_minutes": 12.01,
                "minutes_scale": 1.5,
                "appearance_probability": 0.568
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1548,
                "goals": 0.1494,
                "goal_rate": 0.1494,
                "shots_on_target": 0.3558,
                "total_shots": 1.0247,
                "expected_assists": 0.048,
                "key_pass": 0.5226,
                "rating": 6.6156,
                "minutes": 25.49,
                "total_pass": 4.5929,
                "accurate_pass": 4.1723,
                "duels_won": 0.4206,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.1667,
                "accurate_opp_half_passes": 1.7463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.9287,
                "possession_lost": 1.3359,
                "dispossessed": 0.0,
                "duels_lost": 2.9949,
                "aerial_lost": 1.0565,
                "total_contest": 0.9154,
                "won_contest": 0.4206,
                "ball_recovery": 0.582,
                "challenges_lost": 0.0,
                "fouls": 0.9154,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 3.3413,
                "total_progression": 1.0203,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6689,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1548,
                "goal_rate": 0.1494,
                "goals": 0,
                "shots_on_target": 0.3558,
                "total_shots": 1.0247,
                "expected_assists": 0.048,
                "key_pass": 0.5226,
                "rating": 6.6156,
                "minutes": 25.49,
                "total_pass": 4.5929,
                "accurate_pass": 4.1723,
                "duels_won": 0.4206,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.1667,
                "accurate_opp_half_passes": 1.7463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.9287,
                "possession_lost": 1.3359,
                "dispossessed": 0.0,
                "duels_lost": 2.9949,
                "aerial_lost": 1.0565,
                "total_contest": 0.9154,
                "won_contest": 0.4206,
                "ball_recovery": 0.582,
                "challenges_lost": 0.0,
                "fouls": 0.9154,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 3.3413,
                "total_progression": 1.0203,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6689,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.46 (squad xG sum 1.1085, xG scale 1.3171, xA scale 1.3171, team xA 0.96 = 0.66 x lambda)",
              "stats": {
                "expected_goals": 0.1158,
                "goal_rate": 0.1494,
                "goals": 0,
                "shots_on_target": 0.3558,
                "total_shots": 1.0247,
                "expected_assists": 0.0359,
                "key_pass": 0.5226,
                "rating": 6.6156,
                "minutes": 25.49,
                "total_pass": 4.5929,
                "accurate_pass": 4.1723,
                "duels_won": 0.4206,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.1667,
                "accurate_opp_half_passes": 1.7463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.9287,
                "possession_lost": 1.3359,
                "dispossessed": 0.0,
                "duels_lost": 2.9949,
                "aerial_lost": 1.0565,
                "total_contest": 0.9154,
                "won_contest": 0.4206,
                "ball_recovery": 0.582,
                "challenges_lost": 0.0,
                "fouls": 0.9154,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 3.3413,
                "total_progression": 1.0203,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6689,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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.9736,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.46,
                "squad_xg_sum": 1.1085,
                "squad_xa_sum": 0.7277,
                "team_expected_assists": 0.9585,
                "team_xa_to_xg_ratio": 0.6565,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3171,
                "xa_scale": 1.3171,
                "opponent_lambda": 1.312,
                "scoreline_reset": true,
                "appearance_weight": 0.568
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1548,
                  "after": 0.1158
                },
                {
                  "stat": "expected_assists",
                  "before": 0.048,
                  "after": 0.0359
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.1158,
                "goal_rate": 0.1494,
                "goals": 0,
                "shots_on_target": 0.3558,
                "total_shots": 1.0247,
                "expected_assists": 0.0359,
                "key_pass": 0.5226,
                "rating": 6.6156,
                "minutes": 25.49,
                "total_pass": 4.5929,
                "accurate_pass": 4.1723,
                "duels_won": 0.4206,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.1667,
                "accurate_opp_half_passes": 1.7463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.9287,
                "possession_lost": 1.3359,
                "dispossessed": 0.0,
                "duels_lost": 2.9949,
                "aerial_lost": 1.0565,
                "total_contest": 0.9154,
                "won_contest": 0.4206,
                "ball_recovery": 0.582,
                "challenges_lost": 0.0,
                "fouls": 0.9154,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 3.3413,
                "total_progression": 1.0203,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6689,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "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.9736,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2281,
                "fifa_rank": 968.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": {
                "expected_goals": 0.1158,
                "goal_rate": 0.1494,
                "goals": 0,
                "shots_on_target": 0.3558,
                "total_shots": 1.0247,
                "expected_assists": 0.0359,
                "key_pass": 0.5226,
                "rating": 6.6156,
                "minutes": 25.49,
                "total_pass": 4.5929,
                "accurate_pass": 4.1723,
                "duels_won": 0.4206,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.1667,
                "accurate_opp_half_passes": 1.7463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.9287,
                "possession_lost": 1.3359,
                "dispossessed": 0.0,
                "duels_lost": 2.9949,
                "aerial_lost": 1.0565,
                "total_contest": 0.9154,
                "won_contest": 0.4206,
                "ball_recovery": 0.582,
                "challenges_lost": 0.0,
                "fouls": 0.9154,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 3.3413,
                "total_progression": 1.0203,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6689,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1048,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9736,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1048,
                "goal_rate": 0.1494,
                "scorer_weight": 0.1127,
                "squad_weight_total": 1.4744,
                "weight_share": 0.0765,
                "finishing_factor": 0.9736,
                "appearance_weight": 0.568,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.6148,
                    "already": 0,
                    "effective_weight": 0.6148,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.1869
                  }
                ]
              }
            },
            {
              "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.1158,
                "goal_rate": 0.1494,
                "goals": 0,
                "shots_on_target": 0.3558,
                "total_shots": 1.0247,
                "expected_assists": 0.0359,
                "key_pass": 0.5226,
                "rating": 6.6156,
                "minutes": 25.49,
                "total_pass": 4.5929,
                "accurate_pass": 4.1723,
                "duels_won": 0.4206,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 2.1667,
                "accurate_opp_half_passes": 1.7463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.9287,
                "possession_lost": 1.3359,
                "dispossessed": 0.0,
                "duels_lost": 2.9949,
                "aerial_lost": 1.0565,
                "total_contest": 0.9154,
                "won_contest": 0.4206,
                "ball_recovery": 0.582,
                "challenges_lost": 0.0,
                "fouls": 0.9154,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 3.3413,
                "total_progression": 1.0203,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6689,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.246,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1048,
                "projected_assists": 0,
                "assist_probability": 0.0348,
                "finishing_factor": 0.9736,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0348,
                "assist_rate": 0.0,
                "provider_weight": 0.0287,
                "squad_weight_total": 0.8905,
                "weight_share": 0.0323,
                "creation_factor": 0.8,
                "appearance_weight": 0.568,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.2107,
                    "already": 0,
                    "effective_weight": 0.2107,
                    "runner_up": "Edu Expósito",
                    "runner_up_effective_weight": 0.158,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.46,
        "expected_assists": 0.96,
        "total_shots": 10,
        "shots_on_target": 2,
        "total_passes": 341,
        "interceptions": 7,
        "tackles": 17,
        "avg_rating": 6.81,
        "possession_estimated_pct": 50.6,
        "pressing_actions_per_90": 6.2
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Yassir Zabiri",
        "attacker_role": "ST",
        "attacker_market_value": 22000000,
        "attacker_height": 182,
        "attacker_skill_quality": 0.65,
        "defenders": [
          "Leandro Cabrera",
          "Vanja Drkušić"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.453,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.26,
        "xg_contribution": 0.4102,
        "xg_multiplier": 1.0879,
        "shots_in_zone": 2.3,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 3,
        "aerial_won": 1.7,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Leandro Cabrera",
            "role": "CB",
            "market_value": 930000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.74
          },
          {
            "player": "Vanja Drkušić",
            "role": "CB",
            "market_value": 5500000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.74
          }
        ],
        "duel_analysis": "Yassir Zabiri (ST) is slightly favored against Leandro Cabrera and Vanja Drkušić in a 2-defender block. Duel win probability: 26%. The quality gap is significant (€22M vs €3M avg). Matchup xG multiplier ×1.09 (×1.00 = his usual level). Projected xG contribution: 0.410 — creating consistent moderate threat."
      },
      {
        "attacker": "Iñigo Vicente",
        "attacker_role": "ST",
        "attacker_market_value": 6600000,
        "attacker_height": 178,
        "attacker_skill_quality": 0.482,
        "defenders": [
          "Leandro Cabrera",
          "Vanja Drkušić"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.453,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.0844,
        "xg_multiplier": 0.9529,
        "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": "Leandro Cabrera",
            "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
          },
          {
            "player": "Vanja Drkušić",
            "role": "CB",
            "market_value": 5500000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Iñigo Vicente (ST) is evenly matched against Leandro Cabrera and Vanja Drkušić in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.95 (×1.00 = his usual level). Projected xG contribution: 0.084 — with neither side clearly dominant."
      },
      {
        "attacker": "Sergio Canales",
        "attacker_role": "ST",
        "attacker_market_value": 3200000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.44,
        "defenders": [
          "Leandro Cabrera",
          "Vanja Drkušić"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.453,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.0978,
        "xg_multiplier": 0.9135,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.4,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Leandro Cabrera",
            "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
          },
          {
            "player": "Vanja Drkušić",
            "role": "CB",
            "market_value": 5500000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Sergio Canales (ST) faces tough defensive resistance against Leandro Cabrera and Vanja Drkušić in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.91 (×1.00 = his usual level). Projected xG contribution: 0.098 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Andrés Martín",
        "attacker_role": "ST",
        "attacker_market_value": 8199999,
        "attacker_height": 178,
        "attacker_skill_quality": 0.501,
        "defenders": [
          "Leandro Cabrera",
          "Vanja Drkušić"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.453,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.2407,
        "xg_multiplier": 0.9657,
        "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": "Leandro Cabrera",
            "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
          },
          {
            "player": "Vanja Drkušić",
            "role": "CB",
            "market_value": 5500000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Andrés Martín (ST) is evenly matched against Leandro Cabrera and Vanja Drkušić in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.97 (×1.00 = his usual level). Projected xG contribution: 0.241 — with neither side clearly dominant."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Roberto Fernández",
        "attacker_role": "ST",
        "attacker_market_value": 21000000,
        "attacker_height": 186,
        "attacker_skill_quality": 0.641,
        "defenders": [
          "Jeanuël Belocian",
          "Alvaro Mantilla"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.497,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.262,
        "xg_contribution": 0.4418,
        "xg_multiplier": 1.0916,
        "shots_in_zone": 2.4,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 3,
        "aerial_won": 1.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Jeanuël Belocian",
            "role": "CB",
            "market_value": 12900000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.738
          },
          {
            "player": "Alvaro Mantilla",
            "role": "CB",
            "market_value": 1200000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.738
          }
        ],
        "duel_analysis": "Roberto Fernández (ST) is slightly favored against Jeanuël Belocian and Alvaro Mantilla in a 2-defender block. Duel win probability: 26%.  Matchup xG multiplier ×1.09 (×1.00 = his usual level). Projected xG contribution: 0.442 — creating consistent moderate threat."
      },
      {
        "attacker": "Bryan Zaragoza",
        "attacker_role": "ST",
        "attacker_market_value": 7500000,
        "attacker_height": 165,
        "attacker_skill_quality": 0.493,
        "defenders": [
          "Jeanuël Belocian",
          "Alvaro Mantilla"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.497,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.1274,
        "xg_multiplier": 0.8937,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Jeanuël Belocian",
            "role": "CB",
            "market_value": 12900000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Alvaro Mantilla",
            "role": "CB",
            "market_value": 1200000,
            "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": 1.0,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Bryan Zaragoza (ST) faces tough defensive resistance against Jeanuël Belocian and Alvaro Mantilla in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.89 (×1.00 = his usual level). Projected xG contribution: 0.127 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Javier Hernández",
        "attacker_role": "LM",
        "attacker_market_value": 6400000,
        "attacker_height": 175,
        "attacker_skill_quality": 0.479,
        "defenders": [
          "Pablo Ramón"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Left Mid vs Right Back — Wide Channel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.439,
        "xg_contribution": 0.1515,
        "xg_multiplier": 0.9687,
        "shots_in_zone": 1.5,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.2,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 2.1,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pablo Ramón",
            "role": "RB",
            "market_value": 1500000,
            "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": 1.1,
            "defensive_success_rate": 0.561
          }
        ],
        "duel_analysis": "Javier Hernández (LM) is evenly matched against Pablo Ramón in a direct 1v1 contest. Duel win probability: 44%.  Matchup xG multiplier ×0.97 (×1.00 = his usual level). Projected xG contribution: 0.152 — with neither side clearly dominant."
      },
      {
        "attacker": "Roger Hinojo",
        "attacker_role": "LWB",
        "attacker_market_value": 3100000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.439,
        "defenders": [
          "Pablo Ramón",
          "Julen Agirrezabala"
        ],
        "defender_roles": [
          "RB",
          "GK"
        ],
        "def_skill_quality_avg": 0.459,
        "duel_zone": "LWB vs RW + RB",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.258,
        "xg_contribution": 0.0079,
        "xg_multiplier": 0.9384,
        "shots_in_zone": 0.8,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 2.2,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pablo Ramón",
            "role": "RB",
            "market_value": 1500000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.742
          },
          {
            "player": "Julen Agirrezabala",
            "role": "GK",
            "market_value": 6500000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.742
          }
        ],
        "duel_analysis": "Roger Hinojo (LWB) faces tough defensive resistance against Pablo Ramón and Julen Agirrezabala in a 2-defender block. Duel win probability: 26%.  Matchup xG multiplier ×0.94 (×1.00 = his usual level). Projected xG contribution: 0.008 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Omar El Hilali",
        "attacker_role": "RWB",
        "attacker_market_value": 15900000,
        "attacker_height": 183,
        "attacker_skill_quality": 0.589,
        "defenders": [
          "Jorge Salinas",
          "Julen Agirrezabala"
        ],
        "defender_roles": [
          "LB",
          "GK"
        ],
        "def_skill_quality_avg": 0.493,
        "duel_zone": "RWB vs LW + LB",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.346,
        "xg_contribution": 0.0949,
        "xg_multiplier": 1.0679,
        "shots_in_zone": 0.9,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 2.5,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Jorge Salinas",
            "role": "LB",
            "market_value": 8500000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.4,
            "defensive_success_rate": 0.654
          },
          {
            "player": "Julen Agirrezabala",
            "role": "GK",
            "market_value": 6500000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.4,
            "defensive_success_rate": 0.654
          }
        ],
        "duel_analysis": "Omar El Hilali (RWB) is slightly favored against Jorge Salinas and Julen Agirrezabala in a 2-defender block. Duel win probability: 35%.  Matchup xG multiplier ×1.07 (×1.00 = his usual level). Projected xG contribution: 0.095 — creating consistent moderate threat."
      },
      {
        "attacker": "Edu Expósito",
        "attacker_role": "CM",
        "attacker_market_value": 4500000,
        "attacker_height": 175,
        "attacker_skill_quality": 0.456,
        "defenders": [
          "Iván Martín"
        ],
        "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.448,
        "xg_contribution": 0.1068,
        "xg_multiplier": 0.9973,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Iván Martín",
            "role": "CDM",
            "market_value": 2700000,
            "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": 1.1,
            "defensive_success_rate": 0.552
          }
        ],
        "duel_analysis": "Edu Expósito (CM) is evenly matched against Iván Martín in a direct 1v1 contest. Duel win probability: 45%.  Matchup xG multiplier ×1.00 (×1.00 = his usual level). Projected xG contribution: 0.107 — with neither side clearly dominant."
      },
      {
        "attacker": "Pol Lozano",
        "attacker_role": "CM",
        "attacker_market_value": 5800000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.472,
        "defenders": [
          "Iván Martín"
        ],
        "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.46,
        "xg_contribution": 0.09,
        "xg_multiplier": 1.0149,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Iván Martín",
            "role": "CDM",
            "market_value": 2700000,
            "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": 1.1,
            "defensive_success_rate": 0.54
          }
        ],
        "duel_analysis": "Pol Lozano (CM) is evenly matched against Iván Martín in a direct 1v1 contest. Duel win probability: 46%.  Matchup xG multiplier ×1.01 (×1.00 = his usual level). Projected xG contribution: 0.090 — with neither side clearly dominant."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.425,
      "away_midfield_power": 0.469,
      "home_creative_power": 0.382,
      "away_creative_power": 0.492,
      "home_defensive_power": 0.382,
      "away_defensive_power": 0.401,
      "home_dominance_ratio": 0.475,
      "home_midfield_count": 2,
      "away_midfield_count": 3,
      "home_midfield_players": [
        "Iván Martín",
        "Matteo Prati"
      ],
      "away_midfield_players": [
        "Edu Expósito",
        "Javier Hernández",
        "Pol Lozano"
      ],
      "possession_advantage": "neutral",
      "estimated_possession_home_pct": 49.4,
      "estimated_possession_away_pct": 50.6,
      "home_pressing_actions_per_90": 6.0,
      "away_pressing_actions_per_90": 6.2,
      "home_key_passes_projected": 3.8,
      "away_key_passes_projected": 4.5,
      "home_throughball_threat": 1.7,
      "away_throughball_threat": 2.1,
      "key_personal_duel": "Matteo Prati vs Javier Hernández",
      "midfield_lambda_factor_home": 0.993,
      "midfield_lambda_factor_away": 1.014
    },
    "formation_analysis": {
      "home_formation": "4-2-3-1",
      "away_formation": "5-4-1",
      "home_tactical_bonus": -0.01,
      "away_tactical_bonus": 0.01,
      "formation_verdict": "Tactical parity between 4-2-3-1 and 5-4-1. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 1.312,
    "away_lambda": 1.46,
    "home_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "away_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Left Mid vs Right Back — Wide Channel"
    ],
    "home_player_antagonists": {
      "Yassir Zabiri": {
        "opponents": [
          "Leandro Cabrera",
          "Vanja Drkušić"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Iñigo Vicente": {
        "opponents": [
          "Leandro Cabrera",
          "Vanja Drkušić"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Sergio Canales": {
        "opponents": [
          "Leandro Cabrera",
          "Vanja Drkušić"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Andrés Martín": {
        "opponents": [
          "Leandro Cabrera",
          "Vanja Drkušić"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Jeanuël Belocian": {
        "opponents": [
          "Roberto Fernández",
          "Bryan Zaragoza"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Alvaro Mantilla": {
        "opponents": [
          "Roberto Fernández",
          "Bryan Zaragoza"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Pablo Ramón": {
        "opponents": [
          "Javier Hernández",
          "Roger Hinojo"
        ],
        "primary_zone": "Left Mid vs Right Back — Wide Channel",
        "source": "defensive_duel"
      },
      "Julen Agirrezabala": {
        "opponents": [
          "Roger Hinojo",
          "Omar El Hilali"
        ],
        "primary_zone": "LWB vs RW + RB",
        "source": "defensive_duel"
      },
      "Jorge Salinas": {
        "opponents": [
          "Omar El Hilali"
        ],
        "primary_zone": "RWB vs LW + LB",
        "source": "defensive_duel"
      },
      "Iván Martín": {
        "opponents": [
          "Edu Expósito",
          "Pol Lozano",
          "Javier Hernández"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "defensive_duel, midfield_pairing"
      },
      "Matteo Prati": {
        "opponents": [
          "Pol Lozano"
        ],
        "primary_zone": "Midfield lane",
        "source": "midfield_pairing"
      }
    },
    "away_player_antagonists": {
      "Leandro Cabrera": {
        "opponents": [
          "Yassir Zabiri",
          "Iñigo Vicente",
          "Sergio Canales",
          "Andrés Martín"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Vanja Drkušić": {
        "opponents": [
          "Yassir Zabiri",
          "Iñigo Vicente",
          "Sergio Canales",
          "Andrés Martín"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Roberto Fernández": {
        "opponents": [
          "Jeanuël Belocian",
          "Alvaro Mantilla"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Bryan Zaragoza": {
        "opponents": [
          "Jeanuël Belocian",
          "Alvaro Mantilla"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Javier Hernández": {
        "opponents": [
          "Pablo Ramón",
          "Iván Martín"
        ],
        "primary_zone": "Left Mid vs Right Back — Wide Channel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Roger Hinojo": {
        "opponents": [
          "Pablo Ramón",
          "Julen Agirrezabala"
        ],
        "primary_zone": "LWB vs RW + RB",
        "source": "attacking_duel"
      },
      "Omar El Hilali": {
        "opponents": [
          "Jorge Salinas",
          "Julen Agirrezabala"
        ],
        "primary_zone": "RWB vs LW + LB",
        "source": "attacking_duel"
      },
      "Edu Expósito": {
        "opponents": [
          "Iván Martín"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Pol Lozano": {
        "opponents": [
          "Iván Martín",
          "Matteo Prati"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Ángel Fortuño": {
        "opponents": [
          "Yassir Zabiri",
          "Andrés Martín"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Clemens Riedel": {
        "opponents": [
          "Iñigo Vicente"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Midfield is evenly contested — Matteo Prati vs Javier Hernández will be the pivotal duel. Total antagonist xG — Home: 0.83, Away: 1.02. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle.",
    "lambda_factors": {
      "league_anchor": 1.35,
      "home_advantage_factor": 1.15,
      "home_gk_opposition_factor": 1.0107,
      "away_gk_opposition_factor": 0.993,
      "home_set_piece_bonus": 0.047,
      "away_set_piece_bonus": 0.104,
      "home_defensive_solidity_vs": 0.988,
      "away_defensive_solidity_vs": 0.9855,
      "home_midfield_factor": 0.993,
      "away_midfield_factor": 1.014,
      "stage_discount": 1.0,
      "quality_gap_applied": false,
      "home_avg_quality": 0.4908,
      "away_avg_quality": 0.4923,
      "avg_quality_gap": -0.0015,
      "squad_value_gap_log": -0.0328,
      "top5_value_gap_log": 0.0237,
      "attack_value_gap_log": 0.0443,
      "elite_count_gap": 0,
      "combined_quality_gap": -0.0009,
      "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.8331,
          "n_duels": 4,
          "duel_confidence": 0.67,
          "result": 1.0037
        },
        {
          "label": "midfield_factor",
          "factor": 0.993,
          "result": 0.9967
        },
        {
          "label": "formation_bonus",
          "factor": 0.99,
          "result": 0.9867
        },
        {
          "label": "home_advantage",
          "factor": 1.15,
          "result": 1.1347
        },
        {
          "label": "standing_factor",
          "factor": 0.9683,
          "result": 1.0987
        },
        {
          "label": "gk_opposition",
          "factor": 1.0107,
          "result": 1.1104
        },
        {
          "label": "defensive_solidity",
          "factor": 0.988,
          "result": 1.0971
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.047,
          "result": 1.1441
        },
        {
          "label": "engine_clamp",
          "pre": 1.1441,
          "result": 1.1441,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": false,
          "combined_quality_gap": -0.0009,
          "factor": 1.0,
          "pre": 1.1441,
          "result": 1.1441
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 1.1441
        },
        {
          "label": "bench_bonus",
          "side": "home",
          "bonus": 0.1592,
          "result": 1.3032
        },
        {
          "label": "fbref_blend",
          "side": "home",
          "applied": false,
          "reason": "non-target league or squad priors not found",
          "result": 1.3032
        },
        {
          "label": "router_clamp",
          "pre": 1.3032,
          "result": 1.303,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 1.0071,
          "pre": 1.303,
          "result": 1.3123,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": false,
          "reason": "quality gap below 0.30",
          "result": 1.312
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 1.312
        },
        {
          "label": "final_clamp",
          "applied": false,
          "pre": 1.312,
          "result": 1.312,
          "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.312
        }
      ],
      "away_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 1.0203,
          "n_duels": 7,
          "duel_confidence": 0.75,
          "result": 1.1027
        },
        {
          "label": "midfield_factor",
          "factor": 1.014,
          "result": 1.1182
        },
        {
          "label": "formation_bonus",
          "factor": 1.01,
          "result": 1.1293
        },
        {
          "label": "home_advantage",
          "factor": 1.0,
          "result": 1.1293
        },
        {
          "label": "standing_factor",
          "factor": 1.0883,
          "result": 1.2291
        },
        {
          "label": "gk_opposition",
          "factor": 0.993,
          "result": 1.2204
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9855,
          "result": 1.2027
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.104,
          "result": 1.3067
        },
        {
          "label": "engine_clamp",
          "pre": 1.3067,
          "result": 1.3067,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": false,
          "combined_quality_gap": -0.0009,
          "factor": 1.0,
          "pre": 1.3067,
          "result": 1.3067
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 1.3067
        },
        {
          "label": "bench_bonus",
          "side": "away",
          "bonus": 0.1632,
          "result": 1.4702
        },
        {
          "label": "fbref_blend",
          "side": "away",
          "applied": false,
          "reason": "non-target league or squad priors not found",
          "result": 1.4702
        },
        {
          "label": "router_clamp",
          "pre": 1.4702,
          "result": 1.47,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 0.9929,
          "pre": 1.47,
          "result": 1.4596,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": false,
          "reason": "quality gap below 0.30",
          "result": 1.46
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 1.46
        },
        {
          "label": "final_clamp",
          "applied": false,
          "pre": 1.46,
          "result": 1.46,
          "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.46
        }
      ],
      "home_bench_lambda_bonus": 0.1592,
      "away_bench_lambda_bonus": 0.1632,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "mismatch_score_pressure_applied": false,
      "competitive_underdog_floor_applied": false,
      "competitive_underdog_floor": 1.0,
      "competitive_underdog_floor_mode": "disabled_ablation",
      "pre_competitive_floor_home_lambda": 1.312,
      "pre_competitive_floor_away_lambda": 1.46,
      "pre_calibration_home_lambda": 1.3032,
      "pre_calibration_away_lambda": 1.4702,
      "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.312,
      "final_away_lambda": 1.46
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 16,
    "opponent_position": 15,
    "standing_lambda_multiplier": 0.9683,
    "attack_index": 1.024,
    "defense_concede_index": 0.901,
    "form_multiplier": 1.0,
    "team_attack_rate_contextual": 1.57,
    "opp_defense_rate_contextual": 1.38,
    "team_ppg": 1.08,
    "opponent_ppg": 1.08
  },
  "away_standing": {
    "available": true,
    "team_position": 15,
    "opponent_position": 16,
    "standing_lambda_multiplier": 1.0883,
    "attack_index": 0.871,
    "defense_concede_index": 1.415,
    "form_multiplier": 1.0,
    "team_attack_rate_contextual": 1.34,
    "opp_defense_rate_contextual": 2.17,
    "team_ppg": 1.08,
    "opponent_ppg": 1.08
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Racing Club vs Espanyol. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 4-2-3-1 vs 5-4-1 (duel lambdas: Home 1.303, Away 1.470). Final calibrated Poisson lambdas: Home 1.312, Away 1.460 (most likely score 1-1).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 11,
      "home_fbref_players": 9,
      "away_starters_count": 11,
      "away_xgboost_players": 11,
      "away_fbref_players": 8,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": false,
      "reason": "Non-target league or squad priors not found"
    },
    "pipeline_stages": [
      "1. XGBoost player regressions for volume & event rates with market-value quality scaling",
      "2. Multi-source prior blending (FBref 2026-2027 tables + Sofascore season history)",
      "3. Antagonist formation duel matrix resolving 1v1 and zonal matchups",
      "4. Team-level prior calibration (FBref possession and attack/defense efficiencies)",
      "5. Bivariate Poisson matrix with Dixon-Coles low-score correction"
    ],
    "final_lambdas": {
      "home_lambda": 1.312,
      "away_lambda": 1.46,
      "micro_duel_home_lambda": 1.303,
      "micro_duel_away_lambda": 1.47
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": false,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-10-24T13:32:00Z",
  "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
  }
}